serenity
HomeCommandsStatusEmbed BuilderFAQ
  • Introduction
  • Get started
    • Welcome & Leave
      • Setting up Welcome
      • Setting up Leave
      • Setting up JoinDM
    • Moderation Setup
    • Lastfm
  • Security Setup
    • Antinuke
      • antinuke rolecreate
      • antinuke roledelete
      • antinuke editrole
      • antinuke giverole
      • antinuke channelcreate
      • antinuke channeldelete
      • antinuke kick
      • antinuke ban
      • antinuke massmention
      • antinuke newaccounts
      • antinuke spammer
      • antinuke botadd
    • Automod
      • Filter Invites
      • Filter Words
      • Filter Joins
    • Fake Permissions
  • Server Setup
    • Roles
      • Reaction Roles
      • Booster Roles
      • Button Roles
    • VoiceMaster
    • Counters
    • Tickets
    • Starboard
  • Embeds
    • Content in Embeds
      • Parameters
      • Variables
    • Writing Embed Code
    • Using Webhooks
    • Pagination
  • Miscellaneous
    • Antinuke Punishments
    • Fake Permissions
    • Donator Perks
    • Website
    • Support Server
Powered by GitBook
On this page
  • Add a filtered Word
  • Whiteliste & Unwhiteliste
  • Whitelist Channels
  • Unwhitelisting Channels
  • Whitelisted Channels
  • Remove a filtered Word
  • Clear the wordlist Filter
  1. Security Setup
  2. Automod

Filter Words

Block certain words in your chat using Discord's automod.

PreviousFilter InvitesNextFilter Joins

Last updated 10 months ago

Replace [prefix] with your server's prefix.

Words are filtered by utilizing Discord's automod feature. serenity will create an automod for your server and add to it for each word you filter. It is important that you do not delete this rule, all of your filtered words will be lost.

Add a filtered Word

You can create a filtered word by using the following command:

// Syntax
[prefix]filter words add [word]

// Example
;filter words add naughty

Once you have created a word filter, serenity will send an embed confirming the word creation.

Users with Admin and Manage Server permissions are always exempt from filter rules. This is a Discord feature, we can't change this.

Whiteliste & Unwhiteliste

You can whitelist and unwhitelist certain channels from being triggered by Discord's automod.

Whitelist Channels

You can allow filtered words to be sent in certain channels. To do this, run the following command:

[prefix]filter words whitelist [channel]

Once you run that command, users will be able to send your filtered words in the channel specified. serenity will send a confirmation message telling you that it has whitelisted that channel.

Already Whitelisted

Unwhitelisting Channels

You can unwhitelist a whitelisted channel to disallow members from sending filtered words in that channel. To do this, run the following command:

[prefix]filter words unwhitelist [channel]

Once you run that command, users will no longer able to send invites in the channel specified. serenity will send a confirmation message telling you that it has unwhitelisted that channel.

Not Whitelisted

Whitelisted Channels

You can get a list of all whitelisted channels by using the following command:

[prefix]filter words whitelisted

No exempted channels

Remove a filtered Word

You can remove a filtered word from serenity's chat filter by using the following command:

// Syntax
[prefix]filter words remove [word]
// Example
;filter words remove docs

Once you run this command, serenity will send an embed confirming it removed the word from the chat filter.

Not in the Filter

Clear the wordlist Filter

You can remove all words from the word filter by using the following command:

[prefix]filter words clear

If you get a message saying "This channel is already exempt", it means what it says. The filter for filtered words does not apply for that channel. Read to learn how to disable this.

If you get a message saying "This channel is not whitelisted", it means what it says. The filter for filtered words is already enabled in that channel. Read to learn how to enable this.

If you get a message saying "No exempted channels for invites filter", it means what it says. The filter for filtered words applies for all channels. Read to learn how to whitelist channels from the filter.

If you get a message saying "The word [word] is not in the word filter list", it means what it says. The word specified is not in the filtered word list. To create one, read .

Unwhitelist Channels
Whitelist Channels
Whitelist Channels
Add a Filtered Word