mirror of
https://github.com/spacebarchat/server.git
synced 2026-11-04 19:58:52 +00:00
More activity fixies
This commit is contained in:
1 parent
821584570f
commit
3f65ff89b7
1 file changed
+10
-2
@@ -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,
|
||||
}
|
||||
Reference in new issue
Block a user