mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 09:44:50 +00:00
Merge branch 'master' of https://github.com/yasirarism/MissKatyPyro
This commit is contained in:
commit
77192ce4bc
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ async def mute_chat(chat_id: int):
|
|||
getlang = await get_db_lang(chat_id)
|
||||
getlang = getlang or "en-US"
|
||||
try:
|
||||
await app.set_chat_permissions(chat_id, ChatPermissions())
|
||||
await app.set_chat_permissions(chat_id, ChatPermissions(all_perms=False))
|
||||
except ChatAdminRequired:
|
||||
await app.send_message(
|
||||
LOG_CHANNEL,
|
||||
|
|
|
|||
Loading…
Reference in a new issue