Skip to content

$randomShuffle

$randomShuffle shuffles an array randomly.

Usage

$randomShuffle[...text]

Parameters

FieldTypeDescriptionRequired
…textstringThe words to shuffle.true

Example(s)

This will shuffle the given words (this works similar to randomText, but is ALWAYS random no matter what):

1
client.command({
2
name: "randomShuffle",
3
code: `
4
$randomShuffle[aoi.js;aoi.db;aoi.music]
5
`
6
});