From d0ddb3681212aab00eb69ddb56e1ccc94d69acc0 Mon Sep 17 00:00:00 2001 From: ErrorNoInternet Date: Wed, 1 Jan 2025 15:38:07 -0500 Subject: [PATCH] fix: put lock on skip command --- core.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core.py b/core.py index 8411c17..8335676 100644 --- a/core.py +++ b/core.py @@ -104,7 +104,8 @@ async def on_message(message): async with command_locks[message.guild.id]: await commands.voice.queue_or_play(message) case C.SKIP: - await commands.voice.skip(message) + async with command_locks[message.guild.id]: + await commands.voice.skip(message) case C.RESUME: await commands.voice.resume(message) case C.PAUSE: