Lock channel
lock_channelDeny all members permission to send messages in a Discord channel, while moderators with role overwrites retain posting ability.
Instructions
Lock a channel by denying everyone the ability to send messages. Existing role overwrites that allow posting still apply, so moderators keep access. Reverse with unlock_channel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| reason | No | ||
| channel | Yes | Channel name or ID. |