Presence
classe · Source
Represents a user's presence.
Extends: Base
Properties
userId
userId: Snowflake
The presence's user id Source
guild
guild: Guild
The guild this presence is in Source
user
user: User
The user of this presence Source
member
member: GuildMember
The member of this presence Source
status
status: PresenceStatus
The status of this presence Source
activities
activities: Array<CustomStatus> | Array<RichPresence> | Array<SpotifyRPC> | Array<Activity>
The activities of this presence (Always Activity[] if not ClientUser) Source
clientStatus
clientStatus: Object
The devices this presence is on Source
lastModified
lastModified: number
The timestamp this presence was last updated Source
client
client: Client
The client that instantiated this Source
Methods
equals
equals(presence: Presence): boolean
Whether this presence is equal to another. Parameters
| Name | Type | Description |
|---|---|---|
presence | Presence | The presence to compare with |
Returns: booleanSource