summary refs log tree commit diff
path: root/src/util/schemas/responses/GuildWidgetJsonResponse.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/schemas/responses/GuildWidgetJsonResponse.ts')
-rw-r--r--src/util/schemas/responses/GuildWidgetJsonResponse.ts21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/util/schemas/responses/GuildWidgetJsonResponse.ts b/src/util/schemas/responses/GuildWidgetJsonResponse.ts
new file mode 100644
index 00000000..ef85dd08
--- /dev/null
+++ b/src/util/schemas/responses/GuildWidgetJsonResponse.ts
@@ -0,0 +1,21 @@
+import { ClientStatus } from "../../interfaces";
+
+export interface GuildWidgetJsonResponse {
+	id: string;
+	name: string;
+	instant_invite: string;
+	channels: {
+		id: string;
+		name: string;
+		position: number;
+	}[];
+	members: {
+		id: string;
+		username: string;
+		discriminator: string;
+		avatar: string | null;
+		status: ClientStatus;
+		avatar_url: string;
+	}[];
+	presence_count: number;
+}