From 62b7689d0af62daee569e7d8ab3c641af756e6ef Mon Sep 17 00:00:00 2001 From: Adelyn Breelove Date: Mon, 4 Feb 2019 13:21:52 -0700 Subject: Update yojson to 1.6.0 --- lib/event.mli | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/event.mli') diff --git a/lib/event.mli b/lib/event.mli index d4a539b..4db3c84 100644 --- a/lib/event.mli +++ b/lib/event.mli @@ -16,7 +16,7 @@ type t = | GUILD_BAN_ADD of GuildBanAdd.t | GUILD_BAN_REMOVE of GuildBanRemove.t | GUILD_EMOJIS_UPDATE of GuildEmojisUpdate.t -(* | GUILD_INTEGRATIONS_UPDATE of Yojson.Safe.json *) +(* | GUILD_INTEGRATIONS_UPDATE of Yojson.Safe.t *) | GUILD_MEMBER_ADD of GuildMemberAdd.t | GUILD_MEMBER_REMOVE of GuildMemberRemove.t | GUILD_MEMBER_UPDATE of GuildMemberUpdate.t @@ -34,16 +34,16 @@ type t = | PRESENCE_UPDATE of PresenceUpdate.t | TYPING_START of TypingStart.t | USER_UPDATE of UserUpdate.t -(* | VOICE_STATE_UPDATE of Yojson.Safe.json *) -(* | VOICE_SERVER_UPDATE of Yojson.Safe.json *) +(* | VOICE_STATE_UPDATE of Yojson.Safe.t *) +(* | VOICE_SERVER_UPDATE of Yojson.Safe.t *) | WEBHOOK_UPDATE of WebhookUpdate.t | UNKNOWN of Unknown.t (** Used to convert an event string and payload into a t wrapper type. *) -val event_of_yojson : contents:Yojson.Safe.json -> string -> t +val event_of_yojson : contents:Yojson.Safe.t -> string -> t (** Sends the event to the registered handler. *) val dispatch : t -> unit (** Wrapper to other functions. This is called from the shards. *) -val handle_event : ev:string -> Yojson.Safe.json -> unit \ No newline at end of file +val handle_event : ev:string -> Yojson.Safe.t -> unit \ No newline at end of file -- cgit v1.2.3