Chatbot Commander
A chatbot-commander module to handle strings and call the proper callbacks, particularly usefull for command oriented chatbots.
How to use
At first don't forget to install the dependencies:
yarn add chatbot-commander
Then import the module and start the fun:
const commander = '!' // Set the command prefix to '!' // Registers a commandcommander commander