8000 Getting Started · iranianpep/botonomous Wiki · GitHub
[go: up one dir, main page]

Skip to content

Getting Started

Ehsan Abbasi edited this page May 3, 2017 · 15 revisions

Requirements

  • PHP 7.0+ (PHPUnit 6 requires PHP 7. If you are not able to update PHP you should update composer.json accordingly by removing phpunit/phpunit and changing "php": ">=7" to "php": ">=YOUR_PHP_VERSION")
  • Slack team

Installation

Using composer:

composer create-project botonomous/botonomous

Then set the document root of your server to:

src/Botonomous/public

Configurations

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.

Once you have done with the configurations type /ping in a channel and you should receive pong.

Creating a plugin

Now that your bot can interact with Slack you may extend its functionality by creating a new plugin which is explained here.

Clone this wiki locally
0