Enable using bolt-js without passing bot_id #874
Labels
bug
M-T: confirmed bug report. Issues are confirmed when the reproduction steps are documented
semver:minor
Milestone
As of v3.3, developers cannot use bolt-js only with a user token for the following reason. We can revisit ignore self middleware and update the middleware not to rely on given bot_id.
Hey @~Levelleor! Thanks so much for raising this issue. 🙂
After a little digging, it turns out this is in fact a bug. We've made note of it and will hopefully get a fix out shortly.
In the meantime, to workaround this issue, you can introduce a temporary
authorize
function that returns both thebotId
and theuserToken
, as seen in the example below:Thanks again for bringing this to our attention. Do let us know if the above resolves the problem for the time being!
Originally posted by @misscoded in #869 (comment)
The text was updated successfully, but these errors were encountered: