mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-16 04:35:49 +00:00
🐛 Fix sign command parse error validate
This commit is contained in:
parent
2b24da0dde
commit
d072d0b0bc
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user