aboutsummaryrefslogtreecommitdiff
path: root/lib/models/attachment.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/models/attachment.ml')
-rw-r--r--lib/models/attachment.ml4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/models/attachment.ml b/lib/models/attachment.ml
index 5f17a16..c56b389 100644
--- a/lib/models/attachment.ml
+++ b/lib/models/attachment.ml
@@ -1,3 +1,5 @@
+open Core
+
type t = {
id: Snowflake.t;
filename: string;
@@ -6,4 +8,4 @@ type t = {
proxy_url: string;
height: int [@default -1];
width: int [@default -1];
-} [@@deriving yojson { strict = false}] \ No newline at end of file
+} [@@deriving sexp, yojson { strict = false}] \ No newline at end of file