Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

RemoveCord

Free open source Tampermonkey userscript to delete Discord messages in a server you own or can moderate.

RemoveCord is a working UnDiscord alternative. The original UnDiscord userscript no longer works reliably on current Discord. The UnDiscord Chrome extension also does not appear to support server-wide wipes. RemoveCord is built for Discord servers in the web app: scan a member, estimate the wipe, then delete.

License: MIT Userscript GitHub issues

Keywords: Discord message deleter, Discord bulk delete, wipe Discord messages, Tampermonkey Discord script, UnDiscord alternative, UnDiscord not working, delete my Discord messages, Discord server cleanup, Greasemonkey Discord, Violentmonkey Discord.

Why RemoveCord instead of UnDiscord

Tool Status Servers
UnDiscord userscript (GitHub) Often broken on current Discord Designed for channels and DMs, but the upstream project is stale
UnDiscord Chrome extension Still listed on the Web Store Does not appear to support wiping a Discord server
RemoveCord Active MIT userscript Built for server wipes in discord.com

If you searched for "UnDiscord not working", "UnDiscord broken 2026", or "delete all Discord messages in a server", this is the tool that still runs in Tampermonkey.

Features

  • Red trash can button next to Inbox and Help in the Discord web toolbar
  • Wipe your own messages, or another member if you have Manage Messages
  • Entire server or current channel only
  • Scan first: message count, date range, channels, files, and a time estimate
  • Fast deletes: bulk delete for messages newer than 14 days, quick one-by-one for older ones
  • Rate-limit backoff when Discord returns 429
  • Uses your logged-in browser session (no pasted token, no prefilled user IDs in the script)
  • Works on discord.com, PTB, and Canary

Install

  1. Install Tampermonkey (Chrome, Firefox, Edge, Brave, Safari).
  2. Open the raw script: RemoveCord.user.js
  3. Tampermonkey should prompt Install. Confirm.
  4. Open https://discord.com in the browser (not the desktop app) and reload.

Violentmonkey and similar managers that support Tampermonkey-format userscripts should work the same way.

How to use

  1. Open a Discord server channel in the browser.
  2. Click the red trash can next to Inbox.
  3. Leave the user ID empty and click Me, or search a username, or paste a Discord user ID yourself.
  4. Optional: check Only this channel.
  5. Click Scan and read the report (count, newest or oldest dates, channels, estimated time).
  6. Click Wipe and confirm. Use Stop to halt after the current request.

The script never ships with someone else's server ID, user ID, or token. You choose the target each time.

Risks (read this)

RemoveCord is free and open source (MIT). You run it at your own risk.

  • Discord Terms of Service. Automating the Discord client can violate Discord's rules (self-bots and unofficial clients). Discord can warn, rate-limit, lock, or disable your account.
  • Irreversible. Deleted messages are gone. There is no undo.
  • Permission and law. Only wipe messages you are allowed to delete. Server-wide deletes of another person need Manage Messages (or ownership). Do not use this to harass anyone or destroy data you do not control.
  • Session safety. The script talks to Discord's API with your logged-in session. Never paste a token into a random site. Never share HAR captures, cookies, or screenshots that show Authorization headers.
  • Rate limits. Going too fast can trigger 429s or flags. The script backs off, but it cannot make Discord safe.
  • Not affiliated with Discord Inc. Discord is a trademark of Discord Inc.
  • No warranty. See the MIT license. Authors are not liable for bans, lost messages, or anything else that happens when you use this.

If you are not comfortable with those risks, do not install it.

How it works

RemoveCord injects a toolbar button on discord.com. It reuses the same official HTTP APIs the Discord web app already uses:

  • GET /guilds/{guild.id}/messages/search?author_id=... to find messages
  • POST /channels/{channel.id}/messages/bulk-delete for recent messages (up to 100, under 14 days old)
  • DELETE /channels/{channel.id}/messages/{message.id} for older messages

It does not store your token in the repo and does not phone home.

Requirements

  • Discord web (desktop app will not run Tampermonkey)
  • A logged-in Discord account
  • For another member's messages: Manage Messages on that server
  • For your own messages: you can always delete those

FAQ

Does this work if UnDiscord is broken?
That is the point. Upstream UnDiscord has not kept up with Discord's current web client. RemoveCord targets today's search and delete endpoints and a current toolbar.

Does the UnDiscord Chrome extension wipe a whole server?
It does not appear to. RemoveCord is built for server scope (or one channel if you check the box).

Do I paste my token?
No. Use Discord in the same browser tab. Click Me or enter a user ID when you need one.

DMs?
This version is for servers. Open a server channel first.

Can I get banned?
Yes. Treat that as possible, not theoretical.

Contributing

Issues and pull requests are welcome. Keep diffs small. Do not commit tokens, HAR files, cookies, or personal Discord IDs.

License

MIT. Free to use, copy, and modify. No warranty.

About

Free open source Tampermonkey script to delete Discord messages in a server. Working UnDiscord alternative when the userscript is broken and the Chrome extension does not support servers.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages