Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Fixes slash commands when using internal webserver #699

Merged
merged 2 commits into from
Mar 9, 2017
Merged

Fixes slash commands when using internal webserver #699

merged 2 commits into from
Mar 9, 2017

Conversation

mbensch
Copy link

@mbensch mbensch commented Mar 8, 2017

The latest changes of Slack removed the concept of a bot from things like slash command. Botkit was still assuming that slack will send the bot key in the webhook payload which is not the case.

This is a simple fix that will remove the requirement for that information to be present for slash command, outgoing webhooks and interactive messages. The handleEventsAPI method will actually try to use that data so I still included it for that case but fail if we don't find it in the payload.

It was a blocker for us at message.io so we fixed and tested it in our own fork.
Should solve #590 (comment)

@benbrown benbrown merged commit 3754bf6 into howdyai:master Mar 9, 2017
@benbrown
Copy link
Contributor

benbrown commented Mar 9, 2017

thank you @mbensch

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

Successfully merging this pull request may close these issues.

3 participants