A Slack Bot that pulls Pixiv information and posts the full image(s) into Slack, with iOS shortcuts.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.2 KiB

  1. Slack-Gamebot
  2. =============
  3. [![Build Status](https://travis-ci.org/dblock/slack-mathbot.png)](https://travis-ci.org/dblock/slack-mathbot)
  4. A math bot for Slack.
  5. ![](screenshots/two-plus-two.gif)
  6. ## Installation
  7. Create a new Bot Integration under [services/new/bot](http://slack.com/services/new/bot).
  8. ![](screenshots/register-bot.png)
  9. On the next screen, note the API token.
  10. Run `SLACK_API_TOKEN=<your API token> foreman start`
  11. While it's currently not necessary, uyou may need to set _GIPHY_API_KEY_ in the future, see [github.com/Giphy/GiphyAPI](https://github.com/Giphy/GiphyAPI) for details.
  12. ## Production Deployment
  13. See [DEPLOYMENT](DEPLOYMENT.md).
  14. ## Usage
  15. ### Commands
  16. #### mathbot calculate [expression]
  17. Calculates an expression, currently just basic math. See [Dentaku](https://github.com/rubysolo/dentaku) for what's supported.
  18. #### mathbot
  19. Shows MathBot version and links.
  20. #### mathbot hi
  21. Politely says 'hi' back.
  22. #### mathbot help
  23. Get help.
  24. ## Contributing
  25. See [CONTRIBUTING](CONTRIBUTING.md).
  26. ## Copyright and License
  27. Copyright (c) 2015, Daniel Doubrovkine, Artsy and [Contributors](CHANGELOG.md).
  28. This project is licensed under the [MIT License](LICENSE.md).