This is a custom module which includes 3 custom components with a message wrapper. Please check the official documentation for more informations
-
Copy the contents to folder
modules\infa-module
-
Open a terminal in the folder
modules/infa-module
and typeyarn && yarn build
-
Edit your
out\bp\data\global\botpress.config.json
and add the module definition so it will be loaded:... "modules": [ ... { "location": "MODULES_ROOT/infa-module", "enabled": true } ... ] ... }
-
Start Botpress:
yarn start
-
Choose any bots in your workspace, then you should see the module in the sidebar !
Please check my guide on How to create a custom module in Botpress? and How to create a custom component in Botpress? for more information.
When you make changes to any portion of your module, you need to build it and restart Botpress.
You can type yarn watch
which will save you some time, since everytime you make a change, the source will be compiled immediately. You will only have to restart Botpress.