summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-11 08:33:02 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-11 08:33:02 +0100
commit1767bf10d0b10a50f59ab3aa1a5e3586e273ac08 (patch)
treea2e258efc3ad94277e6af8c2a00bfd958d39e15c /src
parentfix models + move schemas in api and gateway (diff)
downloadserver-1767bf10d0b10a50f59ab3aa1a5e3586e273ac08.tar.xz
:bug: fix member model
Diffstat (limited to 'src')
-rw-r--r--src/models/Member.ts13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/models/Member.ts b/src/models/Member.ts
index c0c5516d..8b63260a 100644
--- a/src/models/Member.ts
+++ b/src/models/Member.ts
@@ -1,14 +1,11 @@
-import { Role } from "./Role";
-import { User } from "./User";
-
 export interface Member {
-	user: User;
-	nick: string;
-	roles: Role[];
+	id: bigint;
+	nick?: string;
+	roles: bigint[];
 	joined_at: number;
-	premium_since: number;
+	premium_since?: number;
 	deaf: boolean;
 	mute: boolean;
 	pending: boolean;
-	permissions: string;
+	permissions: bigint;
 }