From c83770d11f8c069293f7a410eff4497ba8b3f94c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E6=B0=B4=E5=B1=85=E5=AE=A4?= Date: Wed, 31 Aug 2022 16:33:01 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=E6=8F=92=E4=BB=B6=E9=AA=8C=E8=AF=81=E8=B6=85=E6=97=B6?= =?UTF-8?q?=E6=97=B6=E8=B8=A2=E5=87=BA=E5=BC=82=E5=B8=B8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/system/auth.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/system/auth.py b/plugins/system/auth.py index 65377a0..cd93e2a 100644 --- a/plugins/system/auth.py +++ b/plugins/system/auth.py @@ -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"})