jamesmartin / questionbot

Post questions in slack, and get answers from your team
0 stars 0 forks source link

Action buttons for Upvote, Downvote and Resolve #3

Open jamesmartin opened 8 years ago

jamesmartin commented 8 years ago

⬆️ ⬇️ ✅ 💖

https://api.slack.com/docs/message-buttons

TODO:

/cc @2metres

2metres commented 8 years ago

@jamesmartin can you set up the routes for these?

jamesmartin commented 8 years ago

Had to create a new Slack App in order to enable interactive buttons:

Posting messages with buttons requires registering a Slack app. Interactive messages cannot be posted using a custom integration. Create an app if you don't already have one.

The Slack App I created is here: https://api.slack.com/apps/A28G1GAQ2/general

The route we'll be using to respond to interactive message buttons is https://questionbot.herokuapp.com/interactive-messages