Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Support slash commands #60

Open
brodock opened this issue Nov 27, 2015 · 5 comments
Open

Support slash commands #60

brodock opened this issue Nov 27, 2015 · 5 comments

Comments

@brodock
Copy link

brodock commented Nov 27, 2015

Can we support slack slash commands?

Slash commands in Slack has some benefits over the way we are doing today:

  • They work everywhere (PVT, channels, private channels, etc)
  • They provide documentation integrated into the interface

SlackBotsy looks like support this type of integration:

https://github.com/rlister/slackbotsy/blob/master/lib/slackbotsy/bot.rb#L134

@cdrage
Copy link

cdrage commented Dec 3, 2015

+1

don't like how lita-slack-handler removed all the code and has forced our team to use this version with lita which doesn't support slash commands.

edit: found I could use: config.robot.alias instead for slash commands! 💃

@jimmycuadra
Copy link
Contributor

My understanding is that slash commands are "swallowed" by Slack and not sent as a message to the room. Is that not the case anymore, or are you suggesting that users set up custom slash commands which talk to Lita over HTTP?

@brodock
Copy link
Author

brodock commented Dec 4, 2015

I'm suggesting that lita should enable (probably as a configuration flag) that we opt for Slack "over HTTP" builtin slash command support.

@asser-hassan
Copy link

Hi, revisiting that space. I wonder if that's still on the table?

@brodock
Copy link
Author

brodock commented Mar 24, 2017

@jimmycuadra slack commands work through webhooks. We can reuse puma and the existing http handler support to enable that. I believe this will require a separate definition for services that implements slash commands (like slack, mattermost).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants