diff options
| author | Adelyn Breedlove <[email protected]> | 2019-02-12 19:49:33 +0000 |
|---|---|---|
| committer | Adelyn Breedlove <[email protected]> | 2019-02-12 19:49:33 +0000 |
| commit | b245933103d84a4320a9b21f0faaf84a11a2886b (patch) | |
| tree | b5ff6275e4053971d4f0d524cf39bd1310af4e67 /lib/models/channel | |
| parent | Random useless command in the test bot (diff) | |
| download | disml-b245933103d84a4320a9b21f0faaf84a11a2886b.tar.xz disml-b245933103d84a4320a9b21f0faaf84a11a2886b.zip | |
Fix opam dependencies and revert changes
Diffstat (limited to 'lib/models/channel')
| -rw-r--r-- | lib/models/channel/channel_t.ml | 2 | ||||
| -rw-r--r-- | lib/models/channel/channel_t.mli | 2 | ||||
| -rw-r--r-- | lib/models/channel/message/message.ml | 1 | ||||
| -rw-r--r-- | lib/models/channel/message/reaction.mli | 2 |
4 files changed, 4 insertions, 3 deletions
diff --git a/lib/models/channel/channel_t.ml b/lib/models/channel/channel_t.ml index 8611d9c..bdc5b4b 100644 --- a/lib/models/channel/channel_t.ml +++ b/lib/models/channel/channel_t.ml @@ -1,6 +1,6 @@ open Core
-exception Invalid_channel of Yojson.Safe.t
+exception Invalid_channel of Yojson.Safe.json
type group = {
id: Channel_id_t.t;
diff --git a/lib/models/channel/channel_t.mli b/lib/models/channel/channel_t.mli index 313939f..8b8cc77 100644 --- a/lib/models/channel/channel_t.mli +++ b/lib/models/channel/channel_t.mli @@ -1,4 +1,4 @@ -exception Invalid_channel of Yojson.Safe.t
+exception Invalid_channel of Yojson.Safe.json
(** Represents a Group channel object. *)
type group = {
diff --git a/lib/models/channel/message/message.ml b/lib/models/channel/message/message.ml index 43929d2..d3917e9 100644 --- a/lib/models/channel/message/message.ml +++ b/lib/models/channel/message/message.ml @@ -1,3 +1,4 @@ +open Core
open Async
include Message_t
diff --git a/lib/models/channel/message/reaction.mli b/lib/models/channel/message/reaction.mli index 20ab436..38343cb 100644 --- a/lib/models/channel/message/reaction.mli +++ b/lib/models/channel/message/reaction.mli @@ -1,6 +1,6 @@ include module type of Reaction_t -(* val delete : Reaction_t.t -> Yojson.Safe.t Deferred.Or_error.t +(* val delete : Reaction_t.t -> Yojson.Safe.json Deferred.Or_error.t val get_users : Reaction_t.t -> int -> User_t.t list Deferred.Or_error.t val get_users_after : Reaction_t.t -> Snowflake.t -> int -> User_t.t list Deferred.Or_error.t val get_users_before : Reaction_t.t -> Snowflake.t -> int -> User_t.t list Deferred.Or_error.t *)
\ No newline at end of file |