瀏覽代碼

and another one

TheHamkerCat 5 年之前
父節點
當前提交
b2bd68f8d1
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  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})