Security

Antiraid

Mass-join detection, raid state and cleanup.

Spots floods of new members and gives you tools to deal with them. You need Manage Server to use ,antiraid.

Detection

,antiraid massjoin <on|off> [threshold] [ban|kick] [lock_channels true|false] [punish_new_members true|false]
,antiraid newaccounts <on|off> [days] [ban|kick]
,antiraid avatar <on|off> [ban|kick]
,antiraid config
  • massjoin triggers when the threshold (2 to 50) of members join within 10 seconds.
  • newaccounts acts on accounts younger than the number of days you set.
  • avatar acts on accounts that still have the default avatar.

Add trusted users with ,antiraid whitelist add, remove and list.

When a raid starts

A mass join puts the server into a raid state:

  • The owner gets a DM.
  • Welcome and goodbye messages pause.
  • If you enabled it, channels are locked. Channels that already deny Send Messages are left alone.
  • If you enabled it, new joiners are punished.

End it with ,antiraid state, which also restores any channels it locked.

Cleaning up

,antiraid raid <duration> <kick|ban> [reason]

Removes everyone who joined in that time, up to 500 per run, after you confirm. It respects role hierarchy and the whitelist. ,raid and ,raid end do the same thing.

Honeypot

,antiraid honeypot add <#channel> [ban|kick|softban] turns a channel into a trap: anyone who talks in it gets the punishment. remove takes it away. Needs Administrator.

Jailing uses the roles from Mutes and jail.

Antiraid - Severed