From 5ed705a41c80de0cebbc874b9d3a096452150e4d Mon Sep 17 00:00:00 2001 From: BFlow Date: Wed, 29 Apr 2020 17:56:55 +0200 Subject: [PATCH] correction command play --- kabot/kabot/kabot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index bf2f357..c85b116 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -270,7 +270,7 @@ class Mybot(commands.Cog): }], } with youtube_dl.YoutubeDL(ydl_opts) as ydl: - await ydl.download([url]) + ydl.download([url]) info_dict = ydl.extract_info(url, download=False) out_file = ydl.prepare_filename(info_dict) self.sounds.append((out_file, ctx))