This commit is contained in:
yasirarism 2023-06-14 16:00:13 +00:00 committed by GitHub
parent 74d1eae1bc
commit 213938f2f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -177,7 +177,7 @@ async def url_detector(_, message):
if not text or not user: if not text or not user:
return return
mods = await list_admins(chat_id) mods = await list_admins(chat_id)
if user.id in mods or user.id in SUDOERS: if user.id in mods or user.id in SUDO:
return return
check = get_urls_from_text(text) check = get_urls_from_text(text)