Remove all of your messages from a given Discord guild (server) or a DM (direct message) channel.
$ npm install
$ yarn
$ node index.js
And follow the on-screen instructions.
- Log into your Discord account in the browser. https://discordapp.com/login
- Open the developer tools (press: Ctrl + Shift + I [on PCs] or Command + Shift + I [on Macs]).
- Open the Application tab.
- Select Local Storage from the left sidebar.
- Click on an entry containing 'discordapp.com'.
- Find the row that contains 'token' in the table on the right side.
- Your token is the value (without the double quotes!) on the right side of the table.