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

Fix dlmusic using only the first argument

This commit is contained in:
Steffo 2019-08-17 19:43:17 +03:00
parent 9d1514c1eb
commit 83423b046c

View file

@ -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: