Skip to content

A simple shell script to automatically clean up your message history on Discord

License

Notifications You must be signed in to change notification settings

martcram/discord_cleanup_msgs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Clean up Discord message history

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.

Getting started

These instructions will get you a copy of this project up and running on your local machine for usage, development or testing purposes.

  1. Clone the repository or download and extract the ZIP files:
git clone <SSH or HTTPS>
  1. 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
    
  1. Change the current working directory to your local copy of this repo:
$ cd /path/to/local/repo
  1. Execute the shell script and enter the number of messages you want to remove:
$ ./delete_DM
  1. When you finally activate a Discord window, your messages in the current channel will be removed.

Tested with:

  • Ubuntu 18.04
  • xdotool 3.20160805.1

Authors:

See the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for more details.

Acknowledgments

A solution along the lines of Craig Snyder.

About

A simple shell script to automatically clean up your message history on Discord

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages