Skip to content

$pow

$pow will raises the first number to the power of each subsequent number.

Usage

$pow[number;...numbers]

Parameters

FieldTypeDescriptionRequired
numbernumberThe first number.true
numbersnumberThe numbers where the first number will be raised on.true

Example(s)

This will return 16 since 2² is 4 and 4² is 16:

1
client.command({
2
name: "pow",
3
code: `$pow[2;2;2]`
4
});