Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tasshi-me/slack-bot-message-cleaner
Delete slipped bot messages in Slack
https://github.com/tasshi-me/slack-bot-message-cleaner
cleaner slack
Last synced: 25 days ago
JSON representation
Delete slipped bot messages in Slack
- Host: GitHub
- URL: https://github.com/tasshi-me/slack-bot-message-cleaner
- Owner: tasshi-me
- Created: 2020-05-01T17:30:15.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-12-07T05:48:53.000Z (about 1 month ago)
- Last Synced: 2024-12-07T06:27:18.126Z (about 1 month ago)
- Topics: cleaner, slack
- Language: TypeScript
- Homepage:
- Size: 383 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# slack-bot-message-cleaner
[![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg)](https://github.com/RichardLitt/standard-readme)
> Delete slipped bot messages in Slack
## Table of Contents
- [Which messages are deleted?](#which-messages-are-deleted)
- [Install](#install)
- [Usage](#usage)
- [Contribute](#contribute)
- [License](#license)## Which messages are deleted?
Match to all of followings
- from bot account (has bot id)
- no reactions
- no replies
- no pinning
- no star## Install
```shell
$ yarn
```## Usage
```shell
$ SLACK_TOKEN=
$ CHANNELS=
$ yarn start
```You need Slack `User OAuth Token` with following permissions
- channels:history
- channels:read
- chat:write
- files:read
- groups:history
- groups:read
- im:history
- im:read
- mpim:history
- mpim:read## Contribute
PRs accepted.
## License
MIT © mshrtsr