diff options
| author | Adelyn Breelove <[email protected]> | 2018-12-13 15:50:37 -0700 |
|---|---|---|
| committer | Adelyn Breelove <[email protected]> | 2018-12-13 15:50:37 -0700 |
| commit | 179d9598fe62e2966471b312fd438e98ff3a272a (patch) | |
| tree | cbe69315ccd51dc69912a39fee30dfa767fa491e /lib/models/message.atd | |
| parent | Working on deriving types from json (diff) | |
| download | disml-179d9598fe62e2966471b312fd438e98ff3a272a.tar.xz disml-179d9598fe62e2966471b312fd438e98ff3a272a.zip | |
Fix more dispatch issues
Diffstat (limited to 'lib/models/message.atd')
| -rw-r--r-- | lib/models/message.atd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/models/message.atd b/lib/models/message.atd index 88c60ec..1c90be9 100644 --- a/lib/models/message.atd +++ b/lib/models/message.atd @@ -1,6 +1,7 @@ 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 partial_member <ocaml from="Member" t="partial_member"> = abstract type role <ocaml from="Role" t="t"> = abstract type attachment <ocaml from="Attachment" t="t"> = abstract type embed <ocaml from="Embed" t="t"> = abstract @@ -10,7 +11,7 @@ type t = { id: snowflake; author: user; channel_id: snowflake; - ?member: member option; + ?member: partial_member option; ?guild_id: snowflake option; content: string; timestamp: string; |