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
Requires
- php: >=5.5
- phergie/phergie-irc-bot-react: ~2
Requires (Dev)
- codeclimate/php-test-reporter: 0.1.*@dev
- phake/phake: 1.0.*
- phpunit/phpunit: 4.0.*
- satooshi/php-coveralls: v0.6.1
This package is auto-updated.
Last update: 2024-10-24 14:05:53 UTC
README
A plugin for Phergie to react to phrases like "Who's your *?"
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
.