$sub
Subtracts the numbers in each of the fields. Any field left blank resembles `0`.

FUNCTION USAGE

  • $sub[value1;value2]
  • $sub[value1;value2;value3;etc...]

Properties:

value1 - The first number to subtract from. value2 - The second number to subtract. etc - More numbers to subtract. (Optional).

Example:

1
bot.Command({
2
name: "sub",
3
code: `
4
Here's the sub, make sure you provided 2 valid numbers!: $sub[$message[1];$message[2]]
5
`
6
})
Copied!
Last modified 4mo ago
Copy link
Contents
Properties: