diff options
| author | Adelyn Breelove <[email protected]> | 2018-12-20 16:03:27 -0700 |
|---|---|---|
| committer | Adelyn Breelove <[email protected]> | 2018-12-20 16:03:27 -0700 |
| commit | 9e3c97eb4f5d8a808844cb2e448371ce1cc150e1 (patch) | |
| tree | 2337d229ea595c25dbff88e1b100b91690b21ad4 /lib/guild.atd | |
| parent | Fix member abstraction and helper methods (diff) | |
| download | disml-9e3c97eb4f5d8a808844cb2e448371ce1cc150e1.tar.xz disml-9e3c97eb4f5d8a808844cb2e448371ce1cc150e1.zip | |
Working with Discord's channel bullshit
Diffstat (limited to 'lib/guild.atd')
| -rw-r--r-- | lib/guild.atd | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/guild.atd b/lib/guild.atd index aec3f86..c290b5f 100644 --- a/lib/guild.atd +++ b/lib/guild.atd @@ -1,8 +1,8 @@ type snowflake <ocaml from="Snowflake" t="t"> = abstract type user <ocaml from="User" t="t"> = abstract -type member <ocaml from="Member" t="t"> = abstract +type member <ocaml from="Member" t="member"> = abstract type role <ocaml from="Role" t="role"> = abstract -type channel <ocaml from="Channel" t="t"> = abstract +type channel <ocaml from="Channel" t="channel_wrapper"> = abstract type emoji <ocaml from="Emoji" t="t"> = abstract @@ -28,8 +28,8 @@ type t = { ?widget_enabled: bool option; ?widget_channel: channel option; ?system_channel: channel option; - ?large: bool option; - ?unavailable: bool option; + ~large: bool; + ~unavailable: bool; ?member_count: int option; ~members: member list; ~channels: channel list; |