merge pull request #129 from levina-lab/minor-beta

push
This commit is contained in:
levina 2022-02-01 21:38:22 +07:00 committed by GitHub
commit cedcd73a26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -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:

View File

@ -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,
) )