Phergie-Message-Splitter Packagist

Phergie plugin to split too long messages send by the bot into multiple commands.

3 years after

PhergieMessageSplitter

Phergie plugin to split too long messages send by the bot into multiple commands.

Install

To install via Composer, use the command below, it will automatically detect the latest version and bind it with ~.

composer require hashworks/phergie-message-splitter-plugin

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

Configuration

new \hashworks\Phergie\Plugin\MessageSplitter\Plugin

Optionally you can adjust the tildePrefix variable (defaults to true) when your server isn't prefixing usernames with ~:

new \hashworks\Phergie\Plugin\MessageSplitter\Plugin(array('tildePrefix' => false))

Mostly this won't be the case.

Developers

Since we need the correct username/ident and host set by the server to calculate the maximum message length this plugin updates those two as well. Inform me if you developed a plugin to keep those up to date!


Top Contributors

hashworks

Releases

-   v1.1.0 zip tar
-   v1.0.0 zip tar