How to install bot in multiple teams without adding it to the directory?

大城市里の小女人 提交于 2019-12-20 19:38:31

问题


I just finished creating my first slack bot in my dev slack team using the Microsoft bot framework. Now I would like to add the bot to another team for testing. My bot is not going to be for public use, just internal to the company. I tried use the Add to Slack button to add it to the new team but I get an :

OAuth Error: invalid_team_for_non_distributed_app.

Thanks.


回答1:


You need to go to settings of your app (https://api.slack.com/apps/ → Your app name → Manage distribution) and activate public distribution of your app.

This will not add your app to public directory, so only teams with link from you can add app to their Slack (ex. by "add to slack" button).



来源:https://stackoverflow.com/questions/45523707/how-to-install-bot-in-multiple-teams-without-adding-it-to-the-directory

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!