aboutsummaryrefslogtreecommitdiff
path: root/lib/models/guild.ml
diff options
context:
space:
mode:
authorMishio595 <[email protected]>2018-11-25 16:02:37 -0700
committerMishio595 <[email protected]>2018-11-25 16:02:37 -0700
commit011e3224c0292dfcb0024daf474d4ef1e00b82f0 (patch)
treea04caad1d49ee4092cfb3bb3506ad5dba85120a4 /lib/models/guild.ml
parentMajor structural changes (diff)
downloaddisml-011e3224c0292dfcb0024daf474d4ef1e00b82f0.tar.xz
disml-011e3224c0292dfcb0024daf474d4ef1e00b82f0.zip
A lot is going on...
Diffstat (limited to 'lib/models/guild.ml')
-rw-r--r--lib/models/guild.ml28
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/models/guild.ml b/lib/models/guild.ml
new file mode 100644
index 0000000..364a4d5
--- /dev/null
+++ b/lib/models/guild.ml
@@ -0,0 +1,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;
+} \ No newline at end of file