Skip to content

$findNumbers

$findNumbers will attempt to return all numbers in a message of a given text.

Usage

$findNumbers[text]

Parameters

FieldTypeDescriptionRequired
textstringText where you want to find numbers.true

Example(s)

This will return 25 and remove Hello, I'm [..] years old from the given text:

1
client.command({
2
name: "findNumbers",
3
code: `
4
$findNumbers[Hello, I'm 25 years old]
5
`
6
});