Firebot
Firebot copied to clipboard
[Feature Request] Variable to return an array of roles for a specified user
SReject via Discord:
Add variable that looks up and retrieves all roles for a user
Returns an array of roles for the current $user
$userRoles
Returns an array of all roles for the specified username
$userRoles[username]
Returns an array of specific roles for the username
$userRoles[username, all]
$userRoles[username, firebot]
$userRoles[username, custom]
$userRoles[username, twitch]
$userRoles[username, team]
For cases were the user cannot be located, and empty array should be returned
Added in v5.55.0