summaryrefslogtreecommitdiff
path: root/AyaBot/plugins/hbook.py
diff options
context:
space:
mode:
authorKyomotoi <[email protected]>2020-06-14 00:03:44 +0800
committerKyomotoi <[email protected]>2020-06-14 00:03:44 +0800
commitfaf116c5afcb20966c7b2e26eef9d4538ab86c6f (patch)
tree0207038c0d66f74eb3291c6afb51a8d38e85cf1c /AyaBot/plugins/hbook.py
parente9e2d6b76b8e0f6fe3bf928835d934d01eb28eba (diff)
downloadATRI-faf116c5afcb20966c7b2e26eef9d4538ab86c6f.tar.gz
ATRI-faf116c5afcb20966c7b2e26eef9d4538ab86c6f.tar.bz2
ATRI-faf116c5afcb20966c7b2e26eef9d4538ab86c6f.zip
test
Diffstat (limited to 'AyaBot/plugins/hbook.py')
-rw-r--r--AyaBot/plugins/hbook.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/AyaBot/plugins/hbook.py b/AyaBot/plugins/hbook.py
index 83d5002..29a3df5 100644
--- a/AyaBot/plugins/hbook.py
+++ b/AyaBot/plugins/hbook.py
@@ -13,7 +13,7 @@ async def post_bytes(url, headers=None,data=None):
hbook_switch = True
-@on_command('switch', aliases=['开启', '关闭'], only_to_me=False)
+@on_command('hbook_switch', aliases=['开启', '关闭'], only_to_me=False)
async def _(session: CommandSession):
if session.ctx['user_id'] in session.bot.config.SUPERUSERS:
command = session.ctx['raw_message'].split(' ', 1)