mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +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
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue