@bhmb/messages
v1.1.3
Published
A Blockheads-MessageBot extension which provides basic messaging functionality
Downloads
49
Readme
Messages-Extension
This extension provides basic support for messages for the Blockheads MessageBot.
Configuration keys (stored in the extension storage object)
| Key | Description | Default |
| ------ | ------ | ------ |
| maxResponses | The maximum number of triggers to respond to at once. | 3 |
| disableWhitespaceTrimming | If the trigger should be trimmed before testing. | false |
| regexTriggers | If triggers should be parsed as regex. | false |
| announcementDelay | The delay between sending announcements. | 10 |
| rejoinCooldown | If the player leaves and rejoins within this many seconds, don't re-send join messages. | 30 |
| triggerCooldown | Ignore messages from players for this many seconds after a trigger. | 10 |
Note: This package must be included in a module bundler to work correctly in the browser.
