$guildHighestRole
$guildHighestRole
will return the highest guild role of a specific guild.
Usage
$guildHighestRole[guildID?;option?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
guildID? | number | The ID of the guild. | false |
option? | string | The 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:
1client.command({2 name: "guildHighestRole",3 code: `4 $guildHighestRole[$guildID;name]5 `6});