mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-16 12:51:35 +00:00
🐛 修复验证插件验证超时时踢出异常问题
This commit is contained in:
parent
5782035a6f
commit
c83770d11f
@ -282,9 +282,11 @@ class GroupJoiningVerification:
|
||||
context.job_queue.run_once(callback=self.clean_message_job, when=self.time_out, data=message.message_id,
|
||||
name=f"{chat.id}|{user.id}|auth_clean_join_message",
|
||||
chat_id=chat.id, user_id=user.id,
|
||||
job_kwargs={"replace_existing": True, "id": f"{chat.id}|{user.id}|auth_kick"})
|
||||
job_kwargs={"replace_existing": True,
|
||||
"id": f"{chat.id}|{user.id}|auth_clean_join_message"})
|
||||
context.job_queue.run_once(callback=self.clean_message_job, when=self.time_out,
|
||||
data=question_message.message_id,
|
||||
name=f"{chat.id}|{user.id}|auth_clean_question_message",
|
||||
chat_id=chat.id, user_id=user.id,
|
||||
job_kwargs={"replace_existing": True, "id": f"{chat.id}|{user.id}|auth_kick"})
|
||||
job_kwargs={"replace_existing": True,
|
||||
"id": f"{chat.id}|{user.id}|auth_clean_join_message"})
|
||||
|
Loading…
Reference in New Issue
Block a user