We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testing out the new Slack Select menu's using a conversation. This line throws an error when sent a slack select response Slackbot_worker.js#L741
message.text = message.text.replace(direct_mention, '').replace(/^\s+/, '').replace(/^\:\s+/, '').replace(/^\s+/, '');
Error:
TypeError: Cannot read property 'replace' of undefined at Object.bot.findConversation
This is because message.text is not there and instead the response is in message.actions[ 0 ].select_values
message.text
message.actions[ 0 ].select_values
Gist of Message Response
Details:
Version: 5.2 OS: OSX 10.3, Ubuntu 16.4
The text was updated successfully, but these errors were encountered:
Fix for issue #768
8d7bc4b
This should be closed now I think.
Sorry, something went wrong.
@matt-oakes Yep! I tested this yesterday it it worked for me
No branches or pull requests
Testing out the new Slack Select menu's using a conversation. This line throws an error when sent a slack select response Slackbot_worker.js#L741
Error:
This is because
message.text
is not there and instead the response is inmessage.actions[ 0 ].select_values
Gist of Message Response
Details:
The text was updated successfully, but these errors were encountered: