aboutsummaryrefslogtreecommitdiff
path: root/lib/models/reaction_t.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/models/reaction_t.ml')
-rw-r--r--lib/models/reaction_t.ml6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/models/reaction_t.ml b/lib/models/reaction_t.ml
index 2e9aad5..c382b68 100644
--- a/lib/models/reaction_t.ml
+++ b/lib/models/reaction_t.ml
@@ -1,12 +1,14 @@
+open Core
+
type reaction_event = {
user_id: Snowflake.t;
channel_id: Snowflake.t;
message_id: Snowflake.t;
guild_id: Snowflake.t option [@default None];
emoji: Emoji.partial_emoji;
-} [@@deriving yojson]
+} [@@deriving sexp, yojson]
type t = {
count: int;
emoji: Emoji.t;
-} [@@deriving yojson { strict = false}] \ No newline at end of file
+} [@@deriving sexp, yojson { strict = false}] \ No newline at end of file