hashworks / phergie-message-splitter-plugin
Phergie plugin to split too long messages send by the bot into multiple commands.
Requires
This package is not auto-updated.
Last update: 2024-12-21 18:24:48 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!