Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hashworks/phergie-message-splitter
Phergie plugin to split too long messages send by the bot into multiple commands.
https://github.com/hashworks/phergie-message-splitter
Last synced: about 1 month ago
JSON representation
Phergie plugin to split too long messages send by the bot into multiple commands.
- Host: GitHub
- URL: https://github.com/hashworks/phergie-message-splitter
- Owner: hashworks
- License: gpl-3.0
- Created: 2015-02-10T19:39:34.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-03-28T14:54:55.000Z (over 6 years ago)
- Last Synced: 2024-10-19T22:48:44.865Z (2 months ago)
- Language: PHP
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PhergieMessageSplitter
[Phergie](http://github.com/phergie/phergie-irc-bot-react/) plugin to split too long messages send by the bot into multiple commands.
## Install
To install via [Composer](http://getcomposer.org/), 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](https://github.com/phergie/phergie-irc-bot-react/wiki/Usage#plugins).## Configuration
```php
new \hashworks\Phergie\Plugin\MessageSplitter\Plugin
```Optionally you can adjust the tildePrefix variable (defaults to true) when your server isn't prefixing usernames with ~:
```php
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!