mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
MissKaty: Sync nightmode to pyrofork v2.3.8.post1
Signed-off-by: Yasir Aris M <git@yasirdev.my.id>
This commit is contained in:
parent
6f02488e88
commit
60cb33dda7
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,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