Closed imduffy15 closed 4 years ago
As per https://api.slack.com/events/message/bot_message a bot_message may not always contain a username. Username is only present should the username be overrided in the event request.
bot_message
Currently when SlackBot receives a bot_message with no overriden username it exits not passing the event forward.
This changes updated the relevant code to pull the username from the bot_profile
bot_profile
@lins05 any chance you can take a look at this change?
thanks!
As per https://api.slack.com/events/message/bot_message a
bot_message
may not always contain a username. Username is only present should the username be overrided in the event request.Currently when SlackBot receives a
bot_message
with no overriden username it exits not passing the event forward.This changes updated the relevant code to pull the username from the
bot_profile