Functionalities
Other
$rolePosition
Returns the position of the supplied role ID in the guild. If 2nd field is not used, the function will look for the role in the current guild.

FUNCTION USAGE:

  • $rolePosition[roleID]
  • $rolePosition[roleID;guildID]

Properties:

roleID - The ID of the role. guildID - The ID of the guild where the role is located.

Example:

1
bot.Command({
2
name: "test",
3
code: `
4
That role is in position: #$rolePosition[someroleIDhere]
5
`
6
})
Copied!
Last modified 4mo ago
Copy link
Contents
Properties: