1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 05:02:37 +01:00

apparently this can also be null

This commit is contained in:
BuildTools 2021-08-06 15:44:28 +03:00
parent 122bed3456
commit 9a356e5023

View File

@ -20,7 +20,7 @@ export interface User {
username: string; // username max length 32, min 2 username: string; // username max length 32, min 2
discriminator: string; // #0001 4 digit long string from #0001 - #9999 discriminator: string; // #0001 4 digit long string from #0001 - #9999
avatar: string | null; // hash of the user avatar avatar: string | null; // hash of the user avatar
accent_color: number; // banner color of user accent_color: number | null; // banner color of user
phone: string | null; // phone number of the user phone: string | null; // phone number of the user
desktop: boolean; // if the user has desktop app installed desktop: boolean; // if the user has desktop app installed
mobile: boolean; // if the user has mobile app installed mobile: boolean; // if the user has mobile app installed