mathematriculator

Mathematriculator module. Responsible for automatically performing mathematical operations and unit conversions

mathematriculator.name

Name of the module

Kind: static property of mathematriculator

mathematriculator.version

Module version

Kind: static property of mathematriculator

mathematriculator.description

Description of the module

Kind: static property of mathematriculator

mathematriculator.configuration

Configuration properties.

Kind: static property of mathematriculator
Properties

Name Description
enabled Whether to use Markov or not. Defaults to false.

mathematriculator.onCommand(command, args, callback)

Respond to commands.

Kind: static method of mathematriculator

Param Type Description
command string The command issued
args array A list of arguments for the command
callback function The callback to use once the action is complete

mathematriculator.begin(config)

Bootstrap the module.

Kind: static method of mathematriculator

Param Type Description
config object The SockBot config object

mathematriculator~calc(args, callback)

Bootstrap the module.

Kind: inner method of mathematriculator

Param Type Description
args array A list of arguments to combine into an evaluateable expression
callback function The callback to use once the action is complete