ClientPresence

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

Extends

Presence
activities:Array<Activity>
The activities of this presence
Readonly
client:Client
The client that instantiated this
clientStatus?:object
The devices this presence is on
guild?:Guild
The guild this presence is in
Readonly
member?:GuildMember
The member of this presence
The status of this presence
Readonly
user?:User
The user of this presence
userId:Snowflake
The presence's user id
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