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
/botkit/lib/Slack_web_api.js:11 if (!options.token) { ^ TypeError: Cannot read property 'token' of undefined
options is not defined
The text was updated successfully, but these errors were encountered:
I also have this same issue. What should I do?
Sorry, something went wrong.
@aauld Can you give some context to where you are stuck? What version of botkit are you on?
In case anyone arrives here via Google or repo search:
Make sure any calls to the api functions include an options hash as the first argument, even if it's just an empty hash. For example:
bot.api.mpim.list({}, function (err, res) {});
No branches or pull requests
/botkit/lib/Slack_web_api.js:11
if (!options.token) {
^
TypeError: Cannot read property 'token' of undefined
options is not defined
The text was updated successfully, but these errors were encountered: