Skip to content

$userHighestRole

$userHighestRole will return the highest role of a specific user.

Usage

$userHighestRole[userID?;guildID?;option?]

Parameters

FieldTypeDescriptionRequired
userID?numberThe ID of the user you want the highest role to be returned of.false
guildID?numberThe ID of the guild.false
option?stringThe option how to return the role
1. name
2. id (default)
3. mention
false

Example(s)

This will return the name of your highest role:

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