Explorar el Código

and another one

TheHamkerCat hace 5 años
padre
commit
b2bd68f8d1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      wbb/utils/dbfunctions.py

+ 1 - 1
wbb/utils/dbfunctions.py

@@ -347,6 +347,6 @@ async def add_gban_user(user_id: int):
 
 
 async def remove_gban_user(user_id: int):
-    is_gbanned = await is_gbanned_user(chat_id)
+    is_gbanned = await is_gbanned_user(user_id)
     if not is_gbanned: return
     return await gbansdb.delete_one({"user_id": user_id})