diff options
| author | Adelyn Breedlove <[email protected]> | 2019-01-13 23:52:45 +0000 |
|---|---|---|
| committer | Adelyn Breedlove <[email protected]> | 2019-01-13 23:52:45 +0000 |
| commit | d95f0342f9cf2280b5d9794ab638c16a59c02a69 (patch) | |
| tree | 191164d198c07cf388d9aae8a54013e5613c272c /lib/message.atd | |
| parent | Merge branch 'dev' into 'master' (diff) | |
| parent | Add deriving sexp to models (diff) | |
| download | disml-d95f0342f9cf2280b5d9794ab638c16a59c02a69.tar.xz disml-d95f0342f9cf2280b5d9794ab638c16a59c02a69.zip | |
Merge branch 'switch-to-deriving_yojson' into 'master'
Switch to deriving yojson
See merge request Mishio595/disml!12
Diffstat (limited to 'lib/message.atd')
| -rw-r--r-- | lib/message.atd | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/lib/message.atd b/lib/message.atd deleted file mode 100644 index 8611f6a..0000000 --- a/lib/message.atd +++ /dev/null @@ -1,29 +0,0 @@ -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 attachment <ocaml from="Attachment" t="t"> = abstract -type embed <ocaml from="Embed" t="t"> = abstract -type reaction <ocaml from="Reaction" t="t"> = abstract - -type t = { - id: snowflake; - author: user; - channel_id: snowflake; - ?member: partial_member option; - ?guild_id: snowflake option; - content: string; - timestamp: string; - ?edited_timestamp: string option; - tts: bool; - mention_everyone: bool; - mentions: snowflake list; - ?role_mentions: snowflake list option; - attachments: attachment list; - embeds: embed list; - ?reactions: snowflake list option; - ?nonce: snowflake option; - pinned: bool; - ?webhook_id: snowflake option; - kind <json name="type">: int; -}
\ No newline at end of file |