detritus

PresenceActivityclass

Presence Activity Structure, used in [Presence]

On this page

Presence Activity Structure, used in [Presence]

import { Structures } from 'detritus-client';

Structures.PresenceActivity;
StructureBaseStructurePresenceActivity
51 properties7 methods15 inheritedsrc/structures/presence.ts:397

Constructor

Properties

_guildIds
string | BaseSet<string>
Default ''
applicationId?
string
optional
assets?
buttons?
string[]
optional
client
readonly
Inherited from BaseStructure.client
createdAt?
number
optional
details?
string
optional
emoji?
optional
flags
number
Default 0
id
string
Default ''
instance?
boolean
optional
metadata?
any
optional
name
string
Default ''
party?
{ id?: string; size?: [number, number] }
optional
platform?
position
number
Default 0
secrets?
{ join?: string; match?: string; spectate?: string }
optional
sessionId?
string
optional
state?
string
optional
syncId?
string
optional
timestamps?
type
number
Default 0
url?
string
optional
user
readonly

Accessors

_shouldDelete
boolean
get
application
get
applicationIsXbox
boolean
get
canInstance
boolean
get
canJoin
boolean
get
canJoinRequest
boolean
get
canPlay
boolean
get
canSpectate
boolean
get
canSync
boolean
get
group
get
guildIds
BaseSet<string>
get
imageUrl
string | null
get
isClone
boolean
get
Inherited from BaseStructure.isClone
isCustomStatus
boolean
get
isListening
boolean
get
isOnAndroid
boolean
get
isOnIOS
boolean
get
isOnSamsung
boolean
get
isOnSpotify
boolean
get
isOnXbox
boolean
get
isPlaying
boolean
get
isStreaming
boolean
get
isWatching
boolean
get
partyIsFull
boolean
get
partyIsSpotify
boolean
get
partyMaxSize
number | null
get
partySize
number | null
get
platformDiscordUrl
string | null
get
platformType
string
get
shardId
number
get
Inherited from BaseStructure.shardId
spotifyTrackUrl
string | null
get
typeText
string
get

Methods