Browse Source

smol phixxxx

TheHamkerCat 5 năm trước cách đây
mục cha
commit
8f80ec9634
1 tập tin đã thay đổi với 1 bổ sung và 1 xóa
  1. 1 1
      wbb/modules/sudoers.py

+ 1 - 1
wbb/modules/sudoers.py

@@ -151,7 +151,7 @@ async def ban_globally(_, message):
         else:
             served_chats = await get_served_chats()
             for served_chat in served_chats:
-                try: await app.kick_chat_member(served_chat, user_id)
+                try: await app.kick_chat_member(served_chat['chat_id'], user_id)
                 except Exception: pass
             await add_gban_user(user_id)
             try: await app.send_message(