A simple shell script to automatically clean up your message history on Discord. This software doesn't use self-bots which is labelled by Discord as a violation of its terms and can result in terminating your account. Instead, the manual process of deleting messages by a physical user is mimicked by simulating mouse and keyboard inputs.
These instructions will get you a copy of this project up and running on your local machine for usage, development or testing purposes.
- Clone the repository or download and extract the ZIP files:
git clone <SSH or HTTPS>
- Install the third-party software used in this project:
- xdotool - A command-line X11 automation tool used to simulate keyboard and mouse inputs:
$ sudo apt install xdotool
- Change the current working directory to your local copy of this repo:
$ cd /path/to/local/repo
- Execute the shell script and enter the number of messages you want to remove:
$ ./delete_DM
- When you finally activate a Discord window, your messages in the current channel will be removed.
- Ubuntu 18.04
- xdotool 3.20160805.1
See the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for more details.
A solution along the lines of Craig Snyder.