$findRole

Searches for a role, by ID or name

Usage:

$findRole[ID/mention/name;return current channelID, (yes/no) (Optional, default=yes)]

If channel is found:

Member04/02/2024
!!exec $findRole[Mika#6359;no]
Custom Command Bot 04/02/2024
869243919697846379

If channel is not found:

Member04/02/2024
!!exec $findRole[mika#6359;no]
Custom Command Bot 04/02/2024
undefined

:::info

:::

Related Functions

$roleID, to return a roleID by name of it

Function difficulty: Medium
Tags: find Role Role ID Roles Search Roles Found Roles