CSAS Slack BOt is open source itegration into Slack messaging app. CSAS BOT was created as an example application for ČSAS WebApi service integration.
To use CSAS BOT you need account on Slack messaging app, have at least two free integrations left in your Slack team.
Furthermore you need to generate web api key from WebApi developer portal.
- Deploy repository on server (for example to Heroku)
- Add Slash Commands integration into your Slack team
- Set command
/csbot
and POST url<your server url>/csbot
- Set command
- Add Incoming WebHook integration into your Slack team
- Set Environmental variables
CSAS_WEB_API_KEY
=<api key from WebApi service>
CSBOT_SLACK_TOKENS
=<slack_token1=hook_url1;slack_token2=hook_url2>
- Run
/csbot help
or/csbot info
command and enjoy your own CSAS BOT!
- Fork the project.
- Make your feature addition or bug fix.
- Add tests for it. This is important so I don't break it in a future version unintentionally.
- Commit, do not mess with rakefile, version, or history.
- Send us a pull request.