Mass Actions
Ban or kick everyone matching some filters, or purge a member or a link from every channel.
For cleaning up after a raid or a scam wave, Guard has three bulk tools. Each shows you what it will do first, and only you can see the reply.
/massban and /masskick
Pick filters, check the preview, then confirm with the Ban (or Kick) button. Anything not confirmed within 10 minutes is dropped.
| Filter | Matches |
|---|---|
joined_after | Members who joined within this long, like 30m or 2h |
joined_before | Members who joined more than this long ago |
name | Usernames, display names or nicknames, with * as a wildcard: raider*, *nitro* |
account_younger_than | Accounts newer than 1d, 7d… |
no_avatar | Members with the default avatar |
no_roles | On by default: members who have any role are skipped |
You need at least one of joined_after, joined_before, name, account_younger_than or no_avatar.
Safety
- Staff, bots, the owner, you, Guard, and anyone at or above your highest role (or Guard's) are always skipped.
- At most 1,000 members per run, newest joiners first. Servers over 25,000 members can't use it, and only one mass ban or kick can run in a server at a time.
- It respects the hourly ban and kick limit and anti-nuke's limits.
- No individual cases are created and members aren't DMed. One Mass Ban or Mass Kick entry goes to the audit logs.
/purgeall
Deletes one member's messages, or every message with a link or some text, across every channel within a time
window. It needs at least one of member, link or content.
linkmatches by hostname, and awww.address also matches the bare domain.contentuses Discord's search, so it matches whole words.- Without
member, only messages from users are searched, not bots. - Archived threads, channels you can't see, and channels where Guard can't delete messages are skipped, and the reply says how many.
- Only one server-wide purge can run at a time. It fails if Discord is still indexing the server's messages.
For one channel at a time, use /purge. See Cases & Actions.
Check the preview
Mass bans can't be undone in one click. Start narrow, for example with joined_after and name, and widen only if
the preview looks right.