More activity fixies

This commit is contained in:
Rory& committed 2026-10-17 11:58:54 +02:00
1 parent 821584570f
commit 3f65ff89b7
1 file changed
+10 -2
+10 -2
View File
@@ -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,
}