summary refs log tree commit diff
diff options
context:
space:
mode:
authorBuildTools <59115290+BanTheNons@users.noreply.github.com>2021-08-06 15:23:09 +0300
committerBuildTools <59115290+BanTheNons@users.noreply.github.com>2021-08-06 15:23:09 +0300
commit122bed345627437bc263e3267d405adaacc51544 (patch)
tree309f01bbb1b7eacf942a4425e27d89dc534c7567
parentAdded bot to PublicUserProjection (diff)
downloadserver-122bed345627437bc263e3267d405adaacc51544.tar.xz
Added accent_color
-rw-r--r--src/models/User.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/models/User.ts b/src/models/User.ts

index add848d0..ca13ebb7 100644 --- a/src/models/User.ts +++ b/src/models/User.ts
@@ -10,6 +10,7 @@ export const PublicUserProjection = { id: true, public_flags: true, avatar: true, + accent_color: true, bio: true, bot: true, }; @@ -19,6 +20,7 @@ export interface User { username: string; // username max length 32, min 2 discriminator: string; // #0001 4 digit long string from #0001 - #9999 avatar: string | null; // hash of the user avatar + accent_color: number; // banner color of user phone: string | null; // phone number of the user desktop: boolean; // if the user has desktop app installed mobile: boolean; // if the user has mobile app installed @@ -64,6 +66,7 @@ export interface PublicUser { discriminator: string; username: string; avatar: string | null; + accent_color: number; public_flags: bigint; bot: boolean; }