How to delete all messages in a discord channel

Sharing your authToken on the internet will give full access to your account! There are bots gathering credentials all over the internet. If you post your token by accident, LOGOUT from discord on that same browser you got that token imediately. Changing your password will make sure that you get logged out of every device. I advice that you turn on 2FA afterwards.

If you are unsure do not share screenshots, or copy paste logs on the internet.


DISCLAIMER: THE SOFTWARE AND ALL INFORMATION HERE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

By using any code or information provided here you are agreeing to all parts of the above Disclaimer.

Go to the MEE6 website and authorize the bot to work on your channel. To do that, you first have to select your server.

How to delete all messages in a discord channel
How to delete all messages in a discord channel

Step 2

 Check all the boxes here. You will have to give the bot permission to access everything you need from your Discord channel.

How to delete all messages in a discord channel
How to delete all messages in a discord channel

Step 3

Once you authorize, you can go ahead and download the bot. Install it by following all the instructions. Now open your Discord channel and type in the following command in the same place where you type in a regular message. Write “!clear 1000” to delete 1000 messages in your channel.

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.

Table of Contents

  • Delete All Messages in Discord Channel or DM
    • Install Browser Extension to Manage User Scripts
    • Install Undiscord Script
    • Steps to Use Undiscord Script to Delete All Discord Messages
  • Remove Discord Messages in Discord Channel or DM Manually
  • Use Bots to Remove Discord Messages in Server
  • Clone Discord Channel to Purge Messages
  • Frequently Asked Questions
    • Does deleting Discord account delete messages?
    • Is it safe to use bots to delete Discord messages?
    • Does deleting a message on Discord delete it for everyone?
    • Does blocking someone on Discord delete messages?
    • Can you permanently delete Discord chat history?

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

How to delete all messages in a discord channel

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.

How to delete all messages in a discord channel

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.

How to delete all messages in a discord channel

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.

How to delete all messages in a discord channel

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.

How to delete all messages in a discord channel

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.

How to delete all messages in a discord channel

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

How to delete all messages in a discord channel

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

How to delete all messages in a discord channel

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.

How to delete all messages in a discord channel

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.

How to delete all messages in a discord channel

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

How to delete all messages in a discord channel

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

How to delete all messages in a discord channel

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.

How to delete all messages in a discord channel

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.

How to delete all messages in a discord channel

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.

How to delete all messages in a discord channel

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

How to delete all messages in a discord channel

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

How to delete all messages in a discord 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’.

How to delete all messages in a discord 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.

How to delete all messages in a discord channel

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.

How do you clear all chat in Discord channel?

How do I delete all messages in a Discord DM?.
Click on the first message you'd like to delete. Then, click the Up Arrow to highlight the message. ... .
Click the Backspace button (or the Delete button on a Mac). ... .
Repeat the process for each message you've sent..

Can you clear a whole channel in Discord?

Follow these steps to manually delete all channel messages: Open the text channel that has the message you want to delete. Hover over the message until the three-dot icon appears on the far right. Click on the icon, then select Delete from the menu.

How do I delete all messages in a channel Discord mobile?

Part 3: How to Delete Channel Messages in Discord?.
Select the Chat panel that you want to delete..
Hover your cursor over the messages you wish to delete..
A three-dot icon will appear on the right side of the message..
Click on the icon, and a pop-menu will show..
On the pop-up menu, select 'Delete'.

What is the fastest way to delete all messages in a Discord server?

Delete all messages in a Discord channel or DM.
Open Discord in a browser like Chrome or Firefox;.
Open DevTools pressing F12 or ⌘ command + option + J ;.
Copy the deleteDiscordMessages. js script and paste it in the Console, then press ENTER ;.
A window will be opened, fill the variables and click the START button..