Mass Discord Message Remover / Deleter Script – Remove Lots of Instant Messages

With this script, you can automate the removal of a massive quantity of discord messages (everything back to a channel’s origin, if wanted), including in personal channels. I used it personally to delete a conversation with over a year of messages. There were no problems after the proper modifications.

You will need Tampermonkey. This is an extension for your favorite browser that will allow you to run custom JavaScript.

Next, visit the delete discord messages repository. You will need to click the ‘userscript.js‘ file listed upon visiting the url. Copy everything (CTRL + A / CTRL + C) and install it. The script obviously does nothing malicious but you can also take this opportunity to verify for yourself.

To use, click the trash can icon in the channel or DM you want to delete and press “START”.

You can also add a ‘before message id’ or ‘after message id’ to control how much you delete.

The script will try to respect Discord’s limits as much as possible, backing off as necessary when Discord errors. I cannot promise you will not be banned for selfbotting or something, but I have used it many times and my account is fine. Just to be safe you shouldn’t be doing anything else on your account while the script is deleting (it will also slow down and cause problems anyway). AFAIK this doesn’t violate anything in terms of service but use at your own risk, as always.

Quick Links to My Stuff
Published 2022-03-06 20:55:47