summaryrefslogtreecommitdiff
path: root/ATRI/service/send.py
diff options
context:
space:
mode:
authorKyomotoi <[email protected]>2021-02-06 00:32:26 +0800
committerKyomotoi <[email protected]>2021-02-06 00:32:26 +0800
commitf5ceb8927f2e7f2a9e29d62c8e4cef876f917249 (patch)
tree40b9dcd6b7d3db486054e3aa9b5a04d25fa2284e /ATRI/service/send.py
parenteb52fab79ada7efe6191e3a5f90179766feaded0 (diff)
downloadATRI-f5ceb8927f2e7f2a9e29d62c8e4cef876f917249.tar.gz
ATRI-f5ceb8927f2e7f2a9e29d62c8e4cef876f917249.tar.bz2
ATRI-f5ceb8927f2e7f2a9e29d62c8e4cef876f917249.zip
🏗 💩 更改项目结构,修复啥b BUG
Diffstat (limited to 'ATRI/service/send.py')
-rw-r--r--ATRI/service/send.py13
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
- )