Documentation
Contents
Moderation
Warnings, timeouts, jails, bans, purges and the case file behind them.
The moderation setup guideEvery punishment writes a case: who, what, why, which moderator and when. That case is what the member sees in direct messages, what ;history reads back months later, and what an appeal is judged against. Nothing here needs an extra setup step except the mute and jail roles, which ;setup creates.
The commands fall into three families. Punishments (warn, mute, timeout, jail, kick, ban and their undo commands) take a member and an optional reason. Cleanup (purge and its filters, slowmode, lock, hide) works on a channel. Roles and nicknames (addrole, temprole, massnick, forcenickname) touch members without punishing them.
Start here
;setupCreates the muted, jail and i-muted roles and the jail channel.;warnFiles a warning and DMs the member the reason.;muteTimes a member out against the muted role, with a duration.;historyEvery case against a member, numbered.;purgeBulk deletes messages, with filters for bots, links and images.
Worth knowing
- Assigning a role needs the grief role above it. If mute or temprole silently does nothing, the role order is the reason.
- Undo commands exist for every punishment: unmute, unjail, timeout clear, unban, warnclear. A punishment without its undo is a support ticket waiting to happen.
- ignore keeps a member or channel out of moderation and logging. Use it for staff channels, ticket bots and your own alt.
All 257 commands
257 of 257
- ;addrole @user @rolegive a member a role.
- ;appeal <panel|setup|settings|list|status|disable>ban appeals with verification and human review.
- ;auditlog [n]recent audit-log entries.
- ;ban (member) [delete days] [reason]ban a member.
- ;ban purge (days)set the default message history deleted on ban.
- ;ban recentthe last ten bans.
- ;caselog (case id)view one case log.
- ;casetools <view|member|by|search|recent|stats|repeat|timeline|reason|action|redact|clean|link|casefile>read or amend moderation cases.
- ;cleanup [n]delete the bot's replies and their commands.
- ;clearinvitesdelete every invite in the server.
- ;copydisabled <old channel> <new channel>copy disabled commands, modules and events to another channel.
- ;createdat (id)when any Discord id was created.
- ;deleteemoji (emoji)delete an emoji.
- ;disablecommand <channel or member> <command>disable a command in a channel or for a member.
- ;disablecommand all <command>disable a command in every channel.
- ;disablecommand listview the commands disabled here.
- ;disableevent <channel> <event>disable a bot event in a channel.
- ;disableevent all <event>disable an event in every channel.
- ;disableevent listview the events disabled here.
- ;disablemodule <channel> <module>disable a module in a channel.
- ;disablemodule all <module>disable a module in every channel.
- ;disablemodule listview the modules disabled here.
- ;drag (members...) (channel)move members into a voice channel.
- ;dump <role>list everyone holding a role.
- ;enablecommand <channel or member> <command>enable a disabled command in a channel or for a member.
- ;enablecommand all <command>enable a command in every channel.
- ;enableevent <channel> <event>enable a disabled bot event in a channel.
- ;enableevent all <event>enable an event in every channel.
- ;enablemodule <channel> <module>enable a disabled module in a channel.
- ;enablemodule all <module>enable a module in every channel.
- ;fakepermissionslend permissions to a role through the bot.
- ;fakepermissions add <role> <permission>grant a fake permission to a role.
- ;fakepermissions list [role]list fake permissions.
- ;fakepermissions remove <role> <permission>remove a fake permission from a role.
- ;fakepermissions resetremove every fake permission.
- ;forcenickname (member) (name)keep a member's nickname where you put it.
- ;forcenickname listevery forced nickname.
- ;forcenickname remove (member)stop forcing a nickname.
- ;handoff (member) (staff member)transfer an active case to another staff member.
- ;hardban (member) [reason]ban a member and keep them banned if they rejoin.
- ;hardban listeverybody who has to stay banned.
- ;hide <channel> [role or member]hide a channel from a role or member.
- ;history (member) [action]a member's punishment history.
- ;history remove (member) (case id)delete one case from a member's record.
- ;history removeall (member)wipe a member's whole record.
- ;history view (case id)one case in full.
- ;ignore <member or channel>ignore a member or channel.
- ;ignore add <member or channel>ignore a member or channel.
- ;ignore listview what is being ignored.
- ;ignore remove <member or channel>stop ignoring a member or channel.
- ;imute (member) [reason]take away a member's files and embeds in this channel.
- ;iunmute (member) [reason]give a member's files and embeds back in this channel.
- ;jail (member) [duration] [reason]put a member in the jail channel.
- ;jaillisteverybody currently jailed.
- ;kick (member) [reason]kick a member.
- ;lock [channel] [reason]stop a role from talking in a channel.
- ;lock all [reason]lock every channel that is not ignored.
- ;lock ignore [add|remove|list]channels `lock all` and `unlock all` leave alone.
- ;lock ignore add <channel>never lock this channel.
- ;lock ignore listevery ignored lock channel.
- ;lock ignore remove <channel>lock this channel again.
- ;lock role <role>set the role a lock applies to.
- ;massnick (name)rename every member.
- ;massunnickrestore names saved by massnick.
- ;membersince [@user]join date and position.
- ;moderationhistory (member) [action]actions a staff member has taken.
- ;modmail [setup|settings|greeting|close|reply|block|unblock|send|disable]DM-based staff mail and reply threads.
- ;modplus [strip|vmute|vdeafen|disconnectall|dm|timeoutlist|warnclear|prune|rolecreate|channelcreate|threadlock]extra moderation and server tools.
- ;modplus channelcreate <text|voice> <name>create a text or voice channel.
- ;modplus channeldelete #channeldelete a channel.
- ;modplus disconnectall [#voice]disconnect everyone from a voice channel.
- ;modplus dm @user <text>send a direct message through the bot.
- ;modplus editrole <name|color|hoist|mentionable> @role [value]rename, recolour or toggle a role.
- ;modplus prune [days]prune inactive members.
- ;modplus resetnick @userclear a member's nickname.
- ;modplus rolecreate <name> [#colour]create a role.
- ;modplus roledelete @roledelete a role.
- ;modplus strip @user [reason]remove every role from a member.
- ;modplus strip listmembers with stored stripped roles.
- ;modplus strip restore @userrestore roles removed by strip.
- ;modplus threadlock [#thread]lock a thread.
- ;modplus threadunlock [#thread]unlock a thread.
- ;modplus timeoutlistmembers currently timed out.
- ;modplus vdeafen @userserver-deafen a member.
- ;modplus vmute @userserver-mute a member in voice.
- ;modplus vundeafen @userremove a voice server deafen.
- ;modplus vunmute @userremove a voice server mute.
- ;modplus warnclear @userclear a member's warnings.
- ;modstats [member]how much a moderator has done.
- ;moveall <channel>move everybody in your voice channel to another one.
- ;mute (member) [duration] [reason]give a member the muted role, saving the roles it replaces.
- ;naughty [channel]make a channel NSFW for thirty seconds.
- ;newmembers [count]the members who joined most recently.
- ;nick @user [name]set or clear a nickname.
- ;notes (member)staff notes on a member.
- ;notes add (member) (note)write a note.
- ;notes clear (member)delete every note on a member.
- ;notes remove (member) (id)delete one note.
- ;nukeclone and delete this channel.
- ;nuke add <channel> <interval> [message]nuke a channel on an interval.
- ;nuke archive <channel> <on|off>archive pins before a scheduled nuke.
- ;nuke listevery scheduled nuke.
- ;nuke remove <channel>cancel a scheduled nuke.
- ;nuke view <channel>the message and interval for a scheduled nuke.
- ;permissions [member] [channel]what a member can do in a channel.
- ;proof (case id)evidence attached to a case.
- ;proof add (case id) (url)attach a link to a case.
- ;proof list (case id)the attachments on a case.
- ;proof remove (case id) (index)detach one attachment by its number.
- ;proof set (case id) (explanation)write the explanation for a case.
- ;proof view (case id)the proof on a case.
- ;prune [subcommand]find and remove members who went quiet.
- ;prune exempt [role | list | remove role]roles that are never pruned.
- ;prune inactive (days) [--confirm] [--no-dm] [--limit n]list, or remove, members inactive for a number of days.
- ;prune lastthe last prune this server ran.
- ;purge [member] [amount]delete messages from this channel.
- ;purge activity [amount]delete activity messages.
- ;purge after <message link or id>delete everything after a message.
- ;purge before <message link or id>delete everything before a message.
- ;purge between <start id> <finish id>delete the messages between two messages.
- ;purge bots [amount]delete messages from bots.
- ;purge contains <substring>delete messages containing a substring.
- ;purge embeds [amount]delete messages carrying embeds.
- ;purge emoji [amount]delete messages carrying emoji.
- ;purge emotes [amount]delete messages carrying custom emotes.
- ;purge endswith <substring>delete messages ending with a substring.
- ;purge files [amount]delete messages with attachments.
- ;purge humans [amount]delete messages from people.
- ;purge images [amount]delete images, including linked ones.
- ;purge links [amount]delete messages containing links.
- ;purge mentions <member> [amount]delete messages mentioning a member.
- ;purge reactions [amount]clear reactions instead of deleting.
- ;purge startswith <substring>delete messages starting with a substring.
- ;purge stickers [amount]delete messages carrying stickers.
- ;purge upto <message link or id>delete everything up to a message.
- ;purge webhooks [amount]delete messages sent by webhooks.
- ;purgebotsdelete recent bot messages.
- ;purgecontains (text) [n]delete messages containing text.
- ;purgeembedsdelete recent embedded messages.
- ;purgeimagesdelete recent messages with images.
- ;purgelinksdelete recent messages containing links.
- ;purgeuser @user [n]delete a member's recent messages.
- ;raid (time) [ban|kick] [reason]ban or kick everybody who joined in the last stretch of time.
- ;reason (case id) (reason)change a case's reason.
- ;reasons [add|remove|list]canned moderation reasons.
- ;reasons add (key) (text)add or replace a template.
- ;reasons listevery template.
- ;reasons remove (key)remove a template.
- ;recentban <count> [reason]ban the members who joined most recently.
- ;removerole @user @roleremove a role from a member.
- ;rename (member) (name)change a member's nickname.
- ;renameemoji (emoji) (name)rename an emoji.
- ;restrictcommand (command) (role)only listed roles can use a command.
- ;restrictcommand add (command) (role)allow one more role to use a command.
- ;restrictcommand listevery restricted command.
- ;restrictcommand remove (command) (role)take a role's permission away.
- ;restrictcommand resetremove every restriction.
- ;revokefiles [on|off]take or give back file and embed permissions in a channel.
- ;revokefiles off [channel]deny attachments and embeds.
- ;revokefiles on [channel]allow attachments and embeds again.
- ;rmute (member) [reason]take away a member's reactions and external emotes here.
- ;role <member> <role>toggle a member's roles, or change the role itself.
- ;role add <member> <role>give a member a role.
- ;role all <role>give every member a role.
- ;role all remove <role>take a role off every member.
- ;role bots <role>give every bot a role.
- ;role bots remove <role>take a role off every bot.
- ;role cancelstop a running mass role change.
- ;role color <colour> <role>set a role's colour.
- ;role color gradient <colour> <colour> <role>apply a two-colour gradient.
- ;role create <name> [colour]make a role, with an optional colour.
- ;role delete <role>delete a role.
- ;role edit <role> <name>rename a role.
- ;role has <role> <assign role>give a role to everyone holding another role.
- ;role has remove <role> <remove role>take a role off everyone holding another role.
- ;role hoist <role>toggle a role being shown separately.
- ;role humans <role>give every human a role.
- ;role humans remove <role>take a role off every human.
- ;role icon <url> <role>set a role's icon from an image URL.
- ;role mentionable <role>toggle whether a role can be mentioned.
- ;role remove <member> <role>take a role off a member.
- ;role restore <member>put back the roles a mute stripped.
- ;role topcolor <colour> [member]change the colour of someone's highest role.
- ;rolebots @rolegive a role to every bot.
- ;rolecolor @role #hexchange a role colour.
- ;rolehoist @roletoggle whether a role is shown separately.
- ;rolehumans @rolegive a role to every human.
- ;rolemention @roletoggle whether a role is mentionable.
- ;rolename @role <name>rename a role.
- ;runmute (member) [reason]give a member's reactions and external emotes back.
- ;setupcreate the muted and jailed roles, the jail channel, and the log channel.
- ;setupmutecreate the muted role and apply it to every text channel.
- ;shift [start|end|who|log]clock on and off moderation duty.
- ;shift endend your shift.
- ;shift log [member] [days]hours on duty per moderator.
- ;shift start [note]start a shift.
- ;shift whowho is on duty right now.
- ;slowmode [on|off]restrict a channel to one message per interval.
- ;slowmode off [channel]turn slowmode off.
- ;slowmode on [channel] <delay>turn slowmode on.
- ;softban (member) [delete days] [reason]ban and immediately unban, wiping a day of messages.
- ;staffstats [member] [days]moderation actions per staff member, from the case log.
- ;stickyrole (member) (role)give a role back automatically when a member rejoins.
- ;stickyrole add (member) (role)the same as the bare command.
- ;stickyrole listevery sticky role in the server.
- ;stickyrole remove (member) (role)stop giving a role back.
- ;stripstaff <member>take every staff role off a member.
- ;supportwhere to get help.
- ;talk <channel> <role>toggle whether a role can talk in a channel.
- ;tempban (member) (duration) [reason]ban a member for a while, then let them back.
- ;temprole (member) (duration) (role)give a role for a while, then take it back.
- ;temprole clear (member)remove every temporary role from a member.
- ;temprole extend (member) (role) (duration)add more time to a temporary role.
- ;temprole list [member]every active temporary role, or one member's.
- ;temprole remove (member) (role)take a temporary role back early.
- ;thread [rename|lock|unlock|create|archive|unarchive|pin|unpin|slowmode|info|add|remove|watch]work with threads and forum posts.
- ;thread add [thread] <member>add a member to a thread.
- ;thread archive [thread]archive a thread.
- ;thread create (name)open a thread on the message you replied to.
- ;thread info [thread]details about a thread.
- ;thread lock [thread] [reason]lock a thread so nobody else can talk in it.
- ;thread pin [thread]pin a forum post to the top of its forum.
- ;thread remove [thread] <member>remove a member from a thread.
- ;thread rename [thread] <name>rename a thread.
- ;thread slowmode [thread] <seconds>set a thread's slowmode in seconds.
- ;thread unarchive [thread]reopen an archived thread.
- ;thread unlock [thread] [reason]unlock a thread.
- ;thread unpin [thread]unpin a forum post.
- ;thread watch [thread]keep a thread from being archived.
- ;thread watch listevery watched thread.
- ;timeout (member) (duration) [reason]time a member out with Discord's own timeout.
- ;timeout listeverybody currently timed out.
- ;topic (text)replace the channel topic.
- ;unban (user) [reason]unban a user by id or mention.
- ;unbanallunban everybody, slowly, and let the owner stop it.
- ;unbanall cancelstop an unban all that is running.
- ;unhide <channel> [role or member]make a hidden channel visible again.
- ;unjail (member) [reason]let a member out and give their roles back.
- ;unlock [channel] [reason]let a role talk in a channel again.
- ;unlock all [reason]unlock every channel that is not ignored.
- ;unmute (member) [reason]take the muted role off and give the saved roles back.
- ;untimeout (member) [reason]remove a member's timeout.
- ;vkick @userdisconnect a member from voice.
- ;vmove @user #channelmove a member to another voice channel.
- ;votekick (member) [reason]start a vote to kick someone.
- ;votemod [on|off|threshold|window|minage|cooldown|role]settings for vote mute / vote kick.
- ;votemod cooldown (duration)how long before the same person can be voted on again.
- ;votemod minage (duration)how long a voter must have been in the server.
- ;votemod role [role]only this role can vote (blank = anyone).
- ;votemod threshold (votes)how many votes it takes.
- ;votemod window (duration)how long a vote stays open.
- ;votemute (member) [duration] [reason]start a vote to time someone out.
- ;warn (member) [reason]warn a member and tell them why.
- ;warnexpire (days|never)how many days a warning stays active.
- ;warnings (member)the warnings on a member's record.
- ;webhookswebhooks in this server.
- ;whohas (permission)members holding a permission.
