UNPKG

@ztiknl/sara

Version:

Sentient Artificial Responsive Agent

7 lines 423 B
{ "name": "multiply", "module": "math", "regex": "^(?:what|how\\smuch)?\\s?(?:is)?\\s?(-?[0-9]+\\.?(?:[0-9]+)?)\\s?(?:\\*|multiplied\\sby|multiplied\\swith|times|x)\\s?(-?[0-9]+\\.?(?:[0-9]+)?)\\s?(?:is)?$", "description": "Multiply x by y", "explanation": "This plugin teaches SARA how calculate the multiplication of two number numbers.\nType '4 * 2' or one of the alternatives and SARA should respond." }