Skip to content

bboe/deslackify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c67a3f9 · Jul 17, 2021

History

21 Commits
Mar 12, 2019
Mar 12, 2019
Mar 12, 2019
Mar 12, 2019
Feb 24, 2019
Feb 24, 2019
Feb 24, 2019
Feb 25, 2019
Mar 12, 2019
Feb 24, 2019
Mar 12, 2019
Mar 12, 2019

Repository files navigation

deslackify

A tool to remove your own slack messages.

Installation

pip install deslackify

Obtaining Slack Legacy Token

Generate a token via: https://api.slack.com/custom-integrations/legacy-tokens

Running

deslackify --token TOKEN USERNAME

By default deslackify will remove USERNAME's messages that are more than a year old. You may also manually specify a before date via:

deslackify --token TOKEN --before YYYY-MM-DD USERNAME

Note: If no results are found, you may need to replace USERNAME with USERID. You can find the USERID by going to Profile & Account, and then clicking the three dots, and at the bottom, "Copy member ID".