Events
oldUser
$oldUser — Previous state of the user before an update (userUpdate). Properties: id, username, displayName, globalName, discriminator, tag, avatar, banner, accentColor, timestamp.
Previous state of the user before an update (userUpdate). Properties: id, username, displayName, globalName, discriminator, tag, avatar, banner, accentColor…
Syntax
$oldUser[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
$oldUser[property;(separator)] → value
Example
$sendMessage[$oldUser[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.