{{define "cp_automod"}} {{template "cp_head" .}} {{template "cp_alerts" .}}
{{template "automod_general" .}}
{{template "automod_spam" .}}
{{template "automod_mention" .}}
{{template "automod_invite" .}}
{{template "automod_banned_words" .}}
{{template "automod_banned_websites" .}}
{{template "cp_footer" .}} {{end}} {{define "automod_general"}}

Information

The automoderator helps to perform mundane and repetitive duties on servers. It deals with the following cases:

TIP: The ban and kick message from the moderation settings will be used when the bot kicks and bans.

Check out the documentation for more info: docs.yagpdb.xyz/automoderator.

If you need any help setting up a rule, join the support server above.

{{end}} {{define "automod_spam"}}
{{mTemplate "automod_common_fields" "Guild" .ActiveGuild "Rule" .AutomodConfig.Spam "Name" "Spam"}}

Number of messages sent within the time frame below for it to be triggered:

The timeframe to check messages from.

Something decent to just protect from raw spam could be five messages within two seconds. Normal users won't come near that, and it would target spammers.

{{end}} {{define "automod_mention"}}
{{mTemplate "automod_common_fields" "Guild" .ActiveGuild "Rule" .AutomodConfig.Mention "Name" "Mention"}}

The number of mentions in a message for it to trigger.
If it's set to 5, then someone mentioning five people or more would trigger this.

{{end}} {{define "automod_invite"}}
{{mTemplate "automod_common_fields" "Guild" .ActiveGuild "Rule" .AutomodConfig.Invite "Name" "Invite"}}
{{end}} {{define "automod_links"}}
{{mTemplate "automod_common_fields" "Guild" .ActiveGuild "Rule" .AutomodConfig.Links "Name" "Links"}}
{{end}} {{define "automod_banned_words"}}
{{mTemplate "automod_common_fields" "Guild" .ActiveGuild "Rule" .AutomodConfig.Words "Name" "Words"}}

Built in lists


Separate entries by spaces or lines, this is case insensitive and it only checks against words.

{{end}} {{define "automod_banned_websites"}}
{{mTemplate "automod_common_fields" "Guild" .ActiveGuild "Rule" .AutomodConfig.Sites "Name" "Sites"}}

Seperate entries by spaces or lines
Only type the host. For example, if you want to block Google, you would add google.com, NOT https://google.com.
This will also ban all subdomains of the site, for example, if you ban google.com then fun.google.com will also be banned.

{{end}} {{define "automod_common_fields"}}

When this many minutes have passed without any violations, the users violations are forgotten, maximum is one week (44640 minutes).

Punish based on number of violations >:O. (Punishment is disabled if set below 1.)

A warning and message deletion will always be issued if the rule is broken.

{{end}}