How to Delete All Messages in Discord

How to Delete All Messages in Discord

With Discord moving away from its gamer-centric approach and placing itself as a service for everyone, the platform has grown at an incredible pace. Whether it is for hosting Spotify listening parties, streaming Netflix on Discord, or anything else, Discord has something for everyone. However, one sad fact about Discord is that it doesn’t delete your messages even if you decide to permanently delete your Discord account. If you’d like to remove your messages, follow the steps below to delete all messages in Discord.

Delete All Messages in Discord (2021)

The easiest way to remove all Discord messages is using a script. However, if you prefer deleting manually, we’ve added the steps to manually clear Discord messages. If you’re a server admin, you can also use a Discord bot to delete messages. You can use the table of contents button below to jump to the section that’s relevant to your need.

Delete All Messages in Discord Channel or DM

Discord doesn’t encourage the use of self-bots to bulk delete messages. Here, we’ll be using a script to get rid of old Discord messages. There’s a chance of your account getting banned if the script triggers Discord’s anti-spam system and hence, use this at your own risk. Ideally, you should use this only if you’re planning to delete your Discord account soon after. Having said that, here’s how you can use the script to delete Discord messages.

Install Browser Extension to Manage User Scripts

To get started, you should first download a browser extension to manage userscripts. I’ll be using Tampermonkey (download for Chrome | download for Firefox), but you can also consider Violentmonkey (download for Chrome | download for Firefox).

add tampermonkey to chrome

Install Undiscord Script

1. First up, you should download and install Undiscord script. You can either install it from OpenUserJS or GreasyFork. Here, I’ll be downloading the script from OpenUserJS. Open the link and click on ‘Install’ at the top right corner.

install undiscord script

2. When the installation prompt from Tampermonkey opens in a new tab, click on ‘Install’. If you’re a programmer, you can review the source code of the script from this page before installing it. The script is also available on GitHub.

install undiscord tampermonkey

Steps to Use Undiscord Script to Delete All Discord Messages

Note: The steps shown below are for deleting Discord messages in DM. However, you can follow the same steps for removing messages in bulk from channels too.

1. Now that you’ve installed Tampermonkey and the userscript, it’s time to bulk delete all those unwanted messages. Open Discord on web and you’ll now see a new trash icon next to the usual Help icon. Check out the image below to spot the trash icon.

delete messages icon discord

2. Click on the ‘get’ buttons next to Authorization, Author, Guild/Channel to generate these fields. Authorization token generated here will give complete access to your account, so make sure you don’t share it with anyone.

get authorization and author id

3. If you prefer deleting messages from a specific time period, you can do that too. Click on Range and set the start and end dates.

set range for deleting discord messages

4. Click on the green ‘Start’ button to start bulk-deleting messages on Discord.

start undiscord

5. You’ll now get an in-browser prompt to confirm deleting messages. Click on ‘OK’ to confirm.

approve deleting discord messages

6. Now, all you have to do is wait for the script to do its magic. This could take a while depending on the number of messages. Once the process is done, you’ll see 100% in the progress bar and you can check the status in the log.

Delete Discord Messages log

And that’s it, you’ve successfully deleted Discord messages in bulk. If you have a lot of Discord message history, do not delete all of them at once. Instead, use the range tool to delete messages by month and do it in different intervals so that it doesn’t trigger Discord’s anti-spam mechanism. If you’re going to delete the account anyway, you’ve got nothing to lose and can purge all your previous Discord messages.

Remove Discord Messages in Discord Channel or DM Manually

1. If you’re new to Discord and wondering how to delete a message, here’s how you do it. Hover over a message and click on the horizontal three dots ‘More’ button.

more three dots menu

2. From the list of options, choose ‘Delete Message’.

delete message discord

3. When the confirmation pop-up appears, click on ‘Delete’ again to remove a message in DM or channel.

confirm Delete Discord Messages

Use Bots to Remove Discord Messages in Server

If you’re a server administrator, you can use bots to delete messages. While there are dedicated bots like CommandCleanup to do this, I’ll be using the popular MEE6 bot which also has delete functionality.

1. Add MEE6 bot to your Discord server. You can ignore this step if your server already has MEE6 bot. If you’re a Discord newbie, follow our guide to add bots to your Discord server.

mee6 add to discord

2. Use the command ‘!clear <number of messages>’ to delete a certain number of messages from a Discord channel. Do note that the maximum limit is 1000 messages and you can delete messages that are up to 2 weeks old.

clear command mee6

3. Soon after you send the command message, MEE6 bot will delete messages and show you a prompt to indicate that it has deleted the message.

delete confirmation

Clone Discord Channel to Purge Messages

1. If you want to quickly clear messages from a specific channel and you’re an admin of the server, you can simply clone the channel and delete the old one. To do this, right-click the existing channel and choose ‘Clone Channel’.

clone channels discord

2. Now, you can use the same name for the channel or slightly tweak it. After setting the name, click ‘Create Channel’.

create clone channel

3. Discord will clone the original channel with the same permissions and user limit. You can now delete the old channel by right-clicking and choosing ‘Delete Channel’.

delete old channel

4. When the pop-up appears, choose ‘Delete Channel’ again and you’re all set! You now have a clean new channel with the same participants.

delete old channel 2

Frequently Asked Questions

1. Does deleting Discord account delete messages?

Unfortunately, deleting your Discord account will not delete your message. The service will change the deleted account’s username to something like ‘Deleted User#0000’, but messages will stay. You can follow the steps here to manually bulk delete Discord messages before deleting your Discord account.

2. Is it safe to use bots to delete Discord messages?

Discord doesn’t recommend using self-bots to remove messages. However, you can use bots like MEE6 to remove messages that follow the company’s API guidelines.

3. Does deleting a message on Discord delete it for everyone?

Yes, deleting a message removes it for the sender and receiver. However, you can only delete your messages and can’t delete messages the other person has sent you.

4. Does blocking someone on Discord delete messages?

No, blocking someone on Discord will not remove messages. While the blocked person can no longer send you messages, they can still access the old chat history.

5. Can you permanently delete Discord chat history?

Yes, you can permanently delete Discord chat history using Undiscord script. Follow the steps in this detailed guide to remove old Discord messages.

Permanently Delete Discord Messages in Easy Steps

So, that brings us to the end of the guide to bulk delete Discord messages. As mentioned above, use the Undiscord script in moderation to keep your Discord account safe. Hopefully, these methods proved useful to you for cleaning up your Discord message history. In case you encountered any problems, or if you know of any other methods that aren’t mentioned here, do let us know in the comments.

Leave a Reply