mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-22 07:07:46 +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, "开启")
|
msg = await self._process_auto_sign(user_id, user_id, "开启")
|
||||||
elif args[0] == "关闭自动签到":
|
elif args[0] == "关闭自动签到":
|
||||||
msg = await self._process_auto_sign(user_id, message.chat_id, "关闭")
|
msg = await self._process_auto_sign(user_id, message.chat_id, "关闭")
|
||||||
else:
|
elif args[0] != "sign":
|
||||||
validate = args[0]
|
validate = args[0]
|
||||||
if msg:
|
if msg:
|
||||||
self.log_user(update, logger.info, "自动签到命令请求 || 参数 %s", args[0])
|
self.log_user(update, logger.info, "自动签到命令请求 || 参数 %s", args[0])
|
||||||
|
Loading…
Reference in New Issue
Block a user