From 1b5e487ce006018c9e7c578f285e020d14c9f991 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Sat, 6 Feb 2021 21:36:37 +0100 Subject: [PATCH] :sparkles: add guilds array to user model --- src/models/User.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/models/User.ts b/src/models/User.ts index 4cef39c6..27e20e1c 100644 --- a/src/models/User.ts +++ b/src/models/User.ts @@ -15,6 +15,7 @@ export interface User { hash: string; // hash of the password, salt is saved in password (bcrypt) valid_tokens_since: number; // all tokens with a previous issue date are invalid user_settings: UserSettings; + guilds: bigint[] // array of guild ids the user is part of } export interface UserSettings {