Skip to main content

Bulk delete messages/files on Slack.

Project description

# slack-cleaner

Automatically delete messages on Slack.

## Install

```bash
pip install slack-cleaner
```

## Usage

```bash
# Delete all messages from a channel
slack-cleaner --token=<TOKEN> --messages --channel general

# Delete all messages from certain user
slack-cleaner --token=<TOKEN> --messages --channel gossip --user johndoe

# Delete all messages from bots
slack-cleaner --token=<TOKEN> --messages --channel auto-build --bot

# Delete all messages older than 2015/09/19
slack-cleaner --token=<TOKEN> --messages --channel general --before 20150919
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slack-cleaner-0.1.1.tar.gz (4.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page