mirror of
https://github.com/PaiGramTeam/PamGram.git
synced 2024-11-16 03:55:26 +00:00
🐛 Fix sign command parse error validate
This commit is contained in:
parent
740e57ca58
commit
82b8e170cd
@ -75,7 +75,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