IgKniteDev / IgKnite

A unified, Swiss-grade bot, designed for providing fine moderation & music on Discord
https://igknitedev.github.io/docs
MIT License
72 stars 26 forks source link

✨ [feat] Added a new `/togglelock` slash command #230

Closed hitblast closed 1 year ago

hitblast commented 1 year ago

Things changed:

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:

ghost commented 1 year ago
👇 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 CodeSee Map legend