summary refs log tree commit diff
path: root/dist/models/User.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'dist/models/User.d.ts')
-rw-r--r--dist/models/User.d.ts60
1 files changed, 60 insertions, 0 deletions
diff --git a/dist/models/User.d.ts b/dist/models/User.d.ts
new file mode 100644

index 00000000..f5676386 --- /dev/null +++ b/dist/models/User.d.ts
@@ -0,0 +1,60 @@ +export interface User { + id: bigint; + username: string; + discriminator: string; + avatar: string | null; + bot: boolean; + system: boolean; + mfa_enabled: boolean; + created_at: number; + verified: boolean; + email: string; + flags: bigint; + hash: string; + valid_tokens_since: number; + user_settings: UserSettings; +} +export interface UserSettings { + afk_timeout: number; + allow_accessibility_detection: boolean; + animate_emoji: boolean; + animate_stickers: number; + contact_sync_enabled: boolean; + convert_emoticons: boolean; + custom_status: { + emoji_id: bigint | null; + emoji_name: string | null; + expires_at: number | null; + text: string | null; + }; + default_guilds_restricted: boolean; + detect_platform_accounts: boolean; + developer_mode: boolean; + disable_games_tab: boolean; + enable_tts_command: boolean; + explicit_content_filter: number; + friend_source_flags: { + all: boolean; + }; + gif_auto_play: boolean; + guild_folders: { + color: number; + guild_ids: bigint[]; + id: number; + name: string; + }[]; + guild_positions: bigint[]; + inline_attachment_media: boolean; + inline_embed_media: boolean; + locale: string; + message_display_compact: boolean; + native_phone_integration_enabled: boolean; + render_embeds: boolean; + render_reactions: boolean; + restricted_guilds: bigint[]; + show_current_game: boolean; + status: "online" | "offline" | "dnd" | "idle"; + stream_notifications_enabled: boolean; + theme: "dark" | "white"; + timezone_offset: number; +}