A simple web interface to easily purge messages you sent with Discord. Supports DM channels, group DM channels and guilds channels.
It is a shame that this cannot be done natively in Discord.
Note: This is automating Discord tasks, and can be seen as a self-bot, which is unallowed by Discord TOS. You might get your account banned (never happened to me, yet, even though I deleted 10s of thousands of messages with it).
Copy .env.example
to .env
and fill its configuration (see Finding your Discord token as a user).
Install dependencies
yarn
Start the server
yarn start
Now you can go to http://localhost:3000/ to purge your messages.
- Open the Discord client console with
Cltr + shift + i
- Open the "Network" tab and send a message in any channel
- Click on the newly added entry in the network calls list
- The
Authorization
response header value is your token!
Youtube: https://youtu.be/MX-m28FHUTo