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:
parent
9d1514c1eb
commit
83423b046c
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class DlmusicCommand(Command):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
async def common(cls, call: Call):
|
async def common(cls, call: Call):
|
||||||
url = call.args[0]
|
url = call.args.joined()
|
||||||
if url.startswith("http://") or url.startswith("https://"):
|
if url.startswith("http://") or url.startswith("https://"):
|
||||||
vfiles: typing.List[YtdlVorbis] = await asyncify(YtdlVorbis.create_and_ready_from_url, url, **ytdl_args)
|
vfiles: typing.List[YtdlVorbis] = await asyncify(YtdlVorbis.create_and_ready_from_url, url, **ytdl_args)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue