2017 © Pedro Peláez
 

library phergie-irc-plugin-react-pingpong

Phergie plugin for testing the bot's responsiveness

image

chrismou/phergie-irc-plugin-react-pingpong

Phergie plugin for testing the bot's responsiveness

  • Thursday, March 24, 2016
  • by chrismou
  • Repository
  • 1 Watchers
  • 0 Stars
  • 57 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Bot responsiveness testing plugin for Phergie

Phergie plugin for testing the bot's responsiveness., (*1)

Build Status Test Coverage Code Climate Buy me a beer, (*2)

About

This plugin is designed to simply return a response to the phrase "ping", most commonly used to test the bot's responsiveness., (*3)

Install

The recommended method of installation is through composer., (*4)

composer require chrismou/phergie-irc-plugin-react-pingpong

See Phergie documentation for more information on installing and enabling plugins., (*5)

Configuration

To use the default settings, simply add the following to your config file:, (*6)

new \Chrismou\Phergie\Plugin\PingPong\Plugin

Or you can set one of both of the custom config values. "response" is the phrase the bot will reply back with (defaults to "pong"), and "reply" sets whether the bot should reply back to the user directly (defaults to false):, (*7)

new \Chrismou\Phergie\Plugin\PingPong\Plugin(array(
    "response" => "lolwut",
    "reply" => false
))

Tests

To run the unit test suite:, (*8)

curl -s https://getcomposer.org/installer | php
php composer.phar install
./vendor/bin/phpunit

License

Released under the BSD License. See LICENSE., (*9)

The Versions