diff --git a/src/util/interfaces/Activity.ts b/src/util/interfaces/Activity.ts index ff12500cf..f8b3ab53f 100644 --- a/src/util/interfaces/Activity.ts +++ b/src/util/interfaces/Activity.ts @@ -23,12 +23,14 @@ export interface Activity { created_at?: number; // unix timestamp of when the activity was added to the user's session timestamps?: { // unix timestamps for start and/or end of the game - start: number; - end: number; + start?: number; + end?: number; }; application_id?: string; // application id for the game details?: string; + details_url?: string; state?: string; + status_display_type?: ActivityStatusDisplayType | null; emoji?: { name: string; id?: string; @@ -77,3 +79,9 @@ export enum ActivityType { CUSTOM = 4, COMPETING = 5, } + +export enum ActivityStatusDisplayType { + NAME = 0, + STATE = 1, + DETAILS = 2, +}