$usersWithRole

Returns a list of users with given role (members are given from the cache.
)

Usage

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

Example (Get users with member roles):

Member05/26/2023
!!exec $usersWithRole[Members;, ;username]

Custom Command Bot 05/26/2023
Mido, Rake, Azz

Example (Get users with no role):

Member05/26/2023
!!exec users with no roles: $usersWithRole[;, ;tag]

Custom Command Bot 05/26/2023
LonelyWolf#1234, Stranger#5678