From cb2f3358b2a6d9bc660fb1ebd9799b65d5f50cd0 Mon Sep 17 00:00:00 2001 From: Profitroll <47523801+profitrollgame@users.noreply.github.com> Date: Sun, 2 Apr 2023 19:54:16 +0200 Subject: [PATCH] Typo fixed --- modules/commands/warnings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/commands/warnings.py b/modules/commands/warnings.py index 7d49250..396e914 100644 --- a/modules/commands/warnings.py +++ b/modules/commands/warnings.py @@ -23,7 +23,7 @@ async def cmd_warnings(app: Client, msg: Message): return try: - user_db = col_users.find_one({"user": int(msg.command[1]), "active": True}) + user_db = col_users.find_one({"user": int(msg.command[1])}) target_id = user_db["user"] target_name = user_db["tg_name"] except: