$usersWithRole

returns users,which have the users role

Usage:

$usersWithRole[roleID;separator (optional, default space);id/username/tag/mention (optional, default tag)]


Member09/25/2022
!!exec $usersWithRole[$roleID[member];,;username]
Custom Command Bot 09/25/2022
Tom,Lisa,Ben

Related Functions

$hassWithRole, to check if the user has sWithRole

::: info Member must be cached! If you use the main bot the member must be cached to get valid results.You can ignore the message,if you use custom bot! :::

Function difficulty: Easy
Tags: WithRole