Integrate your bots with your preferred NLU services. For further information see the NLU Plugin section.
index.js is the main file where all the stuff is exported for Botonic to make it work.
Additionally, you can specify within a
config object a global value which will be applied to all the messages processed by the bot.
- defaultTyping: Specifies how many seconds the typing component has to be displayed.
- defaultDelay: Specifies the seconds that pass before sending the order to process the user input.
Both options are set to 0 by default. Feel free to tune these parameters to obtain the expected behavior of your bot.
You can also define these settings inside your messages. In this case, the values defined within a message will have preference over the global settings.