Skip to content

$randomString

$randomString will generate a random string.

Usage

$randomString[range;diffExec?]

Parameters

FieldTypeDescriptionRequired
rangenumberRange of the random generated string.true
diffExec?booleanReturn different results?false

Example(s)

This will return a random stringof twenty characters:

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