txlyre 3 tháng trước cách đây
mục cha
commit
ccc512e756
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      main.py

+ 5 - 0
main.py

@@ -222,6 +222,11 @@ async def handler(event):
     except Exception:
         pass
 
+    if time.time() - pending_user.join_ts <= 1.0:
+        await pending_user.kick()
+
+        return
+
     if pending_user.message_id is None:
         return