Skip to content

$oldPresence

$oldPresence holds old data of the user’s presence, used in update presence event, or else any data will be empty

Usage

$oldPresence[option]

Parameters

FieldTypeDescriptionRequired
optionstringOption to retrieve.true

Options

OptionTypeDescription
activitiesstringThe activities of this presencem
webStatusstringThe status of this presence on webm
desktopStatusstringThe status of this presence on desktop.
mobileStatusstringThe status of this presence on mobile.
guildIdnumberThe guild ID of this presence.
authorIdnumberThe author ID of this presence.