Last updated:

Quick answer: Discord has a built-in word filter called AutoMod. Open Server Settings > AutoMod, set up a Custom Keyword Rule, type the words or phrases you want to block, choose what AutoMod should do when a message matches (block it, send an alert, time the member out) and save. You need the Manage Server or Administrator permission, and AutoMod rules cannot be edited from the mobile app. A third-party bot such as Dyno is only needed if you want something AutoMod does not do.

What was checked. The AutoMod steps, limits and wildcard rules below come from Discord’s own AutoMod FAQ, read on 26 Oct 2026. I did not rebuild a test server for this update, so the AutoMod section has no screenshots of its own. The Dyno, Anti-Swear Bot and CensorBot screenshots further down are from the original 2024 version of this guide, and those bots may look different today. An earlier version of this page said Discord has no built-in word filter; that is no longer correct.

MethodWhere you set it upExtra bot needed?Notes
AutoMod: Custom Keyword RuleServer Settings > AutoModNoYour own list of words, phrases, links or emojis; up to 1,000 terms
AutoMod: Commonly Flagged WordsServer Settings > AutoModNoReady-made lists (insults and slurs, sexual content, severe profanity); English only
DynoDyno dashboard on dyno.ggYesThird-party bot with its own Automod module; steps below
Anti-Swear BotInvite from top.gg, then !help in your serverYesThird-party bot; steps below
CensorBotInvite from top.ggYesThird-party bot; steps below

Method 1: Ban Words on Discord with Built-in AutoMod

  1. Open your server and go to Server Settings > AutoMod.
  2. To start from a ready-made list, press Set Up under Commonly Flagged Words and pick from the three lists: Insults and Slurs, Sexual Content and Severe Profanity. To use your own words, press Set Up under Custom Keyword Rule and enter the words and phrases.
  3. Choose the response: block the message (you can add your own message of up to 150 characters), send an alert to a private channel, and/or time the member out. Timeout is only offered for Custom Keyword Rules.
  4. Pick a channel for alerts that only admins and moderators can see, and add any roles or channels that should be exempt.
  5. Save the rule. Test it with an ordinary member account, because admins and members with Manage Server are always exempt from AutoMod.

Shortcut: when you see a message that contains a word you want to filter, highlight the word, right-click and choose Flag Word to add it to a rule.

How AutoMod matches words

By default AutoMod looks for an exact match of the term you entered. To catch variations, add the * wildcard at the start or end of a keyword. These examples are from Discord’s FAQ:

Rule termMatching typeExample message it catches
cat*Prefix: a word must start with the termget a cat-sitter
*catSuffix: a word must end with the termcool bobcat
*ana*Anywhere: the term can be in the middle of a wordbananas

A term made of several words only blocks messages that contain that exact phrase. Adding this is bananas blocks “this is bananas”, not a message that only contains “this”.

Limit or behaviourWhat Discord documents
Terms per Custom Keyword Rule1,000 terms, 60 characters each
LanguagesCustom keywords work in any language; the Commonly Flagged Words lists and the spam filter are English only
Where it appliesText channels, threads and text chat in voice channels
Bots and appsMessages from apps installed on the server are not flagged; messages from apps installed on a user’s own account are
Who can edit rulesMembers with Manage Server or Administrator, on a desktop device only
Usernames and nicknamesServer Settings > Safety Setup > Edit next to AutoMod > Block Words in Member Profile Names
Advertisement

Ban Words with a Third-Party Bot Instead

Bots were the only option when this guide was first written, and some servers still use them for extra moderation features. The three methods below are unchanged from the original guide, including the screenshots: Dyno, Anti-Swear Bot and CensorBot. Only add a bot you trust, because you are giving it permissions in your server.

Method 2: How to Ban Words on Discord Using Dyno Bot

Dyno is a customizable, user-friendly bot that can be used to ban words on Discord server. It provides some additional features as well such as spam filtering etc.

Go to Dyno and Click on the “Login with Discord” Button.

Dyno website with the Login with Discord button

Now you will be redirected to a new page where you can access your Discord account with Dyno. Click on “Authenticate” to proceed further.

Dyno asking to authenticate with your Discord account

Now choose your server. In my case, it’s MystiicMoth’s server. 

Choosing the Discord server to connect to Dyno

After choosing the server, click on the “Continue” Button.

Continue button after selecting the server in Dyno

Now click on the “Authorize” Button to integrate the Dyno Bot with your Discord server.

Authorize button to add the Dyno bot to the Discord server

Now you will be redirected to the homepage of the Dyno Bot. Select your timezone and click on the Next Button.

Dyno setup page with timezone selection and the Next button

Now choose the server channel you want to implement in the Bot. In my case, it’s general.

Dyno setup step for choosing the server channel

Go to the Automod option and enable it.  Now click on the Settings Button.

Dyno dashboard with the Automod module enabled and the Settings button

Now, click on the “Create Rule” Button.

Create Rule button in the Dyno Automod settings

Now provide an appropriate name for the rule and select its type. Our main purpose is to ban words so select “Bad Words”. Now in the section of Banned words, list some words that you want to Ban on your Discord server such as Murder, Blood, Crime, etc.

Dyno Automod rule form with a rule name, the Bad Words type and a banned words list

Now click on “Create Rule” to create the new “Word Ban” rule.

Create Rule button that saves the new Dyno word ban rule

The new rule has been created successfully as shown below:

The new word ban rule listed in Dyno Automod

Method 3: Using Anti-Swear Bot

Anti-Swear Bot is a customizable bot that allows you to keep an account of bad words on your Discord server.

Let’s see practically how we can set up the Anti-Swear Bot on our Discord server.

Go to Anti-Swear Bot and click on the “Invite” Button.

Stuck at this step? Ask us, it is free and include the exact error.

Anti-Swear Bot page on top.gg with the Invite button

You will be redirected a to new page where you will be asked to add your server to the Bot.

Afterward, you need to authorize the “Anti-Swear Bot” with Discord.

Authorizing Anti-Swear Bot with a Discord account

The authorization has been completed as shown below. Now go to your server.

Anti-Swear Bot authorization completed with a link to the server

The Anti-Swear Bot has been added to our Discord Server as illustrated below:

Anti-Swear Bot added to the Discord server

The Anti-Swear Bot’s message will pop up in the main channel as soon as you open the channel

Now type !help to receive a list of commands that will help you to manage your “Anti-Swear Bot”.

Advertisement

Method 4: Using Censor Bot

Censor Bot is one of the easiest bots to set up. This package includes messages, edits, etc.

Let’s see how we can set up the Censor bot on our Discord server.

Go to CensorBot and click on the Invite button.

CensorBot page on top.gg with the Invite button

You will redirected to a new page. Now add your server and click on “Continue”.

Selecting the server and pressing Continue for CensorBot

Click on Authorize to integrate the Censor Bot with your server.

Authorize button to integrate CensorBot with the server

The authorization has been completed. Now go to your server as shown below:

CensorBot authorization completed with a link to the server

Censor Bot has been added to our Discord server as shown below:

CensorBot added to the Discord server

Troubleshooting

ProblemLikely causeFix
No AutoMod option, or you cannot save a ruleMissing permission, or you are on mobileUse a desktop device and an account with Manage Server or Administrator
A blocked word still gets throughAutoMod matches the exact term by defaultAdd wildcard variants such as word* or *word
Your own test message is not blockedAdmins and members with Manage Server are exemptTest from an ordinary member account
A bot’s message is not blockedAutoMod does not flag apps installed on the serverRestrict the bot’s permissions or use the bot’s own filter
A harmless word is blocked by a ready-made listThe Commonly Flagged Words lists are broadAdd the word under Add exempt words
Non-English profanity is not caughtThe ready-made lists are English onlyAdd the words to a Custom Keyword Rule

FAQ

Does Discord have a built-in way to ban words? Yes. AutoMod is available for all servers and is set up under Server Settings > AutoMod.

Do I still need Dyno or another bot to filter words? Not for basic word filtering. A bot is only useful if you need features AutoMod does not offer.

What if unwanted messages were already posted? AutoMod only blocks messages before they are posted. To clean up what is already there, see how to delete multiple messages on Discord.

Conclusion

To ban words on Discord, use the built-in AutoMod: Server Settings > AutoMod > Custom Keyword Rule, with wildcards for variations and a private alert channel for moderators. Use Dyno, Anti-Swear Bot or CensorBot only when you want extra features beyond AutoMod.

Advertisement