If you need to clear hundreds or thousands of messages from a Discord channel, doing it manually by right-clicking each one is not practical. Discord’s built-in bulk delete feature only works for messages less than 14 days old and requires selecting messages one by one. A dedicated bot can bypass these limits and delete messages older than two weeks, including pinned messages, embeds, and system messages. This article explains how to set up and use a bot to mass-delete messages in a Discord channel.
Key Takeaways: Mass-Deleting Messages With a Discord Bot
- Mee6 bot > Moderation > Auto Delete Messages: Deletes messages from a specific channel based on age or count, no manual commands needed.
- Dyno bot > ?clean command: Removes up to 1000 messages from a channel, including pinned and system messages, using a single command.
- Bot permissions > Manage Messages and Read Message History: Required for any bot to delete messages in a channel.
Overview of Mass-Delete Bots for Discord Channels
Discord’s native message deletion tools are limited. The built-in bulk delete option in the channel context menu only works for messages sent within the last 14 days and can delete up to 100 messages at a time. For older messages or for clearing a channel entirely, you need a bot that can bypass the 14-day restriction using the Discord API’s bulk delete endpoint.
Bots like Mee6, Dyno, and Carl-bot offer commands that delete messages by count, by user, or by age. These bots require the Manage Messages permission and the Read Message History permission in the target channel. Without these permissions, the bot cannot see or remove messages.
Most public bots can delete up to 1000 messages per command execution. If you need to delete more than 1000 messages, you run the command multiple times or schedule automatic deletions through the bot’s dashboard. Some bots also offer a purge command that removes messages from a specific user, which is useful for cleaning up spam from a single account.
Steps to Mass-Delete Messages Using Mee6 Bot
Mee6 is a popular moderation bot that provides an automatic message deletion feature through its web dashboard. This method does not require typing commands in Discord.
- Invite Mee6 to your server
Go to the Mee6 website at mee6.xyz and click Add to Discord. Select your server from the dropdown list and authorize the bot. Grant the bot the Manage Messages and Read Message History permissions when prompted. - Open the Mee6 dashboard
After the bot joins, return to the Mee6 website and click Dashboard. Select your server from the list. - Navigate to the Moderation module
In the left sidebar, click Moderation. If the module is not enabled, click the toggle to turn it on. - Configure Auto Delete Messages
Scroll down to the Auto Delete Messages section. Click the Add button. Choose the channel where you want to delete messages. Set the criteria: delete messages older than a specific number of days or delete a set number of messages from the channel history. - Save and run the deletion
Click Save. Mee6 will immediately start scanning the channel and deleting messages that match your criteria. The deletion runs in the background and may take several minutes for channels with thousands of messages.
Steps to Mass-Delete Messages Using Dyno Bot Commands
Dyno is another widely used moderation bot that offers the ?clean command for manual message deletion. This method gives you more control over which messages to delete.
- Invite Dyno to your server
Go to the Dyno website at dyno.gg and click Invite. Select your server and authorize the bot with the Manage Messages and Read Message History permissions. - Open the channel you want to clean
Navigate to the Discord channel where you want to delete messages. Make sure you are in the correct channel before running the command. - Type the ?clean command
In the channel text box, type?clean 100to delete the last 100 messages. Replace 100 with any number up to 1000. To delete messages from a specific user, type?clean @username 100. To delete only messages older than a certain number of days, type?clean 100 7to delete the last 100 messages older than 7 days. - Confirm the deletion
Dyno will reply with a confirmation message asking you to typeyeswithin 10 seconds. Typeyesin the same channel to confirm. The bot will then delete the specified messages.
Common Mistakes and Limitations When Using Deletion Bots
Bot cannot delete messages because it lacks Manage Messages permission
If the bot does not have the Manage Messages permission in the channel, it cannot delete any messages. Check the channel permissions by right-clicking the channel name, selecting Edit Channel, then Permissions. Ensure the bot role has the Manage Messages and Read Message History checkboxes enabled.
Bot deletes only 1000 messages at a time
Most bots cap a single command execution at 1000 messages. If you need to delete more than 1000 messages, run the command multiple times. For Mee6, you can set multiple Auto Delete rules or run the rule several times from the dashboard.
Bot cannot delete messages older than 14 days in some cases
Discord’s API allows bots to delete messages of any age using the bulk delete endpoint. However, some bots deliberately restrict deletion to messages under 14 days for safety reasons. If your bot does not delete older messages, switch to a bot that explicitly supports unlimited age deletion, such as Dyno or Carl-bot.
Bot deletes pinned messages unintentionally
The ?clean command in Dyno deletes pinned messages by default. To keep pinned messages, use the ?clean 100 --nopin flag or check the bot’s documentation for a similar option. Mee6’s Auto Delete does not delete pinned messages unless you specifically enable that option.
Discord Bot Mass-Delete Features: Mee6 vs Dyno vs Carl-bot
| Item | Mee6 | Dyno | Carl-bot |
|---|---|---|---|
| Deletion method | Web dashboard auto-delete rule | ?clean command in Discord | ?purge command in Discord |
| Max messages per run | Unlimited (runs in background) | 1000 | 1000 |
| Deletes messages older than 14 days | Yes | Yes | Yes |
| Deletes pinned messages | No by default | Yes by default (use –nopin) | No by default |
| Filter by user | No | Yes | Yes |
| Filter by age | Yes | Yes | Yes |
All three bots require the Manage Messages and Read Message History permissions. Mee6 is best for automatic, ongoing deletion without manual commands. Dyno and Carl-bot give you direct control through chat commands and are better for one-time purges.
You can now mass-delete messages in any Discord channel using a bot instead of deleting each message manually. Start with Mee6 if you want an automated solution that runs in the background. Use Dyno or Carl-bot for quick, manual cleanups with filters. For channels with more than 1000 messages, run the command multiple times or schedule repeated deletions through the bot dashboard.