You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just had someone ask me for help because they were trying to invite someone, and the bot wasn't responding. It turned out it's because they were messaging the bot with something like invite <[email protected]> - ie, they were wrapping the email address with angle brackets.
it looks like if the slack API returns any error code, no message will be displayed (but something will be logged). I'd guess that the slack API is returning an error code for some of these emails, rather than (or as well as) returning details of the error in the JSON response.
I'd suggest running an instance in a test slack instance to debug this.
The text was updated successfully, but these errors were encountered:
Just had someone ask me for help because they were trying to invite someone, and the bot wasn't responding. It turned out it's because they were messaging the bot with something like
invite <[email protected]>
- ie, they were wrapping the email address with angle brackets.I've tested a bit, and the bot will give the expected message to a message
invite [email protected]
, and toinvite [email protected]>
but will ignore messages likeinvite [email protected]
orinvite <[email protected]
.Looking at the code, in
xgovslackbot/app/slack_bot.js
Line 290 in 97a13b2
I'd suggest running an instance in a test slack instance to debug this.
The text was updated successfully, but these errors were encountered: