From f5ceb8927f2e7f2a9e29d62c8e4cef876f917249 Mon Sep 17 00:00:00 2001 From: Kyomotoi <1172294279@qq.com> Date: Sat, 6 Feb 2021 00:32:26 +0800 Subject: =?UTF-8?q?=F0=9F=8F=97=20=F0=9F=92=A9=20=E6=9B=B4=E6=94=B9?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E7=BB=93=E6=9E=84=EF=BC=8C=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=95=A5b=20BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ATRI/service/send.py | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 ATRI/service/send.py (limited to 'ATRI/service/send.py') diff --git a/ATRI/service/send.py b/ATRI/service/send.py deleted file mode 100644 index 9b9c3f9..0000000 --- a/ATRI/service/send.py +++ /dev/null @@ -1,13 +0,0 @@ -from nonebot.adapters.cqhttp import Bot - - -class Send: - @staticmethod - async def send_to_superuser(message: str) -> None: - from ATRI.config import RUNTIME_CONFIG - async def _send_to_superuser(bot: Bot) -> None: - for sup in RUNTIME_CONFIG['superusers']: - await bot.send_private_msg( - user_id=sup, - message=message - ) -- cgit v1.2.3