jeffreyroberts/phergie-irc-plugin-react-autorejoin

Phergie plugin for automatically rejoining IRC channels on PART or KICK event.

1.0.2 2015-10-01 22:46 UTC

This package is auto-updated.

Last update: 2024-03-29 03:52:19 UTC


README

Phergie plugin for automatically rejoining IRC channels on PART or KICK event.

Build Status

Install

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.

Configuration

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',

        )),
    ),
);

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.