Skip to content
Ehsan Abbasi edited this page May 3, 2017 · 6 revisions

If your bot is going to be published and used by other teams publicly you need to use OAuth. To handle OAuth functionalities use a class called src/Botonomous/OAuth.php.

Add to Slack button

In order to generate an Add to Slack button use this:

$addButtonHtml = (new OAuth())->generateAddButton();
Clone this wiki locally