summary refs log tree commit diff
path: root/src/models/User.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-12 15:13:02 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-12 15:13:02 +0100
commitf572c7142b070533e874be048a1b43f568bb334e (patch)
tree138dfde3a1b6f00d95b2c2578de2392b84d21e56 /src/models/User.ts
parent:bug: fix export (diff)
downloadserver-f572c7142b070533e874be048a1b43f568bb334e.tar.xz
move guild arrays into seperate collections
Diffstat (limited to '')
-rw-r--r--src/models/User.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/models/User.ts b/src/models/User.ts
index 36184ce6..f591d26e 100644
--- a/src/models/User.ts
+++ b/src/models/User.ts
@@ -1,3 +1,6 @@
+import { Activity } from "./Activity";
+import { ClientStatus, Status } from "./Status";
+
 export interface User {
 	id: bigint;
 	username: string;
@@ -23,6 +26,11 @@ export interface User {
 	user_settings: UserSettings;
 	relationships: Relationship[];
 	connected_accounts: ConnectedAccount[];
+	presence: {
+		status: Status;
+		activities: Activity[];
+		client_status: ClientStatus;
+	};
 }
 
 export interface PublicUser {