Skip to content

$math

$math will return a calculated result of the given argument.

Usage

$math[equation]

Parameters

FieldTypeDescriptionRequired
equationstringCalculation (/*-+())true

Example(s)

This will return 205 as 15+5/2*26+(5+120) equals it:

1
client.command({
2
name: "math",
3
code: `
4
$math[15+5/2*26+(5+120)]
5
`
6
});