From d072d0b0bcd016f167b028ceb985b2a0d148da92 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Sun, 5 May 2024 15:34:06 +0800 Subject: [PATCH] :bug: Fix sign command parse error validate --- plugins/genshin/sign.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/genshin/sign.py b/plugins/genshin/sign.py index 834433b9..37e735d3 100644 --- a/plugins/genshin/sign.py +++ b/plugins/genshin/sign.py @@ -83,7 +83,7 @@ class Sign(Plugin): msg = await self._process_auto_sign(user_id, user_id, "开启") elif args[0] == "关闭自动签到": msg = await self._process_auto_sign(user_id, message.chat_id, "关闭") - else: + elif args[0] != "sign": validate = args[0] if msg: self.log_user(update, logger.info, "自动签到命令请求 || 参数 %s", args[0])