diff --git a/Music-Bot.py b/Music-Bot.py index 54f3cc9..bd2a478 100644 --- a/Music-Bot.py +++ b/Music-Bot.py @@ -208,7 +208,7 @@ else: while ctx.voice_client.is_playing(): asyncio.sleep(1) else: - ctx.voice_client.disconnect() + await ctx.voice_client.disconnect() @bot.slash_command(name="pause", description="Pauses the playback")