This article was co-authored by wikiHow staff writer, Rain Kengly. Rain is a tech writer and editor for wikiHow with over 5 years of professional writing experience. In the past, Rain has worked with other creative writers as a Writing Tutor at San Francisco State University and has published gaming features, guides, and news articles for a variety of media outlets. Rain shares a lifelong passion for writing and gaming and is eager to grow alongside new tech inventions.
This article has been fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources.
This article has been viewed 80,134 times.
Learn more...
On Discord, you can only delete direct messages you've sent to other people, as well as messages you've shared in a server channel. You can't delete messages sent by someone else unless you're a server moderator with the "Manage Messages" permissions. You can also use a bot or script to wipe a Discord chat channel. Here's how to delete a message in Discord on a PC or Mac.
Quick Steps
- Navigate to a chat.
- Hover over the message you want to delete.
- Click ••• next to the message.
- Click Delete Message.
- Click Delete.
Steps
Deleting Direct Messages
-
Navigate to a Direct Message. To find a list of your open DMs, click the Discord icon in the top-left corner. Select a user from underneath the Direct Messages header.
-
Hover your mouse over the message you want to delete. Some icons will appear on the right side of the screen (parallel to the message).Advertisement
-
Click ••• . It's one of the icons on the right side of the message. A menu will open.
- You can also right-click the message to open this menu.
-
Click Delete Message on the menu. A confirmation message will expand, asking if you're sure you want to delete the message.
- If you just want to rephrase what you said, you can edit the message instead of deleting it. To do so, click Edit Message to open the message for editing, make your changes, and then press Enter or Return to save it.[1]
-
Click the red Delete button to confirm. The selected message is now removed from the conversation.
- Neither you nor the other parties involved in the conversation can see the message now that it's been deleted.
- Once you delete a message in a Direct Message, it is gone forever. There is no way to restore it. However, keep in mind that the other party may have taken a screenshot beforehand.
Deleting Channel Messages
-
Navigate to a server channel. You'll see a list of all joined servers on the left side of Discord. Once you select a server, click the channel with the message you want to delete.
-
Hover your mouse over the message you want to delete. Some icons will appear on the right side of the screen (parallel to the message).
-
Click ••• . It's one of the icons on the right side of the message. A menu will open.
- You can also right-click the message to open this menu.
-
Click Delete Message on the menu. A confirmation message will expand, asking if you're sure you want to delete the message.
- If you just want to rephrase what you said, you can edit the message instead of deleting it. To do so, click Edit Message to open the message for editing, make your changes, and then press Enter or Return to save it.
-
Click the red Delete button to confirm. The selected message is now removed from the conversation.
- Neither you nor the other parties involved in the conversation can see the message now that it's been deleted.
- Once you delete a message in a server, it is gone forever. There is no way to restore it. The only exception is if an admin placed a bot on the channel that tracks deleted messages, they may be able to use bot commands to view deleted messages.
Using a Bot to Clear Chat
-
Add the MEE6 bot to your Discord server. You must have the proper permission to add a Discord bot. Be sure to give MEE6 a moderator role so it's allowed to delete messages.
- Keep in mind that MEE6 can only delete messages within the past 2 weeks.
- MEE6 is a popular bot, but you can use any Discord bot that is programmed to delete messages.
-
Navigate to the channel. MEE6 can clear the last 100 (or more) messages in a text channel at once.
-
Type !clear 100 and press ↵ Enter. This will send the command to MEE6, which will then delete the last 100 messages in the text channel.
- Repeat this step as many times as needed or in other channels as needed.
Using a Script to Clear Chat
-
Download and set up AutoHotKey. AutoHotkey allows you to program different actions using a script. You can download the installer from the official website. Then, run the installation file to set it up.
- This method will only work on Windows devices.
-
Create a new AutoHotkey script. To do this, right-click your desktop, hover over New, and select AutoHotkey Script.
-
Right-click the file and select Edit Script. This should open the script in a Notepad file.
- If it doesn't open in Notepad, right-click the file, select Open with, and select Notepad.
-
Replace everything in the script with the code. Select everything in the script and delete it so you have a blank slate.[2] Then, copy and paste the following code:
t:: Loop, 100000 { send, {Up} send, ^a send, {BS} send, {Enter} send, {Enter} sleep, 100 } Return
-
Save the file. You can name the file anything.
-
Launch Discord and navigate to the chat. This script can delete messages from a Direct Message or server channel.
-
Press T to start deleting. The script will start deleting messages in bulk. Do not use your keyboard or move away from Discord while this is happening.
-
Click H and select Pause Script. The H will be on the right side of your taskbar. The script will stop, and the messages will be deleted.
Expert Q&A
Tips
-
If you edit a message, the word "Edited" will appear beneath it so others know the message has been edited.Thanks
-
You can remove a DM conversation from your inbox by hovering your mouse cursor over the conversation and clicking the X. This doesn't delete the conversation, but it does hide it from your view.Thanks
References
About This Article
1. Hover the mouse cursor over the message.
2. Click the three dots.
3. Click Delete.
4. Click Delete to confirm.