$oldUser
$oldUser
holds data of the old user, used in update user event, or else any data will be empty.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
option | string | Option to retrieve | true |
Options
Option | Type | Description |
---|---|---|
name | string | Returns user name |
tag | string | Returns user tag |
banner | string | Returns user banner hash |
bannerURL | string | Returns user banner URL |
createdAt | date | Returns the time when user was created |
createdTimestamp | number | Returns user created timestamp |
accentColor | number | Returns base 10 accent color of user’s banner |