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.
| Method | Where you set it up | Extra bot needed? | Notes |
|---|---|---|---|
| AutoMod: Custom Keyword Rule | Server Settings > AutoMod | No | Your own list of words, phrases, links or emojis; up to 1,000 terms |
| AutoMod: Commonly Flagged Words | Server Settings > AutoMod | No | Ready-made lists (insults and slurs, sexual content, severe profanity); English only |
| Dyno | Dyno dashboard on dyno.gg | Yes | Third-party bot with its own Automod module; steps below |
| Anti-Swear Bot | Invite from top.gg, then !help in your server | Yes | Third-party bot; steps below |
| CensorBot | Invite from top.gg | Yes | Third-party bot; steps below |
Method 1: Ban Words on Discord with Built-in AutoMod
- Open your server and go to Server Settings > AutoMod.
- 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.
- 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.
- Pick a channel for alerts that only admins and moderators can see, and add any roles or channels that should be exempt.
- 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 term | Matching type | Example message it catches |
|---|---|---|
cat* | Prefix: a word must start with the term | get a cat-sitter |
*cat | Suffix: a word must end with the term | cool bobcat |
*ana* | Anywhere: the term can be in the middle of a word | bananas |
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 behaviour | What Discord documents |
|---|---|
| Terms per Custom Keyword Rule | 1,000 terms, 60 characters each |
| Languages | Custom keywords work in any language; the Commonly Flagged Words lists and the spam filter are English only |
| Where it applies | Text channels, threads and text chat in voice channels |
| Bots and apps | Messages from apps installed on the server are not flagged; messages from apps installed on a user’s own account are |
| Who can edit rules | Members with Manage Server or Administrator, on a desktop device only |
| Usernames and nicknames | Server Settings > Safety Setup > Edit next to AutoMod > Block Words in Member Profile Names |
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.

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

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

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

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

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

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

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

Now, click on the “Create Rule” Button.

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.

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

The new rule has been created successfully as shown below:

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.

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.

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

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

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”.
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.

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

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

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

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

Troubleshooting
| Problem | Likely cause | Fix |
|---|---|---|
| No AutoMod option, or you cannot save a rule | Missing permission, or you are on mobile | Use a desktop device and an account with Manage Server or Administrator |
| A blocked word still gets through | AutoMod matches the exact term by default | Add wildcard variants such as word* or *word |
| Your own test message is not blocked | Admins and members with Manage Server are exempt | Test from an ordinary member account |
| A bot’s message is not blocked | AutoMod does not flag apps installed on the server | Restrict the bot’s permissions or use the bot’s own filter |
| A harmless word is blocked by a ready-made list | The Commonly Flagged Words lists are broad | Add the word under Add exempt words |
| Non-English profanity is not caught | The ready-made lists are English only | Add 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.