detritus

Presenceclass

Presence Structure, used to detail a user's presence in a guild (or general if you have them added (non-bots only))

On this page

Presence Structure, used to detail a user's presence in a guild (or general if you have them added (non-bots only))

import { Structures } from 'detritus-client';

Structures.Presence;
14 properties4 methods15 inheritedsrc/structures/presence.ts:71

Constructor

Properties

_activities?
optional
_guildIds
string | BaseSet<string>
Default ''
client
readonly
Inherited from BaseStructure.client
clientStatus?
{ desktop?: string; mobile?: string; web?: string }
optional
lastGuildId
string
Default LOCAL_GUILD_ID
lastModified?
number
optional
status
string
Default PresenceStatuses.OFFLINE
user

Accessors

_shouldDelete
boolean
get
activities
activity
get
game
get
guildIds
BaseSet<string>
get
isClone
boolean
get
Inherited from BaseStructure.isClone
isDnd
boolean
get
isIdle
boolean
get
isOffline
boolean
get
isOnline
boolean
get
shardId
number
get
Inherited from BaseStructure.shardId
showMobileIcon
boolean
get

Methods