fix(commands/voice/queue): actually pass edited

This commit is contained in:
Ryan 2025-01-05 18:06:13 -05:00
parent 4a1ef90059
commit 614359abd1
Signed by: ErrorNoInternet
GPG Key ID: 2486BFB7B1E6A4A3

View File

@ -105,7 +105,7 @@ async def on_message(message, edited=False):
await commands.voice.leave(message) await commands.voice.leave(message)
case C.QUEUE | C.PLAY: case C.QUEUE | C.PLAY:
async with command_locks[message.guild.id]: async with command_locks[message.guild.id]:
await commands.voice.queue_or_play(message, edited=True) await commands.voice.queue_or_play(message, edited)
case C.SKIP: case C.SKIP:
async with command_locks[message.guild.id]: async with command_locks[message.guild.id]:
await commands.voice.skip(message) await commands.voice.skip(message)