Mass actions
/mass acts on many members at once, like banning every account from a raid or giving a role to everyone who joined this week. It shows you exactly who’ll be included before anything happens.
Setting it up
Section titled “Setting it up”Mass actions are part of the Mod actions plugin, but stay off even when it’s on. To use them:
- Turn on the Mod actions plugin on the Plugins page of
/settings. - Turn on Mass commands on the Mass actions page.
Commands
Section titled “Commands”| Command | What it does | Options |
|---|---|---|
/mass ban |
Ban everyone matched. | duration, reason, delete_messages, filters |
/mass unban |
Unban everyone matched. | reason, paste, name, regex |
/mass kick |
Kick everyone matched. | reason, filters |
/mass mute |
Mute everyone matched. | duration, reason, notify, filters |
/mass warn |
Warn everyone matched. | reason, notify, filters |
/mass role add |
Give a role to everyone matched. | role, reason, filters |
/mass role remove |
Take a role from everyone matched. | role, reason, filters |
/mass nickname dehoist |
Fix names that start with symbols to sit at the top of the member list. | reason, filters |
/mass nickname reset |
Reset nicknames. | reason, filters |
duration works as it does for /ban and /mute. notify overrides the server’s DM members setting for that run. For nickname changes, reason is shown in Discord’s audit log.
Filters
Section titled “Filters”Pick people with filters. Every filter you give must match:
| Filter | Matches |
|---|---|
joined_within |
Members who joined within this long, like 1h. |
member_for |
Members who’ve been in the server at least this long. |
has_role |
Members with this role. |
name |
Names containing this text, up to 100 characters. |
regex |
Read name as a regular expression (RE2). |
paste |
Paste a list of user IDs instead, separated by spaces, commas or new lines. |
Every command except nickname dehoist and role remove needs at least one filter or a pasted list.
Running a mass action
Section titled “Running a mass action”-
Run the command with your filters. Axmo shows a preview of who’s Included and who’s Left out, and why, like “Above your highest role” or “Already banned”. With more than 10 people, the full list is attached as a file.
-
Check the preview, then confirm with the button, like Ban all. Nothing happens until you confirm.
-
Axmo works through the list a few at a time, with a progress card. Press Stop job to stop part-way.
Each person acted on gets their own case. The Moderation log gets one line for the whole run.
Only one mass action runs per server at a time.
Only mass warnings and mutes DM members, and only once everyone’s been acted on. They DM when:
- DM members is on, or
- the command’s
notifyoption says so, or - Always appealable is on, so members can appeal from the DM
Mass bans, kicks and unbans never DM.
Settings
Section titled “Settings”On the Mass actions page of /settings:
| Setting | Default | What it does |
|---|---|---|
| Mass commands | Off | Lets /mass be used at all. |
| DM members | Off | DM members about mass warnings and mutes. |
| Always appealable | Off | Always DM, so members can appeal mass actions. |
| Fallback nickname | “Moderated nickname” | The name dehoist gives members whose names are all symbols. Change it with Change nickname. |
Limits
Section titled “Limits”| Starter | Plus | Pro | |
|---|---|---|---|
| People per run | 50 | 250 | 500 |
| Runs per minute | 2 | 4 | 8 |
If your filters match more people than your plan allows, narrow them down.
Permissions
Section titled “Permissions”/mass is shown to members with Time Out Members by default.
| Permission | Allows | Default groups |
|---|---|---|
mod_actions.mass.ban |
Ban and unban many people at once | administrator |
mod_actions.mass.kick |
Kick many members at once | administrator |
mod_actions.mass.mute |
Mute many members at once | administrator |
mod_actions.mass.warn |
Warn many members at once | administrator |
mod_actions.mass.role |
Give or take a role from many members at once | administrator |
mod_actions.mass.nickname |
Clean up many nicknames at once | moderator, administrator |