The Module Entry Point is used by the module loader to bootstrap the module. It must be present in the index.js file of the module. The path to the module must also be specified in the global botpress config.
An array of available bot templates when creating a new bot
Additional metadata about the module
List of new conditions that the module can register
This method is called whenever a content element is created, updated or deleted. Modules can act on these events if they need to update references, for example.
Called when the module is unloaded, before being reloaded onBotUnmount is called for each bots before this one is called
This is called once all modules are initialized, usually for routing and logic
Called once the core is initialized. Usually for middlewares / database init
Called when a topic is being changed.
If oldName is not set, then the topic
newName is being created
If newName is not set, then the topic
oldName is being deleted
An array of the flow generators used by skills in the module
Generated using TypeDoc