gries/pokebot

Slackbot commands to integrate Pokemath into slack

dev-master 2015-12-06 12:03 UTC

This package is auto-updated.

Last update: 2024-10-16 21:59:29 UTC


README

Slackbot integration to use Pokemath.

Installation

Pokebot can be installed via. Composer:

composer require "gries/pokebot"

Usage

Run the bot

<?php

use gries\Pokebot\Command\PokemathCommand;
use PhpSlackBot\Bot;

require_once __DIR__.'/../vendor/autoload.php';

$bot = new Bot();
$bot->setToken('token');
$bot->loadCommand(new PokemathCommand());
$bot->run();

Using the bot in slack

demo

Author

License

For the full copyright and license information, please view the LICENSE file that was distributed with this source code.