Commands

Slash Commands

Locker supports slash commands, which will autocomplete to help the user while typing the command.

To use, or check all of, Locker's slash commands, just type / to see their information.

Chat Commands

Arguments wrapped in {} are mandatory, OR means the argument can be different.

;add {#channel-mention}

Adds the chosen channel to the locklist, if the locklist is currently locked then it will also automatically be locked as well.

;clear true or false

Clears all the channels on the locklist, optionally without resetting the send permissions for all these channels (default: true, permissions reset).

;lock reason

Locks all the channels on the locklist by denying the @everyone Send Messages and Send Messages in Threads permissions for Text Channels and Connect and Speak permissions for Voice Channels. Optionally a reason can be supplied which is sent to all locked channels.

;log {#channel-mention OR disable}

Set or clear the channel to log commands in, the bot does require access to the channel or else it will notify you of this error. No log channel is set by default, so no logging happens.

;prefix {prefix (1 word, max 5 chars) OR clear}

Changes the default prefix from ; to another given one of maximum 5 characters. ;prefix clear removes the custom prefix.

;remove {#channel-mention}

Removes the chosen channel from the locklist.

;show

Shows all the channels in the locklist.

;unlock reason

Unlocks all the channels on the locklist by resetting (/ option) the @everyone Send Messages and Send Messages in Threads permissions for Text Channels and Connect and Speak permissions for Voice Channels. Optionally a reason can be supplied which is sent to all unlocked channels.

Note: The denial of "Send Messages" and "Send Messages in Threads" permissions are set for the @everyone role. If you have anything that overwrites these permissions, these roles/users might still be able to send messages.

Last updated

Was this helpful?