fix(channel/leave): delete player

This commit is contained in:
2026-04-11 17:33:22 -04:00
parent 3ca6f487c6
commit ed3afdbeae

View File

@@ -1,4 +1,5 @@
from ... import utils
from ...state import players
from .utils import command_allowed
@@ -19,5 +20,8 @@ async def leave(message):
if not command_allowed(message):
return
if message.guild.id in players:
del players[message.guild.id]
await message.guild.voice_client.disconnect()
await utils.add_check_reaction(message)