Math & Text
randomBytes
$randomBytes — Random bytes as hexadecimal (0 to 1024 bytes).
Random bytes as hexadecimal (0 to 1024 bytes).
Syntax
$randomBytes[length]
Parameters
- length (number, required) — Number of bytes.
Return Value
- string.
Usage
$randomBytes[4] → "9f3a01bc"
Example
$sendMessage[$randomBytes[4]]
Try it
Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.