fix: put lock on skip command
This commit is contained in:
parent
db2be32a43
commit
d0ddb36812
1
core.py
1
core.py
@ -104,6 +104,7 @@ async def on_message(message):
|
||||
async with command_locks[message.guild.id]:
|
||||
await commands.voice.queue_or_play(message)
|
||||
case C.SKIP:
|
||||
async with command_locks[message.guild.id]:
|
||||
await commands.voice.skip(message)
|
||||
case C.RESUME:
|
||||
await commands.voice.resume(message)
|
||||
|
Loading…
x
Reference in New Issue
Block a user