Phergie plugin for switching to alternate nicks when primary is not available.
The recommended method of installation is through composer.
{
"require": {
"pschwisow/phergie-irc-plugin-react-altnick": "~2"
}
}
See Phergie documentation for more information on installing and enabling plugins.
return [
'plugins' => [
// configuration
new \PSchwisow\Phergie\Plugin\AltNick\Plugin([
// At least one alternate nick
'nicks' => [
'Foo',
'Foo_',
'FooBar'
],
// Optional: if primary nickname is in use, reclaim it if it disconnects
'recovery' => true,
])
]
];
To run the unit test suite:
curl -s https://getcomposer.org/installer | php
php composer.phar install
./vendor/bin/phpunit
Released under the BSD License. See LICENSE
.