summaryrefslogtreecommitdiff
path: root/AyaBot/plugins/hbook.py
diff options
context:
space:
mode:
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)