fix: message.edit fix
This commit is contained in:
parent
ca5a2d10b6
commit
d660748a89
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class MusicDownloader(commands.Cog):
|
||||||
message.edit(msg)
|
message.edit(msg)
|
||||||
def hook(d):
|
def hook(d):
|
||||||
if d['status'] == 'finished':
|
if d['status'] == 'finished':
|
||||||
message.edit('Done!')
|
message.edit(content='Done!')
|
||||||
ydl_opts = {
|
ydl_opts = {
|
||||||
'logger': Logger(),
|
'logger': Logger(),
|
||||||
'progress_hooks': [hook],
|
'progress_hooks': [hook],
|
||||||
|
|
Loading…
Reference in a new issue