diff options
Diffstat (limited to 'ATRI/service/send.py')
-rw-r--r-- | ATRI/service/send.py | 13 |
1 files changed, 0 insertions, 13 deletions
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 - ) |