This script (probably) deletes all your Slack messages, for all channels in a given Slack Workspace. It is intended to be run from the Chrome Devtools console.
- Get an API token for a given workspace from: https://api.slack.com/legacy/custom-integrations/legacy-tokens
- Replace the API token on line 1 with the one you received from the page in step 1.
- Navigate to the web client for your Slack Workspace.
- Paste the whole thing into your Chrome Devtools console and execute it.
- You'll now have an async function called
fuckMeUpFam
in the global scope. Invoke it, passing in your Slack display name. E.g. if you get @-replied as "Jeff Gravy", you would invokeawait fuckMeUpFam("Jeff Gravy")
in the console.