commit
cedcd73a26
@ -46,7 +46,7 @@ def song(_, message):
|
|||||||
query = " ".join(message.command[1:])
|
query = " ".join(message.command[1:])
|
||||||
if is_downloading:
|
if is_downloading:
|
||||||
message.reply(
|
message.reply(
|
||||||
"» Another download in progress, please try again after some time !"
|
"» Other download is in progress, please try again after some time !"
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
is_downloading = True
|
is_downloading = True
|
||||||
@ -117,7 +117,7 @@ async def vsong(client, message):
|
|||||||
query = " ".join(message.command[1:])
|
query = " ".join(message.command[1:])
|
||||||
if is_downloading:
|
if is_downloading:
|
||||||
return await message.reply(
|
return await message.reply(
|
||||||
"» Another download in progress, please try again after some time !"
|
"» » Other download is in progress, please try again after some time !"
|
||||||
)
|
)
|
||||||
is_downloading = True
|
is_downloading = True
|
||||||
try:
|
try:
|
||||||
|
@ -144,6 +144,7 @@ async def play(c: Client, m: Message):
|
|||||||
chat_id,
|
chat_id,
|
||||||
AudioPiped(
|
AudioPiped(
|
||||||
dl,
|
dl,
|
||||||
|
HighQualityAudio(),
|
||||||
),
|
),
|
||||||
stream_type=StreamType().local_stream,
|
stream_type=StreamType().local_stream,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user