A Hubot script which splits up messages longer than a predefined length
npm install hubot-chunkifyhubot help.
npm install --save hubot-chunkify
`
2. Enable the module by adding the hubot-chunkify entry to your external-scripts.json file:
`json
[
"hubot-chunkify"
]
`
3. Run your bot and see below for available config / commands
Configuration
Variable | Default | Description
--- | --- | ---
HUBOT_CHUNKIFY_MAX | 320 | Any message sent by Hubot that is longer than HUBOT_CHUNKIFY_MAX string characters will be replaced by a series of messages split by newline and HUBOT_CHUNKIFY_MAX`.