2016-08-17 23:01:32 +02:00
|
|
|
# Bot for [LBRY's Slack](https://slack.lbry.io)
|
2016-07-13 22:31:24 +02:00
|
|
|
|
2016-08-17 23:01:32 +02:00
|
|
|
Features:
|
|
|
|
|
|
|
|
- Tipbot for LBC. Responds to `!tip`.
|
|
|
|
- Posts mining info to #mining every few hours and anytime someone says `!hash`.
|
2016-07-13 22:31:24 +02:00
|
|
|
|
|
|
|
|
2016-07-13 22:32:51 +02:00
|
|
|
## Requirements
|
2016-07-13 22:31:24 +02:00
|
|
|
|
|
|
|
- node
|
|
|
|
- npm > 0.12.x
|
|
|
|
|
2016-07-13 22:32:51 +02:00
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
2016-07-13 22:31:24 +02:00
|
|
|
Create a bot and get the bot's API Token: https://YOURSLACK.slack.com/apps/manage/custom-integrations
|
|
|
|
|
2016-07-13 22:32:51 +02:00
|
|
|
Then run:
|
2016-07-13 22:31:24 +02:00
|
|
|
|
|
|
|
```
|
|
|
|
npm install
|
2016-07-13 22:32:51 +02:00
|
|
|
SLACK_TOKEN=<your-slack-token> CHANNEL=<channel-for-bot> node bot.js
|
2016-07-13 22:31:24 +02:00
|
|
|
```
|