aboutsummaryrefslogtreecommitdiff
path: root/lib/models/guild.ml
blob: 364a4d5bd9437f263de074130c472d595453e75b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
type t = {
    id: Snowflake.t;
    name: string;
    icon: string;
    splash: string;
    owner: User.t;
    region: string;
    afk_channel: Channel.t option;
    afk_timeout: int;
    embed_enabled: bool;
    embed_channel: Channel.t;
    verification_level: int;
    default_message_notifications: int;
    explicit_content_filter: int;
    roles: Role.t list;
    emojis: Emoji.t list;
    features: string list;
    mfa_level: int;
    application_id: Snowflake.t option;
    widget_enabled: bool option;
    widget_channel: Channel.t option;
    system_channel: Channel.t option;
    large: bool;
    unavailable: bool;
    member_count: int;
    members: Member.t list;
    channels: Channel.t list;
}