This project consist in the creation of a bot using the SlackRubyBot API, once connected you can interact with the bot using two commands, "add" and "prime?".
- add, will solve a simple sum for you and send it to you on the Slack chat as a message.
- prime?, will tell you all prime numbers below the number you enter.
- After cloning this Repo, run
bundle install
-
Create an Slack Bot user. You can do this by visiting this page
-
Once your bot is created take your token and run (type your token where it says "your_token").
SLACK_API_TOKEN= your_token rails server
-
You'll see under the Apps tab, that your bot is going to be there so that you can interact with it while the server is running.
- Ruby v2.7.0
- Ruby on Rails 6.0.3.4
- Slack Ruby Client
- React-rails
- PostgreSQL
Adan Fernandez Bonilla
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!