-
Notifications
You must be signed in to change notification settings - Fork 16
Getting Started
Ehsan Abbasi edited this page May 2, 2017
·
15 revisions
- PHP 7.0+ (PHPUnit 6 requires PHP 7. If you are not able to update PHP you should update
composer.json
accordingly by removingphpunit/phpunit
and changing"php": ">=7"
to"php": ">=YOUR_PHP_VERSION"
) - Slack team
Using composer:
composer create-project slackbot/slackbot
Then set the document root of your server to:
src/Slackbot/public
Setting the configurations and mainly choosing the right listener type for your bot are the first things to do after the installation. You can find more about the configurations and listener types at here and here accordingly.
You can make sure the configurations are set properly by sending a /ping
command and getting the response pong
.
Now that your bot can interact with Slack you may extend its functionality by creating a new plugin. This is explained here.