Closed MaxBear closed 5 years ago
hey @MaxBear you can add the token manually in the user_registration.js file. Around line 20 in this file, add the token to the team object like so: "token: payload.bot.bot_access_token". This should fix your problem and you can use this wrapper for your db.
Hello:
I am working with https://github.com/howdyai/botkit-starter-slack and try to replace default storage to mysql storage. After cloning your code and try testing it, I noticed slackbot will stuck.. after debug a little, I find the reason is when initially slackbot tries to call saveTeam, a extra key "token" is required:
Since slackbot does not provide this key/value, it will stuck and cannot proceed. I am wondering if your module is intended for all bots or user need to folk according to their own implementation.