It seems the docs are lacking a few tricks to make Botman really work in a production environment for a distributable Bot that lives in the Slack App Directory and anybody can install. My goal is to do a slack bot that I can distribute so it has to work in multiple workspaces with multiple bot tokens.
I already understood the whole oauth flow with the "Add To Slack" buton and now I have the bot tokens for all workspaces saved on my DB.
My problem now is that Botman requires the slack token to be passed so that it can start. But to get the right token I need something that identifies this request, for example the team_id. I understand I can go again the raw route and try to do this by hand but I was wondering:
Is there any way for Botman to get the team_id so I grab the right slack bot token and use it in Botman?
Probably I'm just missing something because of lacking Docs because otherwise Botman is really only useful for Bots that you just use for your workspace and not distributable bots that everybody can use...
If someone can shed some ideas, thanks!