https://github.com/brianpeiris/deletebot
Deletebot deletes messages from your Slack channel. It can be used to create readonly channels
https://github.com/brianpeiris/deletebot
Last synced: 10 days ago
JSON representation
Deletebot deletes messages from your Slack channel. It can be used to create readonly channels
- Host: GitHub
- URL: https://github.com/brianpeiris/deletebot
- Owner: brianpeiris
- License: mit
- Created: 2016-07-19T03:21:14.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-19T09:13:07.000Z (almost 10 years ago)
- Last Synced: 2025-02-24T09:17:51.825Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# deletebot
[](https://github.com/feross/standard)
Deletebot deletes messages from your Slack channel. It can be used to create readonly channels.
### Install
```shell
$ npm install
```
### Copy `.env-example` to `.env`
```shell
$ cp .env-example .env
```
### Configure
```shell
# Must be an admin token.
SLACK_TOKEN=xoxb...8WRqKWx
NODE_ENV=development
PORT=3000
```
### Run
```shell
$ npm start
deletebot LIVES on PORT 3000
```
Visit [localhost:3000](http://localhost:3000).
### Deploy
[](https://heroku.com/deploy)
_Or with the [Heroku Toolbelt](https://toolbelt.heroku.com)_
```shell
$ heroku create {optional-app-name}
Creating app... done, stack is cedar-14
https://blooming-scrubland-64464.herokuapp.com/
$ git push heroku master
...
remote: -----> Node.js app detected
...
remote: https://blooming-scrubland-64464.herokuapp.com/ deployed to Heroku
...
To https://git.heroku.com/blooming-scrubland-64464.git
* [new branch] master -> master
$ heroku open
```
### Credits
Based on https://github.com/mattcreager/starbot