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-03-04 21:59:49 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-03-04 21:59:49 +0100
commit514afaca697ae5f9a02e91342c0434fe9eeffe74 (patch)
treed0b4ac2751d0903c097aa0374820dd17222ca9d2 /src/models/User.ts
parent:sparkles: AuditLog (diff)
downloadserver-514afaca697ae5f9a02e91342c0434fe9eeffe74.tar.xz
:sparkles: AuditLog
Diffstat (limited to 'src/models/User.ts')
-rw-r--r--src/models/User.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/models/User.ts b/src/models/User.ts

index 00b7f8c6..66849844 100644 --- a/src/models/User.ts +++ b/src/models/User.ts
@@ -21,7 +21,7 @@ export interface User { mfa_enabled: boolean; // if multi factor authentication is enabled created_at: number; // registration date verified: boolean; // if the user is offically verified - email: string; // email of the user + email?: string; // email of the user flags: bigint; // UserFlags public_flags: bigint; hash: string; // hash of the password, salt is saved in password (bcrypt) @@ -88,6 +88,7 @@ export interface UserSettings { enable_tts_command: boolean; explicit_content_filter: number; friend_source_flags: { all: boolean }; + gateway_connected: boolean; gif_auto_play: boolean; guild_folders: // every top guild is displayed as a "folder" { @@ -155,6 +156,7 @@ export const UserSchema = new Schema({ enable_tts_command: Boolean, explicit_content_filter: Number, friend_source_flags: { all: Boolean }, + gateway_connected: Boolean, gif_auto_play: Boolean, // every top guild is displayed as a "folder" guild_folders: [