class ClientPresence

extends

Presence
export class ClientPresence extends Presence

Represents the client's presence.

activities : Array<Activity>

The activities of this presence

readonly
client : Client

The client that instantiated this

optional
clientStatus? : object

The devices this presence is on

optional
guild? : Guild

The guild this presence is in

readonlyoptional
member? : GuildMember

The member of this presence

status : PresenceStatus

The status of this presence

readonlyoptional
user? : User

The user of this presence

userId : Snowflake

The presence's user id

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