$rolePosition
$rolePosition
will return the role position of a specific role.
Usage
$rolePosition[roleID;guildID?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
roleID | number | The role ID. | true |
guildID? | number | The guild ID. | false |
Example(s)
This will return the role position of any role you might like, for this example, we’ll use the @everyone
role:
1client.command({2 name: "rolePosition",3 code: `4 $rolePosition[$guildID]5 `6});