This PR adds a new role-locked (BotMod and BotAdmin) slash command named /togglelock.
It can be used to lock the current voice state so that users who don't have the following roles won't be able to manipulate the voice state with these commands:
👇 Click on the image for a new way to code review
####
[![Review these changes using an interactive CodeSee Map](https://s3.us-east-2.amazonaws.com/maps.codesee.io/images/github/IgKniteDev/IgKnite/230/8321b9b1/931f1294cc8ce3f0b60a25326f8ba8a2c3e2c20a.svg)](https://app.codesee.io/r/reviews?pr=230&src=https%3A%2F%2Fgithub.com%2FIgKniteDev%2FIgKnite)
#### Legend
Things changed:
This PR adds a new role-locked (
BotMod
andBotAdmin
) slash command named/togglelock
.It can be used to lock the current voice state so that users who don't have the following roles won't be able to manipulate the voice state with these commands:
/play
/skip
/stop
/volume
/pause
/resume
/leave
/loop