Adds a button to the Discord browser UI to mass delete messages from Discord channels and direct messages
website / greasyfork / github
mass delete all discord messages from any dm or channel
download a userscripts manager (eg. ViolentMonkey)
Note: Chrome users: ViolentMonkey is unsupported due to extension Manifest V2 deprecation. A temporary workaround is needed: steps to allow legacy extension manifest version flag
trash icon
in top right-hand cornerget
buttons in the popupstart
buttonprevent automatically sleeping on power adapter
(optional -> see note below)Note: I recommend you skim through the entire chat to confirm if all messages are deleted. If not simply re-run until all done (sorry this is a bug - its not perfect, but still better than manually deleting single msgs imo)
re-enable allowing computer to sleep
(optional -> see note below)Note: you only need to prevent sleep if you have a lot of messages to delete and/or will likely not be using your computer the whole time (ie. display turns off and computer sleeps) (instructions for macOS, please google and share for other OS)
self-explanatory. refer to the forked wiki if you need more info
find message ids
by right-clicking them
adjust delay
in ms to test for optimal deletion rate
Range
before date
after date
After message id
Before message id
Search Delay
rec: 1000Delete Delay
rec: 800Search messages
Containing Text
Has: Link
Has: File
Include Pinned
i adhere to the original creator's Privacy Policy
discord explicity prohibits the use of unauthorized third-party scripts through their TOS. so, usage of this script can result in consequences such as account suspension, bans, etc. personally haven't had issues but, please use at your own risk.