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

Member09/25/2022
!!exec $findRole[Mika#6359;no]
Custom Command Bot 09/25/2022
869243919697846379

If channel is not found:

Member09/25/2022
!!exec $findRole[mika#6359;no]
Custom Command Bot 09/25/2022
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