$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
Role ID: $findRole[$message]
!example Support Role ID: 568155071997542410

How $message works?