From 21ec6681f6a3ac264583138fd1a9982f3ec68f6e Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 3 Aug 2019 20:54:31 +0200 Subject: [PATCH] Fix dlmusic command --- royalnet/commands/dlmusic.py | 2 +- royalnet/version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/royalnet/commands/dlmusic.py b/royalnet/commands/dlmusic.py index 3507f97d..946c3193 100644 --- a/royalnet/commands/dlmusic.py +++ b/royalnet/commands/dlmusic.py @@ -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() diff --git a/royalnet/version.py b/royalnet/version.py index d4a16c41..7e78bd87 100644 --- a/royalnet/version.py +++ b/royalnet/version.py @@ -1 +1 @@ -semantic = "5.0a36" +semantic = "5.0a37"