Ver Fonte

and another one

TheHamkerCat há 5 anos atrás
pai
commit
b2bd68f8d1
1 ficheiros alterados com 1 adições e 1 exclusões
  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})