summary refs log tree commit diff
path: root/dist/models/Guild.d.ts
diff options
context:
space:
mode:
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>;