Skip to content

enebe-nb/phergie-irc-plugin-react-autorejoin

Repository files navigation

enebe-nb/phergie-irc-plugin-react-autorejoin

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages