correction command play
This commit is contained in:
parent
a13887de58
commit
595d2f9a19
1 changed files with 2 additions and 2 deletions
|
@ -270,10 +270,10 @@ class Mybot(commands.Cog):
|
|||
}],
|
||||
}
|
||||
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
|
||||
ydl.download([url])
|
||||
await ydl.download([url])
|
||||
info_dict = ydl.extract_info(url, download=False)
|
||||
out_file = ydl.prepare_filename(info_dict)
|
||||
self.sounds.append(out_file)
|
||||
self.sounds.append((out_file, ctx))
|
||||
|
||||
@commands.command()
|
||||
async def repeat(self, ctx):
|
||||
|
|
Loading…
Reference in a new issue