summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-06 18:05:22 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-06 18:05:22 +0200
commit3205dc6f6080422b8d2f727fe9e4573b493ffbb1 (patch)
tree828e0d18ce3e4f70ab5e2719956f12b5dfd9d971 /src
parent:wrench: build (diff)
downloadserver-3205dc6f6080422b8d2f727fe9e4573b493ffbb1.tar.xz
remove date_of_birth as discord only saves if someone is older than 18 years (nsfw_allowed)
Diffstat (limited to 'src')
-rw-r--r--src/models/User.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/models/User.ts b/src/models/User.ts

index 7173e9a3..1ea55f6a 100644 --- a/src/models/User.ts +++ b/src/models/User.ts
@@ -13,7 +13,6 @@ export interface User { mobile: boolean; // if the user has mobile app installed premium: boolean; // if user bought nitro premium_type: number; // nitro level - date_of_birth: Date; bot: boolean; // if user is bot system: boolean; // shouldn't be used, the api sents this field type true, if the genetaed message comes from a system generated author nsfw_allowed: boolean; // if the user is older than 18 (resp. Config)