1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 11:34:18 +00:00

Fix dlmusic command

This commit is contained in:
Steffo 2019-08-03 20:54:31 +02:00
parent e25048bb03
commit 21ec6681f6
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ class DlmusicCommand(Command):
else:
vfiles = await asyncify(YtdlVorbis.create_and_ready_from_url, f"ytsearch:{url}", **ytdl_args)
for vfile in vfiles:
await call.reply(f"⬇️ https://scaleway.steffo.eu/musicbot_cache/{urllib.parse.quote(vfile.vorbis_filename)}")
await call.reply(f"⬇️ https://scaleway.steffo.eu/{urllib.parse.quote(vfile.vorbis_filename.replace('./downloads/', 'musicbot_cache/'))}")
await asyncio.sleep(seconds_before_deletion)
for vfile in vfiles:
vfile.delete()

View file

@ -1 +1 @@
semantic = "5.0a36"
semantic = "5.0a37"