Skip to content
This repository was archived by the owner on May 23, 2025. It is now read-only.

Commit 34ebd8d

Browse files
committed
feat: 天气插件检查更加严格
1 parent 96eeed7 commit 34ebd8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/GetWeather/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async def handle_text(self, bot: WechatAPIClient, message: dict):
4242
if len(command) == 1:
4343
await bot.send_at_message(message["FromWxid"], "\n" + self.command_format, [message["SenderWxid"]])
4444
return
45-
elif len(command) > 4:
45+
elif len(command) > 3:
4646
return
4747

4848
# 配置密钥检查

0 commit comments

Comments
 (0)