Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PresenceGame

Object presenting the member's current activity

Hierarchy

  • PresenceGame

Index

Properties

Optional applicationId

applicationId: Snowflake

Application ID for the game

Optional assets

Images for the presence and their hover texts

createdAt

createdAt: number

Unix timestamp of when the activity was added to the member's session

Optional details

details: string | null

What the player is currently doing

Optional emoji

The emoji used for a custom status

Optional flags

Describes what the payload includes

Optional instance

instance: undefined | false | true

Whether or not the activity an instanced game session

name

name: string

The activity's name

Optional party

Information for the current party of the player

Optional secrets

Secrets for Rich Presence joining and spectating

Optional state

state: string | null

The member's current party status

Optional timestamps

Unix timestamps for start and/or end of the game

type

The activity's type

Optional url

url: string | null

Stream URL, is validated when type is PresenceActivityType.Streaming

Generated using TypeDoc