aboutsummaryrefslogtreecommitdiff
path: root/lib/models/message.ml
diff options
context:
space:
mode:
authorAdelyn Breelove <[email protected]>2018-12-13 14:11:54 -0700
committerAdelyn Breelove <[email protected]>2018-12-13 14:11:54 -0700
commit73d115ce6260e97f5f7ee47f743d842ffd292662 (patch)
tree7825358ae1b4736392909cb72ce26cdb26257d23 /lib/models/message.ml
parentAdd rate limit handling (diff)
downloaddisml-73d115ce6260e97f5f7ee47f743d842ffd292662.tar.xz
disml-73d115ce6260e97f5f7ee47f743d842ffd292662.zip
Working on deriving types from json
Diffstat (limited to 'lib/models/message.ml')
-rw-r--r--lib/models/message.ml21
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/models/message.ml b/lib/models/message.ml
deleted file mode 100644
index c578d9f..0000000
--- a/lib/models/message.ml
+++ /dev/null
@@ -1,21 +0,0 @@
-type t = {
- id: Snowflake.t;
- author: User.t;
- channel: Channel.t;
- member: Member.t option;
- guild: Guild.t option;
- content: string;
- timestamp: string;
- edited_timestamp: string option;
- tts: bool;
- mention_everyone: bool;
- mentions: User.t list;
- role_mentions: Role.t list;
- attachments: Attachment.t list;
- embeds: Embed.t list;
- reactions: Reaction.t list;
- nonce: Snowflake.t option;
- pinned: bool;
- webhook_id: Snowflake.t;
- kind: int;
-} [@@deriving yojson] \ No newline at end of file