FunctionsRole Functions
$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.
Member
9/5/2026
!!exec $roleID[muted]
Custom Command
APP
9/5/2026
772053356378062889
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.
Function difficulty: Easy
Tags: Role Get ID Find Role ID ID Roles