aboutsummaryrefslogtreecommitdiff
path: root/lib/models/channel/message/reaction_t.mli
diff options
context:
space:
mode:
authorAdelyn Breelove <[email protected]>2019-01-23 10:40:04 -0700
committerAdelyn Breelove <[email protected]>2019-01-23 10:40:04 -0700
commitf23a12be25f819b9cc9ae05829b14edb6807082f (patch)
treee90bf9fa5a469c9707feccce9bf3926858c67f35 /lib/models/channel/message/reaction_t.mli
parentfix a doc typo (diff)
downloaddisml-f23a12be25f819b9cc9ae05829b14edb6807082f.tar.xz
disml-f23a12be25f819b9cc9ae05829b14edb6807082f.zip
Guild ID and Channel ID abstractions
Diffstat (limited to 'lib/models/channel/message/reaction_t.mli')
-rw-r--r--lib/models/channel/message/reaction_t.mli2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/models/channel/message/reaction_t.mli b/lib/models/channel/message/reaction_t.mli
index 5bdd275..db95521 100644
--- a/lib/models/channel/message/reaction_t.mli
+++ b/lib/models/channel/message/reaction_t.mli
@@ -1,3 +1,4 @@
+(** Represents a single reaction as received over the gateway. *)
type reaction_event = {
user_id: Snowflake.t;
channel_id: Snowflake.t;
@@ -6,6 +7,7 @@ type reaction_event = {
emoji: Emoji.partial_emoji;
} [@@deriving sexp, yojson]
+(** Represents a number of emojis used as a reaction on a message. *)
type t = {
count: int;
emoji: Emoji.t;