Skip to main content
Version: Stable - 3.2.1

Channel locking

Sometimes it is necessary to temporarily lock a channel to prevent users from sending messages. With the lock command, this becomes a breeze!

πŸ”’ Lock a channel​

Use the command: /lock [reason]

This command removes the permission to send messages for the @everyone role in the channel, preventing all users from posting there. Replace [reason] to indicate why the channel is locked (e.g.: chat cleanup, important announcement, etc.).

πŸ”“ Unlock a channel​

Use the command: /unlock [reason]

This command restores the message-sending permissions to their state before the lock for the @everyone role in the channel, allowing users to post again. Replace [reason] to indicate why the channel is unlocked (e.g.: discussion reopened, announcement finished, etc.).

warning

For the lock command to work properly, you must ensure that no roles have explicit permission to speak in that channel. Otherwise, members with those roles will still be able to chat.

info

The lock and unlock commands are usable by prefix.

✏️ Configuring the Lock Icon​

By default, this feature is disabled. However, you can choose whether locked channels should be renamed with a lock emoji (πŸ”’) added in front of their name.

To enable/disable the lock icon in front of the names of locked channels:

  1. Use the command /settings.
  2. Click on the Lock Icon on Locked Channels button. This button acts as a toggle; a simple click is enough to enable or disable the option.