summary refs log tree commit diff
path: root/dist/models/Member.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'dist/models/Member.d.ts')
-rw-r--r--dist/models/Member.d.ts24
1 files changed, 24 insertions, 0 deletions
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<Member, "settings" | "id"> {
+    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;
 }