Update admintool.py
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user