How to Delete Your Reddit and Discord Data

Just wanted to share Discrub for wiping your discord messages, DMs, etc. It does a good job but takes a long time to avoid being ratelimited. If you leave “channel” empty it will remove data from an entire server.

You can also request your data from Discord and submit that file to the extension - it’s not clear to me if these deletes messages from servers you are no longer in (that would be great.)

For reddit, I used Ereddicator. I was unwilling to pay for a service like Shreddit so I found this. It’s not quite as easy and requires setup. reddit->settings->preferences->apps and then you make a new app with type “script.” You put http://localhost:8080 as redirect url, copy the two strings of random letters, the first one is client ID, second one is your client secret. You modify this:

client_id = YOUR_CLIENT_ID
client_secret = YOUR_CLIENT_SECRET
username = YOUR_USERNAME
password = YOUR_PASSWORD
# Leave as None if you don't use two-factor authentication
two_factor_code = None

in reddit_credentials.ini in the same directory as the script, replacing the YOUR_CLIENT_ID etc with your info.

In the script directory, you need to run python3 -m venv venv, source venv/bin/activate to activate the python virtual environment, then pip install praw and tkcalendar so you have the dependencies. Then chmod+x main.py, run it, and when the pop up appears, check what options you want for what to delete/unsave/unhide etc. Before you run it you should request your reddit data from Reddit so that you won’t lose anything important. You can also whitelist subreddits to avoid deleting content submitted to those.

It will take a long time especially if you randomize your comments before deletion. I did this as I wanted to make sure there was no personal data remaining, but if this is not a concern you can just delete which will be much faster. I recommend doing a few passes with just delete to make sure you get everything, then do a pass to unsave/unhide stuff. Upvotes/downvotes are not worth doing as many older posts will be archived and you can’t change your votes on them so attempting to do so is a waste of time.

You should also attempt to remove your data from reddit mirrors here and here. If they respect your request or not, who knows.

Total views for How to Delete Your Reddit and Discord Data