Filter Words
Block certain words in your chat using Discord's automod.
Last updated
Block certain words in your chat using Discord's automod.
Last updated
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.
You can create a filtered word by using the following command:
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.
You can whitelist and unwhitelist certain channels from being triggered by Discord's automod.
You can allow filtered words to be sent in certain channels. To do this, run the following command:
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.
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 Unwhitelist Channels to learn how to disable this.
You can unwhitelist a whitelisted channel to disallow members from sending filtered words in that channel. To do this, run the following command:
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.
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 Whitelist Channels to learn how to enable this.
You can get a list of all whitelisted channels by using the following command:
No exempted channels
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 Whitelist Channels to learn how to whitelist channels from the filter.
You can remove a filtered word from serenity's chat filter by using the following command:
Once you run this command, serenity will send an embed confirming it removed the word from the chat 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 Add a Filtered Word.
You can remove all words from the word filter by using the following command: