Install the package from the AUR using your favourite AUR helper:
yay -S discord-mass-redact- On the right side, click on Releases and find the version you would like to install (presumably the latest one).
- Download the corresponding archive for your platform and architecture.
If you don't know what you're doing, you probably have x86_64.
- Extract the archive.
- Open a console window.
- Run the contained executable.
If you are somehow on a non-supported platform or wish to compile from scratch, follow these steps:
- Open a command prompt and navigate to some temporary folder.
- Clone this repository:
git clone https://github.com/BioTomateDE/DiscordMassRedact - Navigate into the cloned repository:
cd ./DiscordMassRedact. - Install Rust Cargo if you haven't already.
- Build the program:
cargo b -r. - The built program binary is now located in
./target/release/discord-mass-redact.
- In Discord, go to Settings → Data & Privacy.
- Request to download all of your data.
- After approximately 2 days (it may take longer), you should get an email from Discord containing your data.
- Download and extract the zip file from that email.
- Obtain your discord token (just google "how to get my discord token").
- Open a terminal and navigate to the folder where the downloaded/built program is located. (Skip this step if installed via AUR)
- Run the program by typing
./discord-mass-redact YOUR.DISCORDTOKEN C:/Users/YourUsername/Downloads/package/ some-deletion-mode.You must replace the arguments with your discord token, the correct path to your discord data export and your desired mode respectively. Type
./discord-mass-redact --helpfor more information. - The program should function properly now. It might take a while to edit all messages because Discord has a slow rate limit for editing old messages (probably to prevent mass redacts like this).
There are different modes on how messages should be redacted. You can choose one of the following:
- Delete: Deletes the entire message.
- Shakespeare: Overwrites the message's content to a quote from one of Shakespeare's works of similar length.
- Random words: Replaces the message content with rubbish sentences. This is no longer available due to it sucking ass. If there is demand for this mode, I will add it back.
There are some options you can choose from.
To list them, run the executable with the --help flag.
All contributions are welcome! Whether that's a pull request, a bug you found or a feature you wish for.
By contributing, you agree to:
- License your contributions under this project's license
- Certify you have the right to submit the code
- Allow the project maintainer to use your contributions