From 82b8e170cd5e7ff6e6f39ca9476a57b8cce9061c 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/starrail/sign.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/starrail/sign.py b/plugins/starrail/sign.py index 16f0069..55bbe81 100644 --- a/plugins/starrail/sign.py +++ b/plugins/starrail/sign.py @@ -75,7 +75,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])