https://github.com/srph/dota2-responses-slack-bot
A Slack bot referencing Dota 2 responses to appropriate chat messages.
https://github.com/srph/dota2-responses-slack-bot
dota2 slack slack-bot
Last synced: about 2 months ago
JSON representation
A Slack bot referencing Dota 2 responses to appropriate chat messages.
- Host: GitHub
- URL: https://github.com/srph/dota2-responses-slack-bot
- Owner: srph
- Created: 2016-01-31T08:09:31.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-11T20:27:39.000Z (over 10 years ago)
- Last Synced: 2025-01-26T17:16:04.241Z (over 1 year ago)
- Topics: dota2, slack, slack-bot
- Language: JavaScript
- Homepage:
- Size: 393 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## dota2-responses-slack-bot [](https://travis-ci.org/srph/dota2-responses-slack-bot)
A Slack bot referencing Dota 2 responses to appropriate chat messages.

## Setup
[](https://heroku.com/deploy)
1. Open up the deploy page (button link above) in a separate tab.
2. Go to your "Custom Integrations" page (`https://YOUR-TEAM.slack.com/apps/manage/custom-integrations`), and click the "Bots" link.
3. Add a new bot by clicking the "Add configuration" button. Fill up the necessary fields.
4. You should be able to see the *API Token* field. Copy the value of that field.
5. Save the integration.
6. Paste in the value of the *API Token* field to the *SLACK_API_TOKEN* field in Heroku. Fill up the remaining fields.
7. Press "Deploy for Free".
It should be working now. Happy spamming, people!
## Running
To contribute, you will need to create your own team and setup a bot as well.
```bash
npm i
npm run query
SLACK_API_TOKEN= npm run server
```
Note that it may take a long time the first around because we're querying the data from [Dota 2 Gamepedia](http://dota2.gamepedia.com/).
## Motivation
This project was motivated by [DotaResponsesRedditBot](https://github.com/Jonarzz/DotaResponsesRedditBot) by [Jonarzz](https://github.com/Jonarzz).