Preview deployment

class ClientPresence

extends

Presence
export class ClientPresence extends Presence

Represents the client's 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: Presence
) : boolean

Whether this presence is equal to another.

Inherited from: Presence

set(
presence: PresenceData
) : ClientPresence

Sets the client's presence

toJSON(
...props: Record<string, boolean | string>[]
) : unknown

Inherited from: Base

valueOf() : string

Inherited from: Base