This project is abandoned
This repo is being kept for posterity and will be archived in a readonly state.
If you're interested it can be forked under a new Composer namespace/GitHub organization., (*1)
phergie/phergie-irc-plugin-react-commandalias
Phergie plugin for enabling the use of custom aliases for existing bot commands., (*2)
This plugin is intended to complement the Command plugin., (*3)
, (*4)
Install
The recommended method of installation is through composer., (*5)
{
"require": {
"phergie/phergie-irc-plugin-react-commandalias": "dev-master"
}
}
See Phergie documentation for more information on
installing and enabling plugins., (*6)
Configuration
new \Phergie\Irc\Plugin\React\CommandAlias\Plugin(array(
// All configuration is required
'aliases' => array(
// alias => command
'j' => 'join',
'p' => 'part',
'q' => 'quit',
'btc' => 'wolfram-alpha 1 BTC in US$',
// ...
),
))
Tests
To run the unit test suite:, (*7)
curl -s https://getcomposer.org/installer | php
php composer.phar install
./vendor/bin/phpunit
License
Released under the BSD License. See LICENSE
., (*8)