Get support for michaelcullum/phergie-irc-plugin-react-seen

If you're new to LTH, please see our FAQ for more information on what it is we do.

Support Options

Unfortunately, there are currently no active helpers for this repository on the platform. Until they become available, we reccomend the following actions:

View Open Issues

Take a look to see if anyone else has experienced the same issue as you and if they managed to solve it.

Open an Issue

Make sure to read any relevant guidelines for opening issues on this repo before posting a new issue.

Sponsor directly

Check out the page and see if there are any options to sponsor this project or it's developers directly.

michaelcullum/phergie-irc-plugin-react-seen

Renegade334/phergie-irc-plugin-react-seen

Phergie plugin for Phergie plugin that provides a command to display a user's last channel activity.

Build Status

Install

The recommended method of installation is through composer.

{
    "require": {
        "renegade334/phergie-irc-plugin-react-seen": "~1.0"
    }
}

See Phergie documentation for more information on installing and enabling plugins.

Usage

return [
    'plugins' => [
        new \Phergie\Irc\Plugin\React\Command\Plugin(['prefix' => '!']),
        new \Renegade334\Phergie\Plugin\React\Seen\Plugin,
    ]
];

To restrict use of the seen command to particular channels or connections, use the EventFilter plugin:

use Phergie\Irc\Plugin\React\Command\Plugin as CommandPlugin;
use Phergie\Irc\Plugin\React\EventFilter\ChannelFilter;
use Phergie\Irc\Plugin\React\EventFilter\Plugin as EventFilterPlugin;
use Renegade334\Phergie\Plugin\React\Seen\Plugin as SeenPlugin;

return [
    'plugins' => [
        new CommandPlugin(['prefix' => '!']),
        new EventFilterPlugin([
            'filter' => new ChannelFilterPlugin(['#channel1', '#channel2']),
            'plugins' => [new SeenPlugin],
        ]),
    ],
];

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.

Our Mission

We want to make open source more sustainable. The entire platform was born from this and everything we do is in aid of this.

Interesting Articles

Thank you for checking out LiveTechHelper |
2025 © lth-dev incorporated

p-e622a1a2