Skip to content

$guildHighestRole

$guildHighestRole will return the highest guild role of a specific guild.

Usage

$guildHighestRole[guildID?;option?]

Parameters

FieldTypeDescriptionRequired
guildID?numberThe ID of the guild.false
option?stringThe option on how to return the role
1. name (default)
2. id
3. mention
false

Example(s)

This will return the name of the highest role of your guild:

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