phergie/phergie-irc-plugin-react-daddy

Phergie IRC bot plugin responding to Who's your *? phrases

2.0.0 2015-12-21 22:59 UTC

This package is auto-updated.

Last update: 2024-11-24 14:19:39 UTC


README

A plugin for Phergie to react to phrases like "Who's your *?"

Build Status Coverage Status Code Climate

Install

The recommended method of installation is through composer.

{
    "require": {
        "phergie/phergie-irc-plugin-react-daddy": "~2"
    }
}

See Phergie documentation for more information on installing plugins.

Configuration

new \Phergie\Irc\Plugin\React\Daddy\Plugin()

Usage

This plugin monitors PRIVMSG events attempting to locate messages like "Who's your *?". When it finds one, it responds to the user who posted the message that they are, in fact, Phergie's *. For example, if IRC user "bob" says "Who's my fish monger?", Phergie will respond with "You're my fish monger, bob!"

Tests

To run the unit test suite:

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

License

Released under the BSD License. See LICENSE.