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