I have try to deploy the bot using the Oauth token given by Slack and it doesn't work ...
I am getting the following error:
/Documents/lookerbot/node_modules/botkit/lib/Slack_web_api.js:22
if (cb) cb(json.error, json);
^
Error: Could not connect to the Slack API. Ensure your Slack API key is correct. (missing_scope)
I have tried using my legacy token and it works ... but the bot uses my credentials and It anyone slack me, the bot will answer with this message:
I couldn't understand that command. You can use help to see the list of possible commands.
Any idea on how to sort it out? Thanks!