5 best discord bots for deleting messages based on parameters

Deleting messages on Discord is as easy as hovering over the message, clicking the three-dot menu icon in the pop-up window, and selecting the “Delete Message” option. Then click the “Delete” button in the pop-up window to permanently delete the message. But when you want to delete multiple based on some criteria or all messages, you have to delete them one by one, which is not ideal. Instead, you can use Discord bots to delete messages in bulk and quickly.

Things to keep in mind

  • Bots cannot access your Direct Messages as it is a violation of Discord terms. So you can only use them to delete messages on channels.
  • To delete messages on channels, you must be an administrator for that server or your role must have permission to manage the server and messages.
  • These bots need to access your message history to delete them for you. So, keep that in mind before proceeding any further.
  • Due to the limitations of the Discord API, these bots cannot delete messages after 14 days. So all bots must adhere to that rule. (But, there is a solution that we will share below)

With that being said, here are Discord bots that you can use to delete messages in bulk.

Best Discord bots to delete messages

To add any bot to this list, just click on the link below them and select the Invitation in the right sidebar. Here, select the Server you want to add the bot to and complete the Authorization process for the bot to access your server. That’s it, you have successfully added the bot and can start using commands to delete messages.

Check out this article for more information on how to add bots to Discord server on desktop / mobile devices.

1. Command cleaning

This bot has a list of options to select and delete different types of messages such as images, attachments, links, messages with mentions, messages from bots, etc.

All you need to do is type “.clean up”As a prefix and enter the parameter according to which you want to delete the messages. For example, to delete messages with links, type “.cleanup links”To delete all posts with links.

You can go one step further and write ‘links .cleanup youtube.com‘to delete all messages with links to YouTube. Similarly, you can also test all these other parameters like images, attachments, and text to delete messages with specific words, bots, purge, mentions, pinned, and all.

Also, you can set time periods like 1d, 4h or something like 20h 30m 20s at the end of the command to delete all messages in that specific time period. Or just enter the command ‘.cleanup 15‘all to delete the last 15 messages.

Finally, you can type ‘.cleanup all’ to delete all messages less than 14 days old. If you try a second time to delete the old messages, it will only say that you cannot delete the messages.

Add Command cleanup to your Discord Sever

2. Clean chat

Clean Chat is another Discord bot that comes packed with a ton of features. But the most notable is removing commands that trigger bots that are added to server chat. Server administrators use many commands to control all bots on a server and soon, the server is filled with command line messages.

Clean Chat helps you delete messages with command lines, which makes the server cleaner and easier to read. To do that, just type @cleanchat addbot @BOTNAME prefix of that bot.

The command may seem confusing. So here you have an example. We use a music bot called Rythm on our server. All users can control it with commands to play, pause, add to queue and skip music. To remove all these commands, I can just type @cleanchat addbot @Rythm! (where ! is the prefix of the Rythm robot).

That can’t delete the old messages, but it will delete all the messages from the command line after you have entered the command.

Whereas to delete the bot messages, just type @cleanchat deletebotmsg @BOTNAME True. Taking Rythm as an example, you should write @Cleanchat deletebotmsg @Rythm True.

Add Clean chat to your Discord server

3. Automatic deletion

This is one of the minimalist Discord bots that will delete messages quickly and easily. As the name suggests, you can give a command with the time parameter and all messages will be automatically deleted after that specific time. So if you have set 5m as your time, all messages will be deleted after 5 minutes from the time you sent the message.

To start the automatic deletion process, simply open the channel on your Discord server that you want to delete the messages on and type @AutoDelete start 24h. You can replace 24 hours with the time you want to delete, such as 5 hours or 30 seconds, etc.

But remember, the maximum time parameter is one hour. So if you want to delete in days, you have to enter @AutoDelete start 72h to remove after 3 days. To disable automatic deletion, just open that channel again and give the command @AutoDelete set 0 and that should stop the process.

Add Automatic deletion to your Discord server

4. Mee6

Mee6 is a multi-functional bot that also has a built-in kill feature. But it works a little differently compared to the Discord bots we shared above to remove channel messages using search parameters. All you need to do is enter the command !Clear to erase the last 100 messages from the channel and ! clear 500 to delete the last 500 messages. Anyway, you can only delete up to the last 1000 messages using Mee6.

You can extend this and give a command. ! delete @username to delete the last 100 messages from that specific user. So if you want to ban someone and also delete their recent messages, this bot comes in handy to do exactly that.

Add Mee6 to your Discord server

5. Clearer bot

While all Discord bots can only delete messages from the last 14 days max, this bot can delete all messages with a strange trick. Delete the whole channel with all the messages and create a new channel with the same name, users and properties. Automatically grant permissions to that channel for users who had access to the previous channel. This makes it easy to delete all messages from that channel.

You just have to enter the command n! nuke and it will ask you for a confirmation. Just click the check mark below the confirmation. Note that it will delete all messages, everything.

It will delete the channel and start a new one with a core message that you can delete.

You can also try n! Clear to delete a specific number of messages, but you can only delete them from the last 14 days.

Add Clearer bot to your Discord server

Wrapping up – Discord Bots to delete messages

While there are several bots to choose from, each one works in a slightly different way. Command cleanup will remove messages based on their type. Clean Chat removes bot messages and the messages that trigger them. Auto Delete provides the ability to delete future messages. Whereas Mee6 is a multifunctional bot that can get the job done without installing a new bot again for each function.

Read also:

Recommended For You

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *