summary refs log tree commit diff
path: root/dist/models/Guild.d.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-14 20:41:40 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-14 20:41:40 +0100
commit775296d0048d290b959f07cde10a3ffc1430bad9 (patch)
treeb622b48450641cb044a1b3f4500306d95f748205 /dist/models/Guild.d.ts
parent:bug: fix permission (diff)
downloadserver-775296d0048d290b959f07cde10a3ffc1430bad9.tar.xz
:bug: fix Event type
Diffstat (limited to 'dist/models/Guild.d.ts')
-rw-r--r--dist/models/Guild.d.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/dist/models/Guild.d.ts b/dist/models/Guild.d.ts

index 43fcf973..3c429ab6 100644 --- a/dist/models/Guild.d.ts +++ b/dist/models/Guild.d.ts
@@ -1,6 +1,9 @@ /// <reference path="../util/MongoBigInt.d.ts" /> import { Schema, Document } from "mongoose"; -export interface Guild extends Document { +export interface GuildDocument extends Document, Guild { + id: bigint; +} +export interface Guild { id: bigint; afk_channel_id?: bigint; afk_timeout?: number; @@ -39,4 +42,4 @@ export interface Guild extends Document { widget_enabled?: boolean; } export declare const GuildSchema: Schema<Document<any>, import("mongoose").Model<Document<any>>, undefined>; -export declare const GuildModel: import("mongoose").Model<Guild>; +export declare const GuildModel: import("mongoose").Model<GuildDocument>;