1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 13:14:06 +01:00
server/dist/models/Guild.d.ts
2021-02-13 14:15:59 +01:00

43 lines
1.3 KiB
TypeScript

/// <reference path="../util/MongoBigInt.d.ts" />
import { Schema, Document } from "mongoose";
export interface Guild extends Document {
id: bigint;
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;
features: string[];
icon?: string;
large?: boolean;
max_members?: number;
max_presences?: number;
max_video_channel_users?: number;
member_count?: number;
presence_count?: number;
mfa_level?: number;
name: string;
owner_id: bigint;
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;
voice_states: [];
welcome_screen: [];
widget_channel_id?: bigint;
widget_enabled?: boolean;
}
export declare const GuildSchema: Schema<Document<any>, import("mongoose").Model<Document<any>>, undefined>;
export declare const GuildModel: import("mongoose").Model<Guild>;