A simple slack bot which can store FAQs (questions and answers) and query them.
Still a WIP but very usable.
help
: Shows help informationstore q: <question> a: <answer>
: Stores a new question/answerfind <query>
: Queries stored FAQs questions and answers and shows top 3 matches. Also shows link to see all found by query.
- Create a new Bot Integration under services/new/bot.
- Set ENV Var
SLACK_API_TOKEN
from the Bot integration settings on Slack - Set ENV Var
HOST
which is where the FAQ Bot will be hosted. (see below) - Deploy and enjoy!
- Instead of having to set host, find a way to connect to Rails.
- Find a way to not require the
ActiveRecord::Base.establish_connection
- Tests
- Allow editing/deleting on web