Phergie plugin that responds to "Who's your daddy?" messages in IRC
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests/Phergie/Irc/Tests/Plugin/React/Daddy
.coveralls.yml
.gitignore
.travis.yml
LICENSE
README.md
composer.json
composer.lock
phpunit.xml.dist

README.md

phergie/phergie-irc-plugin-react-daddy

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.