mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Fix dlmusic command
This commit is contained in:
parent
e25048bb03
commit
21ec6681f6
2 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
|
@ -1 +1 @@
|
|||
semantic = "5.0a36"
|
||||
semantic = "5.0a37"
|
||||
|
|
Loading…
Reference in a new issue