$randomString
$randomString
will generate a random string.
Usage
$randomString[range;diffExec?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
range | number | Range of the random generated string. | true |
diffExec? | boolean | Return different results? | false |
Example(s)
This will return a random string of twenty characters:
1client.command({2 name: "randomString",3 code: `4 $randomString[20]5 `6});