summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorIntevel ツ <59223342+Intevel@users.noreply.github.com>2021-05-08 16:45:58 +0200
committerIntevel ツ <59223342+Intevel@users.noreply.github.com>2021-05-08 16:45:58 +0200
commit2bb9c5c4c9dcff523c50c131713ad720398c2e7e (patch)
tree19c99d3d7e106c6f642001780e039837efa23ea3 /src
parentUpdate package.json (diff)
downloadserver-2bb9c5c4c9dcff523c50c131713ad720398c2e7e.tar.xz
Update Guild.ts
Diffstat (limited to 'src')
-rw-r--r--src/models/Guild.ts10
1 files 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: {