Typo fixed

This commit is contained in:
Profitroll 2023-04-02 19:54:16 +02:00
parent 74ae30d841
commit cb2f3358b2

View File

@ -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: