fix(commands/voice): return early if no player

This commit is contained in:
2025-01-06 00:36:20 -05:00
parent 3f36823b73
commit 9e37ab85f8

View File

@@ -325,6 +325,12 @@ async def volume(message):
def delete_queued(messages):
if messages[0].guild.id not in players:
return
if len(players[messages[0].guild.id].queue) == 0:
return
found = []
for message in messages:
for queued in players[message.guild.id].queue: