fix: message.edit fix

This commit is contained in:
Seaswimmer 2023-07-31 23:42:37 -04:00
parent ca5a2d10b6
commit d660748a89
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -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],