aboutsummaryrefslogtreecommitdiff
path: root/lib/guild.atd
diff options
context:
space:
mode:
Diffstat (limited to 'lib/guild.atd')
-rw-r--r--lib/guild.atd8
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;