mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Minor change in dlmusic
This commit is contained in:
parent
83423b046c
commit
e078b639d3
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ class DlmusicCommand(Command):
|
||||||
else:
|
else:
|
||||||
vfiles = await asyncify(YtdlVorbis.create_and_ready_from_url, f"ytsearch:{url}", **ytdl_args)
|
vfiles = await asyncify(YtdlVorbis.create_and_ready_from_url, f"ytsearch:{url}", **ytdl_args)
|
||||||
for vfile in vfiles:
|
for vfile in vfiles:
|
||||||
await call.reply(f"⬇️ https://scaleway.steffo.eu/{urllib.parse.quote(vfile.vorbis_filename.replace('./downloads/', 'musicbot_cache/'))}")
|
await call.reply(f"⬇️ https://scaleway.steffo.eu/{urllib.parse.quote(vfile.vorbis_filename.replace('./downloads/', './musicbot_cache/'))}")
|
||||||
await asyncio.sleep(seconds_before_deletion)
|
await asyncio.sleep(seconds_before_deletion)
|
||||||
for vfile in vfiles:
|
for vfile in vfiles:
|
||||||
vfile.delete()
|
vfile.delete()
|
||||||
|
|
Loading…
Reference in a new issue