diff --git a/README.md b/README.md index e15dfbc..82f7489 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ This script uses Discord's undocumented User API, which has no official public d **Self-botting is explicitly forbidden by the Discord Trust & Safety Team and can result in an account termination if found**. Therefore, it's not unlikely that **using this script may incur a ban on your account.** Discord's explicit condemnation of self-botting can be found [here](https://support.discord.com/hc/en-us/articles/115002192352-Automated-user-accounts-self-bots-). # About -`purge_discord.py` is a Discord self-botting Python script that allows the user to programmatically mass-delete all of the messages that they sent in a given Discord channel, including servers, DMs, & group chats via the Discord User API. It is primarily designed to be ran from a command-line, with the URL ~~or ID~~ of a channel being passed to the script as arguments. +`purge_discord.py` is a Discord self-botting Python script that allows the user to programmatically mass-delete all of the messages that they sent in a given Discord server, including DMs & group chats, via the Discord User API. It is primarily designed to be ran from a command-line, with the URL of a channel being passed to the script as arguments. The purpose of the script is to enhance the user's control over their private information on Discord. Discord is not a social media platform with strong privacy practices, and I firmly believe that an individual should have the right to remove their data from any given platform quickly & easily at will. At present, there is no way to delete all of your messages from Discord. Not even deleting your account will remove your messages from the platform, and they will still be visible permanently. Deleting your account is in this sense worse for your privacy, as you lose control over your messages; Once you delete your account, you will permanently lose the ability to delete any of your messages, meaning that any information you revealed in those messages is now permanently public information. @@ -40,16 +40,17 @@ To get usage information, you can run the script with no arguments. The usage in ``` The output should be as follows: ``` -Usage: ./purge_discord.py [OPTION]... [ARGUMENT]... -Delete all the user's messages in the given Discord channel. -The channel may be specified using one of the following options: - -u, --channel-url delete messages in the channel corresponding to the supplied URL +usage: purge_discord.py [-h] -u CHANNEL_URL + +Script to delete all a user's messages in a given Discord server + +options: + -h, --help show this help message and exit + -u, --channel-url CHANNEL_URL + URL of a channel in the server ``` -~~The script can be ran either by supplying the channel ID or the channel URL. To get the ID of a channel, right-click on it in Discord and click the "Copy channel ID" option in the context menu. The ID can then be passed to the script as follows:~~ This feature has been temporarily removed due to changes in the Discord API. -```bash -# ./purge_discord.py -i 1234567890123456789 # REMOVED -``` -Alternatively, the script can be ran by supplying the channel URL. This is the URL that is shown in the address bar of your browser when you navigate to that channel in the web version of the Discord application. The URL can be passed to the script as follows: + +The URL is the one that is shown in the address bar of your browser when you navigate to that channel in the web version of the Discord application. The URL can be passed to the script as follows: ```bash ./purge_discord.py -u https://discord.com/channels/@me/1234567890123456789 ```