Slack Deleter

Python CLISep 2020–Sep 2020

Screenshot or cover image from Slack Deleter

Project description

CLI tool to bulk delete messages from a Slack workspace.

Born from a need to cleanup channels before team handovers, and a curiosity to experiment with Slack's API and Slack app development, I wrote this Python CLI.

The tool allows two modes:

  • Delete messages by list of IDs.
  • Delete messages between specified timestamps.

Technical overview

  • Python is used as the programming language, and the standard library argparse to build the CLI.
  • The slackclient package (succeeded by Slack SDK) provides Python bindings for the Slack API.

Also, poetry is used for dependency management.