$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:

Member01/27/2023
!!exec $findRole[Mika#6359;no]
Custom Command Bot 01/27/2023
869243919697846379

If channel is not found:

Member01/27/2023
!!exec $findRole[mika#6359;no]
Custom Command Bot 01/27/2023
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