aboutsummaryrefslogtreecommitdiff
path: root/code/cogs
diff options
context:
space:
mode:
Diffstat (limited to 'code/cogs')
-rw-r--r--code/cogs/stop.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/code/cogs/stop.py b/code/cogs/stop.py
index 795182f..2bb52aa 100644
--- a/code/cogs/stop.py
+++ b/code/cogs/stop.py
@@ -17,6 +17,7 @@ class Stop(commands.Cog):
"Disconnects the bot from the voice channel and clears the queue"
player = self.bot.lavalink.player_manager.get(interaction.guild.id)
+ self.bot.autoplay.remove(interaction.guild.id)
player.queue.clear()
await player.stop()
await interaction.guild.voice_client.disconnect(force=True)