summaryrefslogtreecommitdiff
path: root/ATRI/plugins
diff options
context:
space:
mode:
authorKyomotoi <[email protected]>2021-04-05 16:36:58 +0800
committerGitHub <[email protected]>2021-04-05 16:36:58 +0800
commit6e7628e2b675b43577ce6b4218029dbc8d69aebb (patch)
treedae0cd02f2f5e1f774594ebb42d946d19ebd1fa6 /ATRI/plugins
parent15dfd75ce84235b07b845fdfb42e269002b92c01 (diff)
downloadATRI-6e7628e2b675b43577ce6b4218029dbc8d69aebb.tar.gz
ATRI-6e7628e2b675b43577ce6b4218029dbc8d69aebb.tar.bz2
ATRI-6e7628e2b675b43577ce6b4218029dbc8d69aebb.zip
🐛 修傻逼BUG
Diffstat (limited to 'ATRI/plugins')
-rw-r--r--ATRI/plugins/help.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ATRI/plugins/help.py b/ATRI/plugins/help.py
index 8744262..5b0d1b0 100644
--- a/ATRI/plugins/help.py
+++ b/ATRI/plugins/help.py
@@ -30,7 +30,7 @@ help = sv.on_command(
@help.handle()
async def _help(bot: Bot, event: MessageEvent) -> None:
msg = str(event.message).split(' ')
- if not msg:
+ if not msg[0]:
msg = (
"呀?找不到路了?\n"
"/h list 查看可用命令列表\n"