add guilds array to user model

This commit is contained in:
Flam3rboy 2021-02-06 21:36:37 +01:00
parent 71ace90f07
commit 1b5e487ce0

View File

@ -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 {