/SlackDeleteMessages

Script to delete all your slack messages (in the last X<1000 messages sent) in the chosen channel

Primary LanguagePythonMIT LicenseMIT

Objective: Delete your slack messages that are in the last X sent in the chosen channel.

Use:

1. Create a token in [Legacy Tokens](https://api.slack.com/custom-integrations/legacy-tokens);
2. Copy the token to slackDeleteMessages.py:7;
3. Change the variable count (slackDeleteMessages.py:8) to be the desired value of X (default = 1000);
4. Run the script
5. Input the index of the channel where the messages you want to delete are (from the printed list)
6. Done