Moderation

Channel controls

Purge, slowmode, lockdown, hide and threads.

Purge, slowmode, lockdowns and threads. Each one is checked against the permissions of the channel it runs in, not the server in general.

Purge

,purge
,purge 50
,purge @member 50
,purge bots 50
,purge links 50
,purge images 50
,purge embeds 50
,purge contains some phrase

The number is how many recent messages to look through, so fewer may match. The bot shows what it found, and after you confirm it deletes exactly those messages. Pinned messages and anything 14 days or older are skipped. The most it looks at is 100. contains isn't case sensitive. Aliases: prune, c.

You and the bot both need Manage Messages and Read Message History. Purged messages aren't saved anywhere and don't show up in snipes.

Slowmode

,slowmode on 10
,slowmode on #general 2m
,slowmode off #general

Plain numbers are seconds, and you can combine units, up to six hours. It defaults to the current channel. In a thread you need Manage Threads.

Lock and hide

,lockdown [#channel] [reason]
,unlock [#channel] [reason]
,hide [#channel] [@role or @member]
,unhide [#channel] [@role or @member]

lockdown stops everyone from sending messages or starting threads in a text, announcement, forum or media channel. hide hides the channel from everyone, or from the role or member you name. Both need Manage Channels, and the bot needs Manage Roles to edit permission overwrites.

Before it changes anything, the bot saves the original settings. unlock and unhide put back only what they changed, so your other overrides stay as they were. That saved state survives a restart. If someone edited the same overwrite in between, the bot stops and leaves it for you to check. It also refuses changes that would lock the bot out of the channel or hide it from you.

,topic <text> and ,topic clear change the channel topic (1,024 characters, or 4,096 in forum and media channels). ,permissions @member #channel shows someone's effective permissions in a channel.

Threads

,thread rename #thread New name
,thread lock #thread [reason]
,thread unlock #thread [reason]
,thread add #thread @member
,thread remove #thread @member

close and reopen work as aliases for lock and unlock. All of these need Manage Threads, and archived threads are refused instead of being reopened quietly.

Nuke

,nuke [reason] clones a text channel and deletes the old one. Pins, threads and webhooks don't carry over, and rules, update and system channels are refused. It needs Manage Channels.