Explorar el Código

enhailetor phix

thehamkercat hace 5 años
padre
commit
2b3cea5796
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      wbb/modules/admin.py

+ 1 - 1
wbb/modules/admin.py

@@ -116,7 +116,7 @@ async def kick(_, message):
                     await message.reply_text("You Wanna Kick The Elevated One?")
                 else:
                     if (await app.get_users(username)).id in \
-                            await list_members(chat_):
+                            await list_members(chat_id):
                         await message.chat.kick_member(username)
                         await message.chat.unban_member(username)
                         await message.reply_text(f"Kicked {username}")