Functionalities
Other
$mentionedRoles
Returns the ID of a mentioned role.

FUNCTION USAGE

  • $mentionedRoles[argNumber]

Properties:

argNumber - Represents the mentioned argument position.
Example:
1
bot.Command({
2
name: "getroleid",
3
code: `
4
here's, the ID of the role you mentioned!: $mentionedRoles[1]
5
$onlyIf[$mentionedRoles[1]!=;You must mention a valid role to get their ID!]
6
`
7
})
Copied!
Last modified 4mo ago
Copy link
Contents
Properties: