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/Member.d.ts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'dist/models/Member.d.ts') diff --git a/dist/models/Member.d.ts b/dist/models/Member.d.ts index 927f9337..379bfced 100644 --- a/dist/models/Member.d.ts +++ b/dist/models/Member.d.ts @@ -1,3 +1,4 @@ +import { PublicUser } from "./User"; export interface Member { id: bigint; nick?: string; @@ -8,4 +9,27 @@ export interface Member { mute: boolean; pending: boolean; permissions: bigint; + settings: UserGuildSettings; +} +export interface PublicMember extends Omit { + user: PublicUser; +} +export interface UserGuildSettings { + channel_overrides: { + channel_id: bigint; + message_notifications: number; + mute_config: MuteConfig; + muted: boolean; + }[]; + message_notifications: number; + mobile_push: boolean; + mute_config: MuteConfig; + muted: boolean; + suppress_everyone: boolean; + suppress_roles: boolean; + version: number; +} +export interface MuteConfig { + end_time: number; + selected_time_window: number; } -- cgit 1.4.1