fixes
This commit is contained in:
parent
28efdb928c
commit
6e314bc4f7
@ -165,12 +165,12 @@ async def unmute(client, m: Message):
|
|||||||
command(["volume", f"volume@{BOT_USERNAME}", "vol"]) & other_filters
|
command(["volume", f"volume@{BOT_USERNAME}", "vol"]) & other_filters
|
||||||
)
|
)
|
||||||
@authorized_users_only
|
@authorized_users_only
|
||||||
async def unmute(client, m: Message):
|
async def change_volume(client, m: Message):
|
||||||
range = m.command[1]
|
range = m.command[1]
|
||||||
chat_id = m.chat.id
|
chat_id = m.chat.id
|
||||||
if chat_id in QUEUE:
|
if chat_id in QUEUE:
|
||||||
try:
|
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(
|
await m.reply(
|
||||||
f"✅ **volume set to** `{range}`%"
|
f"✅ **volume set to** `{range}`%"
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user