2021-02-05 22:01:01 +01:00
|
|
|
import { Channel } from "./Channel";
|
|
|
|
import { Emoji } from "./Emoji";
|
|
|
|
import { Member } from "./Member";
|
|
|
|
import { Role } from "./Role";
|
|
|
|
export interface Guild {
|
2021-02-09 19:29:26 +01:00
|
|
|
afk_channel_id?: bigint;
|
|
|
|
afk_timeout?: number;
|
|
|
|
application_id?: bigint;
|
|
|
|
banner?: string;
|
2021-02-06 15:35:02 +01:00
|
|
|
channels: Channel[];
|
2021-02-09 19:29:26 +01:00
|
|
|
default_message_notifications?: number;
|
|
|
|
description?: string;
|
|
|
|
discovery_splash?: string;
|
2021-02-05 22:01:01 +01:00
|
|
|
emojis: Emoji[];
|
2021-02-09 19:29:26 +01:00
|
|
|
explicit_content_filter?: number;
|
2021-02-05 22:01:01 +01:00
|
|
|
features: [];
|
2021-02-09 19:29:26 +01:00
|
|
|
icon?: string;
|
2021-02-06 15:35:02 +01:00
|
|
|
id: bigint;
|
2021-02-09 19:29:26 +01:00
|
|
|
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
|
|
|
members?: Member[];
|
|
|
|
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;
|
2021-02-06 15:35:02 +01:00
|
|
|
presences: [];
|
2021-02-09 19:29:26 +01:00
|
|
|
public_updates_channel_id?: bigint;
|
|
|
|
region?: string;
|
2021-02-06 15:35:02 +01:00
|
|
|
roles: Role[];
|
2021-02-09 19:29:26 +01:00
|
|
|
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
|
|
|
}
|