Skip to main content

Tool to mass delete your Discord messages and reactions with filters and retention controls.

Project description

Delete Me Discord

PyPI Latest Release Pepy Total Downloads GitHub License

Delete Me Discord is a command-line tool for deleting your own Discord messages and reactions with explicit filters and retention controls.

The installed CLI is available as delete-me-discord and the shorter alias dmd.

⚠️ Using automated tools on Discord may violate Discord’s Terms of Service. Use at your own risk.

What It Does

  • Deletes your own messages in DMs and guild text channels.
  • Optionally deletes your own reactions too.
  • Lets you scope runs by channel, guild, or parent/category ID.
  • Supports dry-run previews before making changes.
  • Supports rolling cleanup with time- and count-based preservation.
  • Can operate in a buffered per-channel mode for clearer timing output in manual runs.

Installation

Choose one:

  • Python installs require Python 3.10 or newer.
  • pipx install delete-me-discord
  • pip install delete-me-discord
  • Download a prebuilt binary from the latest release
  • nix run github:janthmueller/delete-me-discord -- --help

More installation details: Installation docs

Quick Start

Export your token first:

export DISCORD_TOKEN=<your_token>

You can obtain your token using this guide.

Then discover targets safely:

dmd --list-guilds
dmd --list-channels

Preview a full wipe of one channel before executing it:

dmd --include-ids <channel_id> --delete-reactions --preserve-n 0 --preserve-last 0 --dry-run

Drop --dry-run only after the plan looks right.

If you want to share logs or screenshots, add --redact-sensitive. For example, --redact-sensitive 0 4 keeps only the last 4 characters of IDs while fully hiding names and local paths.

Common Use Cases

Full channel cleanup:

dmd --include-ids <channel_id> --delete-reactions --preserve-n 0 --preserve-last 0 --dry-run

Rolling retention:

dmd --preserve-last "weeks=2" --preserve-n 20 --fetch-max-age "weeks=2,days=1" --preserve-cache --dry-run

Documentation

The full documentation lives at:

Useful entry points:

For GitHub Actions usage, see the example workflow repo:

Contributing

Contributions are welcome. Open an issue or pull request with improvements or bug fixes.

License

This project is licensed under the MIT License. You are free to use, modify, and distribute this software as per the terms of the license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

delete_me_discord-1.9.0.tar.gz (38.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

delete_me_discord-1.9.0-py3-none-any.whl (48.8 kB view details)

Uploaded Python 3

File details

Details for the file delete_me_discord-1.9.0.tar.gz.

File metadata

  • Download URL: delete_me_discord-1.9.0.tar.gz
  • Upload date:
  • Size: 38.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for delete_me_discord-1.9.0.tar.gz
Algorithm Hash digest
SHA256 81aa0c44fce3efe0a86c4905f33f655c8a5bea48e2a78b0af1804996cdbba8ce
MD5 530b5372ee0d830824b704629844dcc5
BLAKE2b-256 66e174036a7d59f14c45d849e0fdf1cce51bee01da16393a57be039f738739d5

See more details on using hashes here.

File details

Details for the file delete_me_discord-1.9.0-py3-none-any.whl.

File metadata

File hashes

Hashes for delete_me_discord-1.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 76ed0a1bc50ed0a1b7e794155130fb19100557fb26986c55db5ae5b4a1659539
MD5 4a7a065be1cfd920e7dff883308dd07d
BLAKE2b-256 04703b08aac87ba9e8c29b93bade939a4df5e7300be494b8943eaa111dffdab2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page