From 2bb9c5c4c9dcff523c50c131713ad720398c2e7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Intevel=20=E3=83=84?= <59223342+Intevel@users.noreply.github.com> Date: Sat, 8 May 2021 16:45:58 +0200 Subject: [PATCH] Update Guild.ts --- src/models/Guild.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/models/Guild.ts b/src/models/Guild.ts index 5a2cdb26..13a7d078 100644 --- a/src/models/Guild.ts +++ b/src/models/Guild.ts @@ -47,7 +47,10 @@ export interface Guild { system_channel_flags?: number; system_channel_id?: string; unavailable?: boolean; - vanity_url_code?: string; + vanity_url?: { + code: string; + uses: number; + }; verification_level?: number; welcome_screen: { enabled: boolean; @@ -94,7 +97,10 @@ export const GuildSchema = new Schema({ system_channel_flags: Number, system_channel_id: String, unavailable: Boolean, - vanity_url_code: String, + vanity_url: { + code: String, + uses: Number + }, verification_level: Number, voice_states: { type: [Object], default: [] }, welcome_screen: {