Skip to main content

,antispam

aka ,as, ,flood

message rate and duplicate flood detection

User permissions

Server Owner

Cooldown

none

Other surface

/antispam

Anchor

#antispam

Forms

rate <on|off> [++punish <punishment> ++threshold <number> ++window <seconds> ++duration <5m>]duplicate <on|off> [++punish <punishment> ++threshold <number> ++window <seconds>]escalation <on|off> [++punish <punishment> ++days <number>]settings [++purge <on|off> ++commands <on|off> ++duration <5m>]ignore <add|remove|list> [#channel]listreset

Syntax

,antispam <rate|duplicate|escalation|settings|ignore|list|reset>
/antispam <subcommand>

<required> · [optional]

Example

,antispam rate on ++threshold 6 ++window 5 ++punish timeout

Subcommands

7 prefix subcommands

Read from the prefix .sub/ tree, the canonical shape. Every entry has a permanent anchor of its own.

,antispam duplicate

punishes users who repeat the same message

,antispam duplicate <on/off> [++punish <punishment> ++threshold <number> ++window <seconds>]
,antispam duplicate on ++threshold 4 ++window 30 ++punish timeout
#antispam-duplicate
,antispam escalationaka escalate

punishes repeat spammers more harshly

,antispam escalation <on/off> [++punish <punishment> ++days <number>]
,antispam escalation on ++punish ban ++days 7
#antispam-escalation
,antispam ignoreaka exempt

exempts a channel or category from anti-spam

,antispam ignore <add/remove/list> [#channel]
,antispam ignore add #spam
#antispam-ignore
,antispam listaka show, status

shows the current anti-spam configuration

,antispam list
,antispam list
#antispam-list
,antispam rate

punishes users who send messages too fast

,antispam rate <on/off> [++punish <punishment> ++threshold <number> ++window <seconds>]
,antispam rate on ++threshold 6 ++window 5 ++punish timeout
#antispam-rate
,antispam resetaka clear

clears all anti-spam configuration for this server

,antispam reset
,antispam reset
#antispam-reset
,antispam settingsaka set, config

burst purge, command exclusion and timeout length

,antispam settings [++purge <on/off> ++commands <on/off> ++duration <5m>]
,antispam settings ++purge on ++commands on
#antispam-settings

Slash leaves

7 leaves

Read from the registered slash builder: groups are flattened, so a grouped leaf reads “group leaf” and anchors with a hyphen between the two words.

/antispam rate

Punish a user who sends too many messages too fast

/antispam ratestate*punishthresholdwindowduration
ParameterTypeDefaultDetail
staterequiredString—Turn rate detection on or offOn · Off
punishStringtimeoutWhat to do when it tripsWarn · Timeout · Mute · Jail · Kick · Softban · Ban
thresholdInteger6Messages needed to trip it(3–50)
windowInteger5Seconds they must arrive within(2–120)
durationString5mTimeout length, e.g. 5m
#antispam-rate
/antispam duplicate

Punish a user who repeats the same message

/antispam duplicatestate*punishthresholdwindow
ParameterTypeDefaultDetail
staterequiredString—Turn duplicate detection on or offOn · Off
punishStringtimeoutWhat to do when it tripsWarn · Timeout · Mute · Jail · Kick · Softban · Ban
thresholdInteger4Identical messages needed to trip it(3–50)
windowInteger30Seconds they must arrive within(2–120)
#antispam-duplicate
/antispam escalation

Punish repeat offenders more harshly

/antispam escalationstate*punishdays
ParameterTypeDefaultDetail
staterequiredString—Turn escalation on or offOn · Off
punishStringbanWhat a repeat offender getsWarn · Timeout · Mute · Jail · Kick · Softban · Ban
daysInteger7How far back a prior offence counts(1–90)
#antispam-escalation
/antispam settings

Purge, command exclusion and timeout length

/antispam settingspurgecommandsduration
ParameterTypeDefaultDetail
purgeBooleantrueDelete the whole burst, not just one message
commandsBooleantrueIgnore messages that are bot commands
durationString—Timeout length, e.g. 5m
#antispam-settings
/antispam ignore

Exempt a channel or category from anti-spam

/antispam ignoreaction*channel
ParameterTypeDefaultDetail
actionrequiredString—Add, remove, or list exempt channelsAdd · Remove · List
channelChannel—The channel or category to exempt (not needed for list)
#antispam-ignore
/antispam list

Show the current anti-spam configuration

#antispam-list
/antispam reset

Clear all anti-spam configuration for this server

#antispam-reset