hashworks/phergie-message-splitter-plugin

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

v1.1.0 2015-06-10 17:19 UTC

This package is not auto-updated.

Last update: 2024-04-27 15:04:33 UTC


README

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!