Moderation

/lock

Lock a channel.

Development command reference

Options

channelOptionalChannel

Channel to modify

Try it in Discord

Type the command in a server where sow is available. Replace any values in angle brackets with your own.

/lock

Who can use it?

Manage Channels permission or a configured moderator role; role hierarchy still applies.

sow also needs the permission for the action it performs. Its role must be above the target member’s highest role. Check moderation setup.

Server settings, integration availability and shared usage limits can affect whether a command is available.