How do I ban words on my server (word filter)?

AutoModBanned wordsCommand

The word filter deletes messages that contain a word or phrase from your blocklist. It is managed with the /wordfilter command in Discord.

Who can use it? The command requires the Discord permission Manage Messages.

Add a word

  1. In a channel, type /wordfilter Discord offers the subcommands add, remove, list and toggle.
  2. Choose add
  3. In the mot field, type the word or phrase Up to 100 characters. It is saved in lowercase.
  4. Confirm with Enter The bot answers “Word added”. The filter is then turned on.

Remove a word

Type /wordfilter remove and the word to remove.

See the list

/wordfilter list shows all the words (hidden behind a spoiler so as not to display them) and whether the filter is active.

Turn the filter on or off without erasing the list

/wordfilter toggle with activer set to yes or no. The list is kept.

Choose what happens to the member

The sanction is set on the Banned words line (“Abuse” family) of the “Automatic sanctions” card on the AutoMod page. Default: warning. See How do the automatic sanctions work?

Think about exceptions A staff-only channel, or moderators who must be able to quote a banned word: add them to the exemptions.

Still stuck?

Contact support with the title of this article, the step where you are stuck and what you see on screen.

Contact support More articles: Protection

Last checked: 13 November 2026.