2021-02-13 14:15:59 +01:00
|
|
|
/// <reference path="../util/MongoBigInt.d.ts" />
|
|
|
|
import { Schema, Document } from "mongoose";
|
2021-02-14 20:41:40 +01:00
|
|
|
export interface GuildDocument extends Document, Guild {
|
|
|
|
id: bigint;
|
|
|
|
}
|
|
|
|
export interface Guild {
|
2021-02-13 14:15:59 +01:00
|
|
|
id: bigint;
|
2021-02-09 19:29:26 +01:00
|
|
|
afk_channel_id?: bigint;
|
|
|
|
afk_timeout?: number;
|
|
|
|
application_id?: bigint;
|
|
|
|
banner?: string;
|
|
|
|
default_message_notifications?: number;
|
|
|
|
description?: string;
|
|
|
|
discovery_splash?: string;
|
|
|
|
explicit_content_filter?: number;
|
2021-02-11 20:44:26 +01:00
|
|
|
features: string[];
|
2021-02-09 19:29:26 +01:00
|
|
|
icon?: string;
|
|
|
|
large?: boolean;
|
|
|
|
max_members?: number;
|
|
|
|
max_presences?: number;
|
|
|
|
max_video_channel_users?: number;
|
|
|
|
member_count?: number;
|
2021-02-10 20:59:58 +01:00
|
|
|
presence_count?: number;
|
2021-02-09 19:29:26 +01:00
|
|
|
mfa_level?: number;
|
2021-02-06 15:35:02 +01:00
|
|
|
name: string;
|
|
|
|
owner_id: bigint;
|
2021-02-09 19:29:26 +01:00
|
|
|
preferred_locale?: string;
|
|
|
|
premium_subscription_count?: number;
|
|
|
|
premium_tier?: number;
|
|
|
|
public_updates_channel_id?: bigint;
|
|
|
|
region?: string;
|
|
|
|
rules_channel_id?: bigint;
|
|
|
|
splash?: string;
|
|
|
|
system_channel_flags?: number;
|
|
|
|
system_channel_id?: bigint;
|
|
|
|
unavailable?: boolean;
|
|
|
|
vanity_url_code?: string;
|
|
|
|
verification_level?: number;
|
2021-02-06 15:35:02 +01:00
|
|
|
voice_states: [];
|
2021-02-05 22:01:01 +01:00
|
|
|
welcome_screen: [];
|
2021-02-09 19:29:26 +01:00
|
|
|
widget_channel_id?: bigint;
|
|
|
|
widget_enabled?: boolean;
|
2021-02-05 22:01:01 +01:00
|
|
|
}
|
2021-02-13 14:15:59 +01:00
|
|
|
export declare const GuildSchema: Schema<Document<any>, import("mongoose").Model<Document<any>>, undefined>;
|
2021-02-14 20:41:40 +01:00
|
|
|
export declare const GuildModel: import("mongoose").Model<GuildDocument>;
|