---
name: undiscord-message-wiper
description: Use when you say you want to wipe your own Discord messages or bulk delete messages in a Discord channel or DM; it walks you through installing the Undiscord userscript in your browser and using its delete panel safely.
---
# Wipe your own Discord messages with Undiscord
## What it does
Undiscord is a free, open source userscript that deletes all messages in a Discord server, channel or direct message (bulk deletion). You run it in your browser on discord.com. It adds a trash button in the top right corner of Discord, with fields for Author ID, Server ID and Channel ID, and a delete button that starts the wipe.
The project also ships help pages for the parts of the panel: auth token, author ID, channel ID, message ID, delay, filters, developer mode, and an older copy/paste method documented in the wiki.
This deletes your messages permanently. Discord says automated user accounts (self-bots) are not allowed, and the project warns that any tool automating actions on a user account could result in account termination. Use it at your own risk, only on your own account and your own messages, and within Discord's terms. Start with one small channel before a large wipe.
## What you need
- A desktop browser with a userscript manager extension. The README recommends Brave browser because of Chrome manifest V3 changes.
- One of these userscript managers:
- Brave or Chrome: Violentmonkey or Tampermonkey
- Firefox: Greasemonkey, Tampermonkey or Violentmonkey
- Opera: Tampermonkey or Violentmonkey
- Edge: Tampermonkey
- Your Discord account, opened in the browser (not the desktop app).
Nothing to buy. Node 18+ is only needed if you want to build the script from source yourself.
## Setup
There is nothing to install on the command line. These are the six steps from the README.
1. Install a userscript manager extension (skip if you already have one):
```text
Violentmonkey (Chrome/Brave): https://chrome.google.com/webstore/detail/violent-monkey/jinjaccalgkegednnccohejagnlnfdag
Tampermonkey (Chrome/Brave): https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo
Violentmonkey (Firefox): https://addons.mozilla.org/firefox/addon/violentmonkey/
Tampermonkey (Firefox): https://addons.mozilla.org/firefox/addon/tampermonkey/
Greasemonkey (Firefox): https://addons.mozilla.org/firefox/addon/greasemonkey/
Tampermonkey (Edge): https://microsoftedge.microsoft.com/addons/detail/tampermonkey/iikmkjmpaadaobahmlepeloendndfphd
Brave browser: https://brave.com/download/
```
2. Install Undiscord from GreasyFork (recommended; the OpenUserJS copy is not receiving updates):
```text
https://greasyfork.org/en/scripts/406540-undiscord-delete-all-messages-in-a-discord-channel-or-dm-bulk-deletion
```
3. Open Discord in your browser, not the app, and go to the channel or direct message you want wiped:
```text
https://discord.com/channels/@me
```
4. Click the trash button that was added in the top right corner.
5. Click the buttons near Author ID, Server ID and Channel ID to fill them in.
6. Click the delete button to begin wiping.
Safety notes from the project:
- Never share your auth token. Sharing it gives full access to your account. If you post it by accident, log out of Discord in that same browser immediately, change your password so every device is logged out, and turn on 2FA.
- Do not post screenshots or logs of the panel in public.
- Running third-party scripts means trusting the author. The script source is in this repo (`deleteDiscordMessages.user.js` and `src/`), so you can read it before installing.
For options the README does not cover, see the help pages in the repo (`help/`) and the wiki: https://github.com/victornpb/undiscord/wiki
## How to use it with Claude
- "Walk me through the six Undiscord steps for wiping my own Discord DM."
- "Which userscript manager should I install for Firefox, and why does the project recommend Brave?"
- "Where is the trash button in Discord and what do the Author ID, Server ID and Channel ID fields do?"
- "Explain the Undiscord help pages for delay and filters before I start a big wipe."
- "Remind me what to do if I accidentally shared my Discord auth token."
- "What are the risks of self-bots and account termination with a tool like this?"
## Credits
Made by victornpb (Undiscord), packaged by Orbit. Source: https://github.com/victornpb/undiscord — license: MIT per package.json (GitHub reports the license as NOASSERTION; see the repo's LICENSE file).