From 673e691c6e26a0abbadb93cf8ef4b1e45ad1accc Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Thu, 11 Feb 2021 20:44:26 +0100 Subject: :wrench: build --- dist/models/User.d.ts | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) (limited to 'dist/models/User.d.ts') diff --git a/dist/models/User.d.ts b/dist/models/User.d.ts index 5e86a8a3..fad4ccfd 100644 --- a/dist/models/User.d.ts +++ b/dist/models/User.d.ts @@ -3,17 +3,50 @@ export interface User { username: string; discriminator: string; avatar: string | null; + phone?: string; + desktop: boolean; + mobile: boolean; + premium: boolean; + premium_type: number; bot: boolean; system: boolean; + nsfw_allowed: boolean; mfa_enabled: boolean; created_at: number; verified: boolean; email: string; flags: bigint; + public_flags: bigint; hash: string; + guilds: bigint[]; valid_tokens_since: number; user_settings: UserSettings; - guilds: bigint[]; + relationships: Relationship[]; + connected_accounts: ConnectedAccount[]; +} +export interface PublicUser { + id: bigint; + discriminator: string; + username: string; + avatar?: string; + publicFlags: bigint; +} +export interface ConnectedAccount { + access_token: string; + friend_sync: boolean; + id: string; + name: string; + revoked: boolean; + show_activity: boolean; + type: string; + verifie: boolean; + visibility: number; +} +export interface Relationship { + id: bigint; + nickname?: string; + type: number; + user_id: bigint; } export interface UserSettings { afk_timeout: number; -- cgit 1.5.1