Phergie plugin for automatically rejoining IRC channels on PART or KICK event.
The recommended method of installation is through composer.
{
"require": {
"enebe-nb/phergie-irc-plugin-react-autorejoin": "^1.0"
}
}
See Phergie documentation for more information on installing plugins.
return array(
'plugins' => array(
new \EnebeNb\Phergie\Plugin\AutoRejoin\Plugin(array(
// Required: list of channels to rejoin
'channels' => array('#channel1', '#channel2', '#channelN'),
// or
'channels' => '#channel1,#channel2,#channelN',
// Optional: channel keys
'keys' => array('key1', 'key2', 'keyN'),
// or
'keys' => 'key1,key2,keyN',
)),
),
);
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
.