Automod

automod

Enable or configure an automod filter.

Slash command Needs Manage Server
automod <filter> <on|off> [--threshold <n>] [--window <duration>] [--do <delete|warn|timeout|kick|ban>] [--duration <duration>]
Aliases
am
User permissions
Manage Server
Bot permissionsNone
Cooldown3s
Server owner onlyNo
Server onlyYes
Slash commandYes
NSFW onlyNo

Arguments

NameTypeRequiredDescription
filterstringRequiredFilter
statestringRequiredOn or off
thresholdstringOptionalN
windowstringOptionalDuration
dostringOptionalDelete, warn, timeout, kick or ban
durationstringOptionalDuration

Flags

--do

Delete, warn, timeout, kick or ban

Accepts: delete, warn, timeout, kick, ban
--duration

Duration

Value: <duration>
--log
--punishment
--threshold

N

Value: <n>
--window

Duration

Value: <duration>

Examples

automod spam on --threshold 6 --window 5s --do timeout --duration 10m
automod invites on --do delete
automod caps on --threshold 70 --do warn
automod links off