The lock channel command is a useful command to help moderate a server and it is important to make sure your Discord permissions are set up correctly so this command works when you need it most. If you do not know Discords permissions very well it is highly recommended to read Discords documentation on this very matter. Now, let's get started!
In order to understand how to set up Discord permissions for this command to work properly you need to understand what it does and how it works. When the command is run it changes the Send Messages of the default
@everyone to ❌as shown below.
When the unlock command is run it changes the Send Message override to grey allowing the fluff balls of your server to speak in again. This is where the set up comes into play. If a fluff ball has a role that has the Send Message override set to ✅ they will ignore this command. However, make sure the staff roles do have this set to ✅ so they can speak when a channel is locked down. Setting the Send Message override to grey will then check if a user has send message permission with a role.