phergie / phergie-irc-plugin-react-commandalias
This package is abandoned and no longer maintained.
No replacement package was suggested.
Phergie plugin for enabling the use of custom aliases for existing bot commands
2.0.0
2016-06-17 21:23 UTC
Requires
Requires (Dev)
Suggests
- phergie/phergie-irc-plugin-react-commandhelp: provides interactive help for commands
This package is not auto-updated.
Last update: 2020-03-20 16:11:06 UTC
README
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.
phergie/phergie-irc-plugin-react-commandalias
Phergie plugin for enabling the use of custom aliases for existing bot commands.
This plugin is intended to complement the Command plugin.
Install
The recommended method of installation is through composer.
{ "require": { "phergie/phergie-irc-plugin-react-commandalias": "dev-master" } }
See Phergie documentation for more information on installing and enabling plugins.
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:
curl -s https://getcomposer.org/installer | php
php composer.phar install
./vendor/bin/phpunit
License
Released under the BSD License. See LICENSE
.