r/coolgithubprojects • u/CompoteComfortable40 • 3d ago
I built a local Windows tool to actually clean up your Discord messages (and added a little mouse that deletes them for you)
Discord still doesn't give you a real way to bulk-delete your own message history or clean up old DMs/servers without sitting there clicking one by one. With how Discord handles privacy and data, you should at least be able to choose when to wipe your own messages, so I ended up building Mouscord.
It's a small open-source Windows app that attaches a cleanup sidebar straight into the Discord desktop client. Everything runs locally using your existing logged-in session, so it never reads or stores your token. You can filter by pretty much anything, your own messages, age ranges like age:>14d or age:1d-1y, links, media, multiple users (from:bot1,bot3), exact user IDs, regex, exclusions, and OR queries. You can also right-click any message in the list to filter/exclude that person or copy their user ID without even turning on Developer Mode.
If you're a server mod or owner with Manage Messages, it works for cleaning up other people's spam too. You can lock it onto a channel and switch to other DMs or apps while it cleans in the background, and it handles Discord's rate limits automatically (with a speed slider and a check at the end so nothing gets silently skipped). There's also an optional toggle to strip your own reactions from other people's messages, plus a little animated mouse with dissolve particles and snow rendered in a separate Direct3D 11 overlay so Discord doesn't lag.
It's MIT licensed and free on GitHub if anyone wants to try it or build it from source or just download the EXE: https://github.com/fateofficial/Mouscord
(Just a heads up: automating a user account is against Discord's ToS, so use it at your own risk.)
But I think privacy is a bigger concern.