From 89d7a61eb3010599c512aa56da34772a7a6bc044 Mon Sep 17 00:00:00 2001 From: Abhi <85984486+AbhiTheModder@users.noreply.github.com> Date: Thu, 2 May 2024 03:16:48 +0530 Subject: [PATCH] Update admintool.py --- modules/admintool.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/admintool.py b/modules/admintool.py index aa9f135..da7cdb7 100644 --- a/modules/admintool.py +++ b/modules/admintool.py @@ -60,10 +60,10 @@ async def admintool_handler(_, message: Message): if ( message.sender_chat and ( - message.sender_chat.type == "supergroup" - or message.sender_chat.id - == db_cache.get(f"linked{message.chat.id}", 0) - ) + message.sender_chat.type == "supergroup" + or message.sender_chat.id + == db_cache.get(f"linked{message.chat.id}", 0) + ) ): raise ContinuePropagation