From 6e314bc4f705eba478bbb4bd33bdff353a0936de Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Mon, 1 Nov 2021 07:51:31 +0700 Subject: [PATCH] fixes --- program/admins.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program/admins.py b/program/admins.py index aaf1988..6ff8459 100644 --- a/program/admins.py +++ b/program/admins.py @@ -165,12 +165,12 @@ async def unmute(client, m: Message): command(["volume", f"volume@{BOT_USERNAME}", "vol"]) & other_filters ) @authorized_users_only -async def unmute(client, m: Message): +async def change_volume(client, m: Message): range = m.command[1] chat_id = m.chat.id if chat_id in QUEUE: try: - await call_py.change_volume_call(chat_id, volume: int(range)) + await call_py.change_volume_call(chat_id, volume=int(range)) await m.reply( f"✅ **volume set to** `{range}`%" )