From 83423b046c7e7869a712312f384ea21dadc76e08 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 17 Aug 2019 19:43:17 +0300 Subject: [PATCH] Fix dlmusic using only the first argument --- royalnet/commands/dlmusic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/royalnet/commands/dlmusic.py b/royalnet/commands/dlmusic.py index 946c3193..91f316a4 100644 --- a/royalnet/commands/dlmusic.py +++ b/royalnet/commands/dlmusic.py @@ -22,7 +22,7 @@ class DlmusicCommand(Command): @classmethod async def common(cls, call: Call): - url = call.args[0] + url = call.args.joined() if url.startswith("http://") or url.startswith("https://"): vfiles: typing.List[YtdlVorbis] = await asyncify(YtdlVorbis.create_and_ready_from_url, url, **ytdl_args) else: