Global

Type Definitions

# AntiRaidOptions

The AntiRaid options

Properties
Name Type Default Description
rateLimit number 3

When rate Limit reached, do sanction

time number 10000

Time of the rate limit

ban boolean true

Ban Member

kick boolean false

Kick Member

unrank boolean false

Remove all roles of member

exemptMembers Array.<string> [

Ignored Members by AntiRaid

exemptRoles Array.<string> [

Ignored Roles by AntiRaid

exemptEvent Array.<string> [

Ignored Events by AntiRaid

reason string 'discord-antiraid'

Reason give to sanction

# CoolDown

Cooldown Types

Properties
Name Type Description
id string

Discord User ID

guild string

Discord Guild ID

event string

Discord event

startedAt number

CoolDown timestamp

rate number

Number of User action on event