$findNumbers
$findNumbers
will attempt to return all numbers in a message of a given text.
Usage
$findNumbers[text]
Parameters
Field | Type | Description | Required |
---|---|---|---|
text | string | Text where you want to find numbers. | true |
Example(s)
This will return 25
and remove Hello, I'm [..] years old
from the given text:
1client.command({2 name: "findNumbers",3 code: `4 $findNumbers[Hello, I'm 25 years old]5 `6});