A Slackbot that interfaces with Edwin Zhang's HELPq! Written for SwampHacks 2017.
This bot is fairly easy to use. You have the following commands:
.ticket create [topic]
: creates a ticket for mentors to see.ticket delete
: deletes your ticket.ticket get
: fetches your open ticket.ticket help
: view these commands.ticket [anything-else]
: fetches your open ticket
Due to requirements on HELPq, you are only allowed one ticket at a time. If you need to re-submit your ticket, please delete your ticket with .ticket delete
and create a new one.
Please tell the admin of your Slack to check the logs and submit a ticket here! Thanks. :)
- A special version of HELPq with an API that can be found here: https://github.com/andrewjkerr/HELPq.
- Ruby 2.3.0
- Bundler (
gem install bundler
) - A Slack bot key!
- A HELPq special version API key that you will need to set in your special version of HELPq's config file.
- Clone this respository
git clone https://github.com/andrewjkerr/HELPq-slackbot.git
bundle install
- Rename
config/application.sample.yml
toconfig/application.yml
and add your values ruby bot.rb
This repository is licensed under the MIT license.
Want to contribute? Great! Here's what you do:
- Fork this repository
- Push some code to your fork
- Come back to this repository and open a PR
- After some review, get that PR merged to master
- Give yourself a pat on the back; you're awesome!
Feel free to also open an issue with any requests!