Events
oldRole
$oldRole — Previous state of the role before an update (guildRoleUpdate). Properties: id, name, color, permissions, position, rawPosition, mentionable, hoisted.
Previous state of the role before an update (guildRoleUpdate). Properties: id, name, color, permissions, position, rawPosition, mentionable, hoisted.
Syntax
$oldRole[property;(separator)]
Parameters
- property (String, required) — Property to read; see the list above
- separator (String, optional) — Separator for list values (default comma)
Return Value
- String.
Usage
$oldRole[property;(separator)] → value
Example
$sendMessage[$oldRole[property;(separator)]]
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.