$findRole

Finds a role's ID using the given role name, ID, or mention.

📝 This function can only find roles of the current server.

Syntax

$findRole[Role]

Parameters

  • Role (Type: String || Flag: Emptiable): The role name, ID, or mention to find.

Example

$nomention
$findRole[$message]

example