botkit
botkit copied to clipboard
Address TypeError seen in Issue 1447
Address Issue #1447 - TypeError when Slack slash command received by bot:
- Move the former
bot.identity
assignment into theevent_callback
payload case - Add an
else
case to catch non-event_callback
payloads and set thebot.identity
appropriately