ClientPresence

export class ClientPresence extends Presence
export class ClientPresence extends Presence
Represents the client's presence.

Extends

Presence
activities:Activity[]
The activities of this presence
Inherited from Presence
Readonly
client:Client<true>
The client that instantiated this
Inherited from Base
The devices this presence is on
Inherited from Presence
guild:Guild | null
The guild this presence is in
Inherited from Presence
Readonly
member:GuildMember | null
The member of this presence
Inherited from Presence
The status of this presence
Inherited from Presence
Readonly
user:User | null
The user of this presence
Inherited from Presence
userId:Snowflake
The presence's user id
Inherited from Presence
equals(presence):boolean
Whether this presence is equal to another.
NameTypeOptionalDescription
presencePresenceNoThe presence to compare with
Inherited from Presence
set(presence):ClientPresence
Sets the client's presence
NameTypeOptionalDescription
presencePresenceDataNoThe data to set the presence to
toJSON(...props):unknown
NameTypeOptionalDescription
...propsRecord<string, boolean | string>[]NoNone
Inherited from Base
valueOf():string