Server Helpers
userRoleMentions
$userRoleMentions — Mentions (<@&ID>) of the roles a member holds, ready to display in an embed
Mentions (`<@&ID>`) of the roles a member holds, ready to display in an embed.
Syntax
$userRoleMentions[userID;(separator)]
Parameters
- userID (ID, required) — The member.
- separator (text, optional) — Default: a space.
Return Value
- string.
Usage
$userRoleMentions[1] → "<@&20> <@&40>"
Example
$sendMessage[$userRoleMentions[1]]
Try it
Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.