From e1a6a7d050dc584cf57237e960e1edbd18890ce5 Mon Sep 17 00:00:00 2001 From: Adelyn Breedlove Date: Sat, 19 Jan 2019 13:07:31 -0700 Subject: update docs export --- docs/disml/Disml/Client/index.html | 2 +- docs/disml/Disml/Client_options/index.html | 2 ++ docs/disml/Disml/Config/index.html | 2 -- docs/disml/Disml/Dispatch/index.html | 2 ++ docs/disml/Disml/index.html | 2 +- docs/disml/Disml__Client/index.html | 2 +- docs/disml/Disml__Client_options/.dune-keep | 0 docs/disml/Disml__Client_options/index.html | 2 ++ docs/disml/Disml__Config/.dune-keep | 0 docs/disml/Disml__Config/index.html | 2 -- docs/disml/Disml__Dispatch/.dune-keep | 0 docs/disml/Disml__Dispatch/index.html | 2 ++ docs/index.html | 2 +- 13 files changed, 12 insertions(+), 8 deletions(-) create mode 100644 docs/disml/Disml/Client_options/index.html delete mode 100644 docs/disml/Disml/Config/index.html create mode 100644 docs/disml/Disml/Dispatch/index.html create mode 100644 docs/disml/Disml__Client_options/.dune-keep create mode 100644 docs/disml/Disml__Client_options/index.html delete mode 100644 docs/disml/Disml__Config/.dune-keep delete mode 100644 docs/disml/Disml__Config/index.html create mode 100644 docs/disml/Disml__Dispatch/.dune-keep create mode 100644 docs/disml/Disml__Dispatch/index.html (limited to 'docs') diff --git a/docs/disml/Disml/Client/index.html b/docs/disml/Disml/Client/index.html index fdbcc87..d65d400 100644 --- a/docs/disml/Disml/Client/index.html +++ b/docs/disml/Disml/Client/index.html @@ -1,2 +1,2 @@ -Client (disml.Disml.Client)

Module Disml.Client

include Config
val token : string Stdlib.ref
val hello : (Yojson.Safe.json -> unit) Stdlib.ref
val ready : (Yojson.Safe.json -> unit) Stdlib.ref
val resumed : (Yojson.Safe.json -> unit) Stdlib.ref
val invalid_session : (Yojson.Safe.json -> unit) Stdlib.ref
val channel_create : (Channel_t.t -> unit) Stdlib.ref
val channel_update : (Channel_t.t -> unit) Stdlib.ref
val channel_delete : (Channel_t.t -> unit) Stdlib.ref
val channel_pins_update : (Yojson.Safe.json -> unit) Stdlib.ref
val guild_create : (Guild_t.t -> unit) Stdlib.ref
val guild_update : (Guild_t.t -> unit) Stdlib.ref
val guild_delete : (Guild_t.t -> unit) Stdlib.ref
val member_ban : (Ban_t.t -> unit) Stdlib.ref
val member_unban : (Ban_t.t -> unit) Stdlib.ref
val guild_emojis_update : (Yojson.Safe.json -> unit) Stdlib.ref
val integrations_update : (Yojson.Safe.json -> unit) Stdlib.ref
val member_join : (Member_t.t -> unit) Stdlib.ref
val member_leave : (Member_t.member_wrapper -> unit) Stdlib.ref
val member_update : (Member_t.member_update -> unit) Stdlib.ref
val members_chunk : (Member_t.t list -> unit) Stdlib.ref
val role_create : (Role_t.t -> unit) Stdlib.ref
val role_update : (Role_t.t -> unit) Stdlib.ref
val role_delete : (Role_t.t -> unit) Stdlib.ref
val message_create : (Message_t.t -> unit) Stdlib.ref
val message_update : (Message_t.message_update -> unit) Stdlib.ref
val message_delete : (Snowflake.t -> Snowflake.t -> unit) Stdlib.ref
val message_bulk_delete : (Snowflake.t list -> unit) Stdlib.ref
val reaction_add : (Reaction_t.reaction_event -> unit) Stdlib.ref
val reaction_remove : (Reaction_t.reaction_event -> unit) Stdlib.ref
val reaction_bulk_remove : (Reaction_t.t list -> unit) Stdlib.ref
val presence_update : (Presence.t -> unit) Stdlib.ref
val typing_start : (Yojson.Safe.json -> unit) Stdlib.ref
val user_update : (Yojson.Safe.json -> unit) Stdlib.ref
val voice_state_update : (Yojson.Safe.json -> unit) Stdlib.ref
val voice_server_update : (Yojson.Safe.json -> unit) Stdlib.ref
val webhooks_update : (Yojson.Safe.json -> unit) Stdlib.ref
type t = {
sharder : Sharder.t;
token : string;
}
val start : ?⁠count:int -> string -> t Async_kernel__Deferred.t
val set_status : status:Yojson.Safe.json -> t -> Sharder.Shard.shard list Async.Deferred.t
val set_status_with : f:(Sharder.Shard.shard -> Yojson.Safe.json) -> t -> Sharder.Shard.shard list Async.Deferred.t
val request_guild_members : guild:Snowflake.t -> ?⁠query:string -> ?⁠limit:int -> t -> Sharder.Shard.shard list Async.Deferred.t
\ No newline at end of file +Client (disml.Disml.Client)

Module Disml.Client

include Client_options
val token : string Stdlib.ref
include Dispatch
val hello : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when connecting to the gateway, most users will have no use for this.

val ready : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when each shard receives READY from discord after identifying on the gateway. Other event dispatch is received after this.

val resumed : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when successfully reconnecting to the gateway.

val invalid_session : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when Discord decides a session is invalid, much like Client.hello this is not very useful for most people.

val channel_create : (Channel_t.t -> unit) Stdlib.ref

Dispatched when a channel is created which is visible to the bot.

val channel_update : (Channel_t.t -> unit) Stdlib.ref

Dispatched when a channel visible to the bot is changed.

val channel_delete : (Channel_t.t -> unit) Stdlib.ref

Dispatched when a channel visible to the bot is deleted.

val channel_pins_update : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when messages are pinned or unpinned from a a channel.

val guild_create : (Guild_t.t -> unit) Stdlib.ref

Dispatched when the bot joins a guild, and during startup.

val guild_update : (Guild_t.t -> unit) Stdlib.ref

Dispatched when a guild the bot is in is edited.

val guild_delete : (Guild_t.t -> unit) Stdlib.ref

Dispatched when the bot is removed from a guild.

val member_ban : (Ban_t.t -> unit) Stdlib.ref

Dispatched when a member is banned.

val member_unban : (Ban_t.t -> unit) Stdlib.ref

Dispatched when a member is unbanned.

val guild_emojis_update : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when emojis are added or removed from a guild.

val integrations_update : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when a guild's integrations are updated.

val member_join : (Member_t.t -> unit) Stdlib.ref

Dispatched when a member joins a guild.

val member_leave : (Member_t.member_wrapper -> unit) Stdlib.ref

Dispatched when a member leaves a guild. Is Dispatched alongside Client.member_ban when a user is banned.

val member_update : (Member_t.member_update -> unit) Stdlib.ref

Dispatched when a member object is updated.

val members_chunk : (Member_t.t list -> unit) Stdlib.ref

Dispatched when requesting guild members through Client.request_guild_members

val role_create : (Role_t.t -> unit) Stdlib.ref

Dispatched when a role is created.

val role_update : (Role_t.t -> unit) Stdlib.ref

Dispatched when a role is edited.

val role_delete : (Role_t.t -> unit) Stdlib.ref

Dispatched when a role is deleted.

val message_create : (Message_t.t -> unit) Stdlib.ref

Dispatched when a message is sent.

val message_update : (Message_t.message_update -> unit) Stdlib.ref

Dispatched when a message is edited. This does not necessarily mean the content changed.

val message_delete : (Snowflake.t -> Snowflake.t -> unit) Stdlib.ref

Dispatched when a message is deleted.

val message_bulk_delete : (Snowflake.t list -> unit) Stdlib.ref

Dispatched when messages are bulk deleted.

val reaction_add : (Reaction_t.reaction_event -> unit) Stdlib.ref

Dispatched when a rection is added to a message.

val reaction_remove : (Reaction_t.reaction_event -> unit) Stdlib.ref

Dispatched when a reaction is removed from a message.

val reaction_bulk_remove : (Reaction_t.t list -> unit) Stdlib.ref

Dispatched when all reactions are cleared from a message.

val presence_update : (Presence.t -> unit) Stdlib.ref

Dispatched when a user updates their presence.

val typing_start : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when a typing indicator is displayed.

val user_update : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when the current user is updated. You most likely want Client.member_update or Client.presence_update instead.

type t = {
sharder : Sharder.t;
token : string;
}
val start : ?⁠count:int -> string -> t Async_kernel__Deferred.t
val set_status : status:Yojson.Safe.json -> t -> Sharder.Shard.shard list Async.Deferred.t
val set_status_with : f:(Sharder.Shard.shard -> Yojson.Safe.json) -> t -> Sharder.Shard.shard list Async.Deferred.t
val request_guild_members : guild:Snowflake.t -> ?⁠query:string -> ?⁠limit:int -> t -> Sharder.Shard.shard list Async.Deferred.t
\ No newline at end of file diff --git a/docs/disml/Disml/Client_options/index.html b/docs/disml/Disml/Client_options/index.html new file mode 100644 index 0000000..0c28b72 --- /dev/null +++ b/docs/disml/Disml/Client_options/index.html @@ -0,0 +1,2 @@ + +Client_options (disml.Disml.Client_options)

Module Disml.Client_options

val token : string Stdlib.ref
\ No newline at end of file diff --git a/docs/disml/Disml/Config/index.html b/docs/disml/Disml/Config/index.html deleted file mode 100644 index c52a9b6..0000000 --- a/docs/disml/Disml/Config/index.html +++ /dev/null @@ -1,2 +0,0 @@ - -Config (disml.Disml.Config)

Module Disml.Config

val token : string Stdlib.ref
val hello : (Yojson.Safe.json -> unit) Stdlib.ref
val ready : (Yojson.Safe.json -> unit) Stdlib.ref
val resumed : (Yojson.Safe.json -> unit) Stdlib.ref
val invalid_session : (Yojson.Safe.json -> unit) Stdlib.ref
val channel_create : (Channel_t.t -> unit) Stdlib.ref
val channel_update : (Channel_t.t -> unit) Stdlib.ref
val channel_delete : (Channel_t.t -> unit) Stdlib.ref
val channel_pins_update : (Yojson.Safe.json -> unit) Stdlib.ref
val guild_create : (Guild_t.t -> unit) Stdlib.ref
val guild_update : (Guild_t.t -> unit) Stdlib.ref
val guild_delete : (Guild_t.t -> unit) Stdlib.ref
val member_ban : (Ban_t.t -> unit) Stdlib.ref
val member_unban : (Ban_t.t -> unit) Stdlib.ref
val guild_emojis_update : (Yojson.Safe.json -> unit) Stdlib.ref
val integrations_update : (Yojson.Safe.json -> unit) Stdlib.ref
val member_join : (Member_t.t -> unit) Stdlib.ref
val member_leave : (Member_t.member_wrapper -> unit) Stdlib.ref
val member_update : (Member_t.member_update -> unit) Stdlib.ref
val members_chunk : (Member_t.t list -> unit) Stdlib.ref
val role_create : (Role_t.t -> unit) Stdlib.ref
val role_update : (Role_t.t -> unit) Stdlib.ref
val role_delete : (Role_t.t -> unit) Stdlib.ref
val message_create : (Message_t.t -> unit) Stdlib.ref
val message_update : (Message_t.message_update -> unit) Stdlib.ref
val message_delete : (Snowflake.t -> Snowflake.t -> unit) Stdlib.ref
val message_bulk_delete : (Snowflake.t list -> unit) Stdlib.ref
val reaction_add : (Reaction_t.reaction_event -> unit) Stdlib.ref
val reaction_remove : (Reaction_t.reaction_event -> unit) Stdlib.ref
val reaction_bulk_remove : (Reaction_t.t list -> unit) Stdlib.ref
val presence_update : (Presence.t -> unit) Stdlib.ref
val typing_start : (Yojson.Safe.json -> unit) Stdlib.ref
val user_update : (Yojson.Safe.json -> unit) Stdlib.ref
val voice_state_update : (Yojson.Safe.json -> unit) Stdlib.ref
val voice_server_update : (Yojson.Safe.json -> unit) Stdlib.ref
val webhooks_update : (Yojson.Safe.json -> unit) Stdlib.ref
\ No newline at end of file diff --git a/docs/disml/Disml/Dispatch/index.html b/docs/disml/Disml/Dispatch/index.html new file mode 100644 index 0000000..1441d5c --- /dev/null +++ b/docs/disml/Disml/Dispatch/index.html @@ -0,0 +1,2 @@ + +Dispatch (disml.Disml.Dispatch)

Module Disml.Dispatch

val hello : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when connecting to the gateway, most users will have no use for this.

val ready : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when each shard receives READY from discord after identifying on the gateway. Other event dispatch is received after this.

val resumed : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when successfully reconnecting to the gateway.

val invalid_session : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when Discord decides a session is invalid, much like Client.hello this is not very useful for most people.

val channel_create : (Channel_t.t -> unit) Stdlib.ref

Dispatched when a channel is created which is visible to the bot.

val channel_update : (Channel_t.t -> unit) Stdlib.ref

Dispatched when a channel visible to the bot is changed.

val channel_delete : (Channel_t.t -> unit) Stdlib.ref

Dispatched when a channel visible to the bot is deleted.

val channel_pins_update : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when messages are pinned or unpinned from a a channel.

val guild_create : (Guild_t.t -> unit) Stdlib.ref

Dispatched when the bot joins a guild, and during startup.

val guild_update : (Guild_t.t -> unit) Stdlib.ref

Dispatched when a guild the bot is in is edited.

val guild_delete : (Guild_t.t -> unit) Stdlib.ref

Dispatched when the bot is removed from a guild.

val member_ban : (Ban_t.t -> unit) Stdlib.ref

Dispatched when a member is banned.

val member_unban : (Ban_t.t -> unit) Stdlib.ref

Dispatched when a member is unbanned.

val guild_emojis_update : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when emojis are added or removed from a guild.

val integrations_update : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when a guild's integrations are updated.

val member_join : (Member_t.t -> unit) Stdlib.ref

Dispatched when a member joins a guild.

val member_leave : (Member_t.member_wrapper -> unit) Stdlib.ref

Dispatched when a member leaves a guild. Is Dispatched alongside Client.member_ban when a user is banned.

val member_update : (Member_t.member_update -> unit) Stdlib.ref

Dispatched when a member object is updated.

val members_chunk : (Member_t.t list -> unit) Stdlib.ref

Dispatched when requesting guild members through Client.request_guild_members

val role_create : (Role_t.t -> unit) Stdlib.ref

Dispatched when a role is created.

val role_update : (Role_t.t -> unit) Stdlib.ref

Dispatched when a role is edited.

val role_delete : (Role_t.t -> unit) Stdlib.ref

Dispatched when a role is deleted.

val message_create : (Message_t.t -> unit) Stdlib.ref

Dispatched when a message is sent.

val message_update : (Message_t.message_update -> unit) Stdlib.ref

Dispatched when a message is edited. This does not necessarily mean the content changed.

val message_delete : (Snowflake.t -> Snowflake.t -> unit) Stdlib.ref

Dispatched when a message is deleted.

val message_bulk_delete : (Snowflake.t list -> unit) Stdlib.ref

Dispatched when messages are bulk deleted.

val reaction_add : (Reaction_t.reaction_event -> unit) Stdlib.ref

Dispatched when a rection is added to a message.

val reaction_remove : (Reaction_t.reaction_event -> unit) Stdlib.ref

Dispatched when a reaction is removed from a message.

val reaction_bulk_remove : (Reaction_t.t list -> unit) Stdlib.ref

Dispatched when all reactions are cleared from a message.

val presence_update : (Presence.t -> unit) Stdlib.ref

Dispatched when a user updates their presence.

val typing_start : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when a typing indicator is displayed.

val user_update : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when the current user is updated. You most likely want Client.member_update or Client.presence_update instead.

\ No newline at end of file diff --git a/docs/disml/Disml/index.html b/docs/disml/Disml/index.html index 3a526cb..5266349 100644 --- a/docs/disml/Disml/index.html +++ b/docs/disml/Disml/index.html @@ -1,2 +1,2 @@ -Disml (disml.Disml)

Module Disml

module Activity : sig ... end
module Attachment : sig ... end
module Ban : sig ... end
module Ban_t : sig ... end
module Channel : sig ... end
module Channel_t : sig ... end
module Client : sig ... end
module Config : sig ... end
module Embed : sig ... end
module Emoji : sig ... end
module Endpoints : sig ... end
module Event : sig ... end
module Guild : sig ... end
module Guild_t : sig ... end
module Http : sig ... end
module Member : sig ... end
module Member_t : sig ... end
module Message : sig ... end
module Message_t : sig ... end
module Opcode : sig ... end
module Presence : sig ... end
module Reaction : sig ... end
module Reaction_t : sig ... end
module Rl : sig ... end
module Role : sig ... end
module Role_t : sig ... end
module Sharder : sig ... end
module Snowflake : sig ... end
module User : sig ... end
module User_t : sig ... end
\ No newline at end of file +Disml (disml.Disml)

Module Disml

module Activity : sig ... end
module Attachment : sig ... end
module Ban : sig ... end
module Ban_t : sig ... end
module Channel : sig ... end
module Channel_t : sig ... end
module Client : sig ... end
module Client_options : sig ... end
module Dispatch : sig ... end
module Embed : sig ... end
module Emoji : sig ... end
module Endpoints : sig ... end
module Event : sig ... end
module Guild : sig ... end
module Guild_t : sig ... end
module Http : sig ... end
module Member : sig ... end
module Member_t : sig ... end
module Message : sig ... end
module Message_t : sig ... end
module Opcode : sig ... end
module Presence : sig ... end
module Reaction : sig ... end
module Reaction_t : sig ... end
module Rl : sig ... end
module Role : sig ... end
module Role_t : sig ... end
module Sharder : sig ... end
module Snowflake : sig ... end
module User : sig ... end
module User_t : sig ... end
\ No newline at end of file diff --git a/docs/disml/Disml__Client/index.html b/docs/disml/Disml__Client/index.html index 7c814d2..c5b95af 100644 --- a/docs/disml/Disml__Client/index.html +++ b/docs/disml/Disml__Client/index.html @@ -1,2 +1,2 @@ -Disml__Client (disml.Disml__Client)

Module Disml__Client

include Disml.Config
val token : string Stdlib.ref
val hello : (Yojson.Safe.json -> unit) Stdlib.ref
val ready : (Yojson.Safe.json -> unit) Stdlib.ref
val resumed : (Yojson.Safe.json -> unit) Stdlib.ref
val invalid_session : (Yojson.Safe.json -> unit) Stdlib.ref
val channel_create : (Disml.Channel_t.t -> unit) Stdlib.ref
val channel_update : (Disml.Channel_t.t -> unit) Stdlib.ref
val channel_delete : (Disml.Channel_t.t -> unit) Stdlib.ref
val channel_pins_update : (Yojson.Safe.json -> unit) Stdlib.ref
val guild_create : (Disml.Guild_t.t -> unit) Stdlib.ref
val guild_update : (Disml.Guild_t.t -> unit) Stdlib.ref
val guild_delete : (Disml.Guild_t.t -> unit) Stdlib.ref
val member_ban : (Disml.Ban_t.t -> unit) Stdlib.ref
val member_unban : (Disml.Ban_t.t -> unit) Stdlib.ref
val guild_emojis_update : (Yojson.Safe.json -> unit) Stdlib.ref
val integrations_update : (Yojson.Safe.json -> unit) Stdlib.ref
val member_join : (Disml.Member_t.t -> unit) Stdlib.ref
val member_leave : (Disml.Member_t.member_wrapper -> unit) Stdlib.ref
val member_update : (Disml.Member_t.member_update -> unit) Stdlib.ref
val members_chunk : (Disml.Member_t.t list -> unit) Stdlib.ref
val role_create : (Disml.Role_t.t -> unit) Stdlib.ref
val role_update : (Disml.Role_t.t -> unit) Stdlib.ref
val role_delete : (Disml.Role_t.t -> unit) Stdlib.ref
val message_create : (Disml.Message_t.t -> unit) Stdlib.ref
val message_update : (Disml.Message_t.message_update -> unit) Stdlib.ref
val message_delete : (Disml.Snowflake.t -> Disml.Snowflake.t -> unit) Stdlib.ref
val message_bulk_delete : (Disml.Snowflake.t list -> unit) Stdlib.ref
val reaction_add : (Disml.Reaction_t.reaction_event -> unit) Stdlib.ref
val reaction_remove : (Disml.Reaction_t.reaction_event -> unit) Stdlib.ref
val reaction_bulk_remove : (Disml.Reaction_t.t list -> unit) Stdlib.ref
val presence_update : (Disml.Presence.t -> unit) Stdlib.ref
val typing_start : (Yojson.Safe.json -> unit) Stdlib.ref
val user_update : (Yojson.Safe.json -> unit) Stdlib.ref
val voice_state_update : (Yojson.Safe.json -> unit) Stdlib.ref
val voice_server_update : (Yojson.Safe.json -> unit) Stdlib.ref
val webhooks_update : (Yojson.Safe.json -> unit) Stdlib.ref
type t = {
sharder : Disml.Sharder.t;
token : string;
}
val start : ?⁠count:int -> string -> t Async_kernel__Deferred.t
val set_status : status:Yojson.Safe.json -> t -> Disml.Sharder.Shard.shard list Async.Deferred.t
val set_status_with : f:(Disml.Sharder.Shard.shard -> Yojson.Safe.json) -> t -> Disml.Sharder.Shard.shard list Async.Deferred.t
val request_guild_members : guild:Disml.Snowflake.t -> ?⁠query:string -> ?⁠limit:int -> t -> Disml.Sharder.Shard.shard list Async.Deferred.t
\ No newline at end of file +Disml__Client (disml.Disml__Client)

Module Disml__Client

include Disml.Client_options
val token : string Stdlib.ref
include Disml.Dispatch
val hello : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when connecting to the gateway, most users will have no use for this.

val ready : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when each shard receives READY from discord after identifying on the gateway. Other event dispatch is received after this.

val resumed : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when successfully reconnecting to the gateway.

val invalid_session : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when Discord decides a session is invalid, much like Client.hello this is not very useful for most people.

val channel_create : (Disml.Channel_t.t -> unit) Stdlib.ref

Dispatched when a channel is created which is visible to the bot.

val channel_update : (Disml.Channel_t.t -> unit) Stdlib.ref

Dispatched when a channel visible to the bot is changed.

val channel_delete : (Disml.Channel_t.t -> unit) Stdlib.ref

Dispatched when a channel visible to the bot is deleted.

val channel_pins_update : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when messages are pinned or unpinned from a a channel.

val guild_create : (Disml.Guild_t.t -> unit) Stdlib.ref

Dispatched when the bot joins a guild, and during startup.

val guild_update : (Disml.Guild_t.t -> unit) Stdlib.ref

Dispatched when a guild the bot is in is edited.

val guild_delete : (Disml.Guild_t.t -> unit) Stdlib.ref

Dispatched when the bot is removed from a guild.

val member_ban : (Disml.Ban_t.t -> unit) Stdlib.ref

Dispatched when a member is banned.

val member_unban : (Disml.Ban_t.t -> unit) Stdlib.ref

Dispatched when a member is unbanned.

val guild_emojis_update : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when emojis are added or removed from a guild.

val integrations_update : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when a guild's integrations are updated.

val member_join : (Disml.Member_t.t -> unit) Stdlib.ref

Dispatched when a member joins a guild.

val member_leave : (Disml.Member_t.member_wrapper -> unit) Stdlib.ref

Dispatched when a member leaves a guild. Is Dispatched alongside Client.member_ban when a user is banned.

val member_update : (Disml.Member_t.member_update -> unit) Stdlib.ref

Dispatched when a member object is updated.

val members_chunk : (Disml.Member_t.t list -> unit) Stdlib.ref

Dispatched when requesting guild members through Client.request_guild_members

val role_create : (Disml.Role_t.t -> unit) Stdlib.ref

Dispatched when a role is created.

val role_update : (Disml.Role_t.t -> unit) Stdlib.ref

Dispatched when a role is edited.

val role_delete : (Disml.Role_t.t -> unit) Stdlib.ref

Dispatched when a role is deleted.

val message_create : (Disml.Message_t.t -> unit) Stdlib.ref

Dispatched when a message is sent.

val message_update : (Disml.Message_t.message_update -> unit) Stdlib.ref

Dispatched when a message is edited. This does not necessarily mean the content changed.

val message_delete : (Disml.Snowflake.t -> Disml.Snowflake.t -> unit) Stdlib.ref

Dispatched when a message is deleted.

val message_bulk_delete : (Disml.Snowflake.t list -> unit) Stdlib.ref

Dispatched when messages are bulk deleted.

val reaction_add : (Disml.Reaction_t.reaction_event -> unit) Stdlib.ref

Dispatched when a rection is added to a message.

val reaction_remove : (Disml.Reaction_t.reaction_event -> unit) Stdlib.ref

Dispatched when a reaction is removed from a message.

val reaction_bulk_remove : (Disml.Reaction_t.t list -> unit) Stdlib.ref

Dispatched when all reactions are cleared from a message.

val presence_update : (Disml.Presence.t -> unit) Stdlib.ref

Dispatched when a user updates their presence.

val typing_start : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when a typing indicator is displayed.

val user_update : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when the current user is updated. You most likely want Client.member_update or Client.presence_update instead.

type t = {
sharder : Disml.Sharder.t;
token : string;
}
val start : ?⁠count:int -> string -> t Async_kernel__Deferred.t
val set_status : status:Yojson.Safe.json -> t -> Disml.Sharder.Shard.shard list Async.Deferred.t
val set_status_with : f:(Disml.Sharder.Shard.shard -> Yojson.Safe.json) -> t -> Disml.Sharder.Shard.shard list Async.Deferred.t
val request_guild_members : guild:Disml.Snowflake.t -> ?⁠query:string -> ?⁠limit:int -> t -> Disml.Sharder.Shard.shard list Async.Deferred.t
\ No newline at end of file diff --git a/docs/disml/Disml__Client_options/.dune-keep b/docs/disml/Disml__Client_options/.dune-keep new file mode 100644 index 0000000..e69de29 diff --git a/docs/disml/Disml__Client_options/index.html b/docs/disml/Disml__Client_options/index.html new file mode 100644 index 0000000..7bcd9fc --- /dev/null +++ b/docs/disml/Disml__Client_options/index.html @@ -0,0 +1,2 @@ + +Disml__Client_options (disml.Disml__Client_options)

Module Disml__Client_options

val token : string Stdlib.ref
\ No newline at end of file diff --git a/docs/disml/Disml__Config/.dune-keep b/docs/disml/Disml__Config/.dune-keep deleted file mode 100644 index e69de29..0000000 diff --git a/docs/disml/Disml__Config/index.html b/docs/disml/Disml__Config/index.html deleted file mode 100644 index aafb712..0000000 --- a/docs/disml/Disml__Config/index.html +++ /dev/null @@ -1,2 +0,0 @@ - -Disml__Config (disml.Disml__Config)

Module Disml__Config

val token : string Stdlib.ref
val hello : (Yojson.Safe.json -> unit) Stdlib.ref
val ready : (Yojson.Safe.json -> unit) Stdlib.ref
val resumed : (Yojson.Safe.json -> unit) Stdlib.ref
val invalid_session : (Yojson.Safe.json -> unit) Stdlib.ref
val channel_create : (Disml.Channel_t.t -> unit) Stdlib.ref
val channel_update : (Disml.Channel_t.t -> unit) Stdlib.ref
val channel_delete : (Disml.Channel_t.t -> unit) Stdlib.ref
val channel_pins_update : (Yojson.Safe.json -> unit) Stdlib.ref
val guild_create : (Disml.Guild_t.t -> unit) Stdlib.ref
val guild_update : (Disml.Guild_t.t -> unit) Stdlib.ref
val guild_delete : (Disml.Guild_t.t -> unit) Stdlib.ref
val member_ban : (Disml.Ban_t.t -> unit) Stdlib.ref
val member_unban : (Disml.Ban_t.t -> unit) Stdlib.ref
val guild_emojis_update : (Yojson.Safe.json -> unit) Stdlib.ref
val integrations_update : (Yojson.Safe.json -> unit) Stdlib.ref
val member_join : (Disml.Member_t.t -> unit) Stdlib.ref
val member_leave : (Disml.Member_t.member_wrapper -> unit) Stdlib.ref
val member_update : (Disml.Member_t.member_update -> unit) Stdlib.ref
val members_chunk : (Disml.Member_t.t list -> unit) Stdlib.ref
val role_create : (Disml.Role_t.t -> unit) Stdlib.ref
val role_update : (Disml.Role_t.t -> unit) Stdlib.ref
val role_delete : (Disml.Role_t.t -> unit) Stdlib.ref
val message_create : (Disml.Message_t.t -> unit) Stdlib.ref
val message_update : (Disml.Message_t.message_update -> unit) Stdlib.ref
val message_delete : (Disml.Snowflake.t -> Disml.Snowflake.t -> unit) Stdlib.ref
val message_bulk_delete : (Disml.Snowflake.t list -> unit) Stdlib.ref
val reaction_add : (Disml.Reaction_t.reaction_event -> unit) Stdlib.ref
val reaction_remove : (Disml.Reaction_t.reaction_event -> unit) Stdlib.ref
val reaction_bulk_remove : (Disml.Reaction_t.t list -> unit) Stdlib.ref
val presence_update : (Disml.Presence.t -> unit) Stdlib.ref
val typing_start : (Yojson.Safe.json -> unit) Stdlib.ref
val user_update : (Yojson.Safe.json -> unit) Stdlib.ref
val voice_state_update : (Yojson.Safe.json -> unit) Stdlib.ref
val voice_server_update : (Yojson.Safe.json -> unit) Stdlib.ref
val webhooks_update : (Yojson.Safe.json -> unit) Stdlib.ref
\ No newline at end of file diff --git a/docs/disml/Disml__Dispatch/.dune-keep b/docs/disml/Disml__Dispatch/.dune-keep new file mode 100644 index 0000000..e69de29 diff --git a/docs/disml/Disml__Dispatch/index.html b/docs/disml/Disml__Dispatch/index.html new file mode 100644 index 0000000..d928bdf --- /dev/null +++ b/docs/disml/Disml__Dispatch/index.html @@ -0,0 +1,2 @@ + +Disml__Dispatch (disml.Disml__Dispatch)

Module Disml__Dispatch

val hello : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when connecting to the gateway, most users will have no use for this.

val ready : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when each shard receives READY from discord after identifying on the gateway. Other event dispatch is received after this.

val resumed : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when successfully reconnecting to the gateway.

val invalid_session : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when Discord decides a session is invalid, much like Client.hello this is not very useful for most people.

val channel_create : (Disml.Channel_t.t -> unit) Stdlib.ref

Dispatched when a channel is created which is visible to the bot.

val channel_update : (Disml.Channel_t.t -> unit) Stdlib.ref

Dispatched when a channel visible to the bot is changed.

val channel_delete : (Disml.Channel_t.t -> unit) Stdlib.ref

Dispatched when a channel visible to the bot is deleted.

val channel_pins_update : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when messages are pinned or unpinned from a a channel.

val guild_create : (Disml.Guild_t.t -> unit) Stdlib.ref

Dispatched when the bot joins a guild, and during startup.

val guild_update : (Disml.Guild_t.t -> unit) Stdlib.ref

Dispatched when a guild the bot is in is edited.

val guild_delete : (Disml.Guild_t.t -> unit) Stdlib.ref

Dispatched when the bot is removed from a guild.

val member_ban : (Disml.Ban_t.t -> unit) Stdlib.ref

Dispatched when a member is banned.

val member_unban : (Disml.Ban_t.t -> unit) Stdlib.ref

Dispatched when a member is unbanned.

val guild_emojis_update : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when emojis are added or removed from a guild.

val integrations_update : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when a guild's integrations are updated.

val member_join : (Disml.Member_t.t -> unit) Stdlib.ref

Dispatched when a member joins a guild.

val member_leave : (Disml.Member_t.member_wrapper -> unit) Stdlib.ref

Dispatched when a member leaves a guild. Is Dispatched alongside Client.member_ban when a user is banned.

val member_update : (Disml.Member_t.member_update -> unit) Stdlib.ref

Dispatched when a member object is updated.

val members_chunk : (Disml.Member_t.t list -> unit) Stdlib.ref

Dispatched when requesting guild members through Client.request_guild_members

val role_create : (Disml.Role_t.t -> unit) Stdlib.ref

Dispatched when a role is created.

val role_update : (Disml.Role_t.t -> unit) Stdlib.ref

Dispatched when a role is edited.

val role_delete : (Disml.Role_t.t -> unit) Stdlib.ref

Dispatched when a role is deleted.

val message_create : (Disml.Message_t.t -> unit) Stdlib.ref

Dispatched when a message is sent.

val message_update : (Disml.Message_t.message_update -> unit) Stdlib.ref

Dispatched when a message is edited. This does not necessarily mean the content changed.

val message_delete : (Disml.Snowflake.t -> Disml.Snowflake.t -> unit) Stdlib.ref

Dispatched when a message is deleted.

val message_bulk_delete : (Disml.Snowflake.t list -> unit) Stdlib.ref

Dispatched when messages are bulk deleted.

val reaction_add : (Disml.Reaction_t.reaction_event -> unit) Stdlib.ref

Dispatched when a rection is added to a message.

val reaction_remove : (Disml.Reaction_t.reaction_event -> unit) Stdlib.ref

Dispatched when a reaction is removed from a message.

val reaction_bulk_remove : (Disml.Reaction_t.t list -> unit) Stdlib.ref

Dispatched when all reactions are cleared from a message.

val presence_update : (Disml.Presence.t -> unit) Stdlib.ref

Dispatched when a user updates their presence.

val typing_start : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when a typing indicator is displayed.

val user_update : (Yojson.Safe.json -> unit) Stdlib.ref

Dispatched when the current user is updated. You most likely want Client.member_update or Client.presence_update instead.

\ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 44a891a..97007dd 100644 --- a/docs/index.html +++ b/docs/index.html @@ -11,7 +11,7 @@

OCaml package documentation

    -
  1. disml 0.2.0
  2. +
  3. disml 0.2.1
-- cgit v1.2.3