This is kevinbot. He is the chatbot at Intrepid.
ruby kevinbot.rb
Create a new class named the same as your command inheriting from BaseCommand. For example, if your command is /mycoolcommand:
classMycoolcommand < BaseCommand#...endclassMycoolcommand < BaseCommanddefperformtext='Look how cool this is'endendclassMycoolcommand < BaseCommanddefperformtext='Look how cool this is'respond(text)endendMake a new slash command on Slack with these settings:
| Field | Value |
|---|---|
| Command | /rave |
| URL | https://kevinbot2.herokuapp.com/ |
| Method | POST |