Skip to content

$randomRoleID

$randomRoleID will return a random role ID of a given guild.

Usage

$randomRoleID[guildID?]

Parameters

FieldTypeDescriptionRequired
guildID?numberWhere it will return the random role ID from.true

Example(s)

This will return a random role ID of your guild:

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