Link Search Menu Expand Document

Automod Filter

These automod commands are specifically tailored to delete or flag messages containing everything from profanity โ€˜Arch btwโ€™.

Automod Filter Add

Slash Command

Modal

/automod filter add <action> <regex>? <clean-message>? <remove-spaces>?
arg type use
action Action What should happen when a message violates the filter
regex bool Is the filter Regex based (true) or not (false, default)
clean-message bool When true message formatting and alternate fonts are removed
remove-spaces bool When true spaces, newlines, and other whitespace are removed

This command adds a new automoderation filter, after the command is run an Automod Input Modal is displayed to the user. When clean-message is true messages like โ€œ๐“˜โ€™๐“ถ ๐“ช **๐“ฌ๐“พ๐“ฝ๐“ฎ** ๐“ฌ๐“ช๐“ฝโ€ will become โ€œIโ€™m a cute catโ€, enabling remove-spaces will make it harder for users to avoid your filter by sending messages like โ€œa r c h b t yโ€, but may result in increased false positives. It is Recommended you instead mane a custom Regex filter and use that.

Automod Filter Update

Slash Command

Modal

/automod filter add <filter> <action>? <regex>? <clean-message>? <remove-spaces>?
arg type use
filter AutomodFilter Specifies what filter to update.
action Action What should happen when a message violates the filter
regex bool Is the filter Regex based (true) or not (false, default)
clean-message bool When true message formatting and alternate fonts are removed
remove-spaces bool When true spaces, newlines, and other whitespace are removed

This command modifies an automoderation filter, after the command is run an Automod Input Modal is displayed to the user. When clean-message is true messages like โ€œ๐“˜โ€™๐“ถ ๐“ช **๐“ฌ๐“พ๐“ฝ๐“ฎ** ๐“ฌ๐“ช๐“ฝโ€ will become โ€œIโ€™m a cute catโ€, enabling remove-spaces will make it harder for users to avoid your filter by sending messages like โ€œa r c h b t yโ€, but may result in increased false positives. It is Recommended you instead mane a custom Regex filter and use that.

Automod Filter Test

Slash Command

Modal

/automod filter test

This command will test an automoderation filter, after you input a message in the modal you will get presented with a list of filters it violates. sample command result

Automod Filter Remove

Slash Command

/automod filter remove <filter>
arg type use
filter AutomodFilter Specifies what filter to delete.

This command deletes an automoderation filter, this action cannot be undone.