$roleID
Retrieves the ID of a specified role.
Usage:
$roleID[ROLE NAME]
Argument:
ROLE NAME
: The name of the role you want to get the ID for. This is case-sensitive.
Example:
Let's say you have a role named "muted" in your server. The following example demonstrates how to retrieve its ID.
In this example, the command returns 772053356378062889
, which is the ID of the "muted" role.
Related Functions
- $findRole: Use this function to find a role by its name or mention if you are unsure of the exact name.