diff options
Diffstat (limited to 'docs/disml/Disml/Guild/index.html')
| -rw-r--r-- | docs/disml/Disml/Guild/index.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/disml/Disml/Guild/index.html b/docs/disml/Disml/Guild/index.html new file mode 100644 index 0000000..5bbefc8 --- /dev/null +++ b/docs/disml/Disml/Guild/index.html @@ -0,0 +1,2 @@ +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Guild (disml.Disml.Guild)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> – <a href="../../index.html">disml</a> » <a href="../index.html">Disml</a> » Guild</nav><h1>Module <code>Disml.Guild</code></h1></header><div><div class="spec include"><div class="doc"><details open="open"><summary><span class="def"><code><span class="keyword">include </span><span class="keyword">module type of </span><a href="../index.html#module-Guild_t">Guild_t</a></code></span></summary><aside></aside><dl><dt class="spec type" id="type-pre"><a href="#type-pre" class="anchor"></a><code><span class="keyword">type </span>pre</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-pre.id" class="anchored"><td class="def field"><a href="#type-pre.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-pre.name" class="anchored"><td class="def field"><a href="#type-pre.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-pre.icon" class="anchored"><td class="def field"><a href="#type-pre.icon" class="anchor"></a><code>icon : string option;</code></td></tr><tr id="type-pre.splash" class="anchored"><td class="def field"><a href="#type-pre.splash" class="anchor"></a><code>splash : string option;</code></td></tr><tr id="type-pre.owner_id" class="anchored"><td class="def field"><a href="#type-pre.owner_id" class="anchor"></a><code>owner_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-pre.region" class="anchored"><td class="def field"><a href="#type-pre.region" class="anchor"></a><code>region : string;</code></td></tr><tr id="type-pre.afk_channel_id" class="anchored"><td class="def field"><a href="#type-pre.afk_channel_id" class="anchor"></a><code>afk_channel_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-pre.afk_timeout" class="anchored"><td class="def field"><a href="#type-pre.afk_timeout" class="anchor"></a><code>afk_timeout : int;</code></td></tr><tr id="type-pre.embed_enabled" class="anchored"><td class="def field"><a href="#type-pre.embed_enabled" class="anchor"></a><code>embed_enabled : bool option;</code></td></tr><tr id="type-pre.embed_channel_id" class="anchored"><td class="def field"><a href="#type-pre.embed_channel_id" class="anchor"></a><code>embed_channel_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-pre.verification_level" class="anchored"><td class="def field"><a href="#type-pre.verification_level" class="anchor"></a><code>verification_level : int;</code></td></tr><tr id="type-pre.default_message_notifications" class="anchored"><td class="def field"><a href="#type-pre.default_message_notifications" class="anchor"></a><code>default_message_notifications : int;</code></td></tr><tr id="type-pre.explicit_content_filter" class="anchored"><td class="def field"><a href="#type-pre.explicit_content_filter" class="anchor"></a><code>explicit_content_filter : int;</code></td></tr><tr id="type-pre.roles" class="anchored"><td class="def field"><a href="#type-pre.roles" class="anchor"></a><code>roles : <a href="../Role_t/index.html#type-role">Role_t.role</a> list;</code></td></tr><tr id="type-pre.emojis" class="anchored"><td class="def field"><a href="#type-pre.emojis" class="anchor"></a><code>emojis : <a href="../Emoji/index.html#type-t">Emoji.t</a> list;</code></td></tr><tr id="type-pre.features" class="anchored"><td class="def field"><a href="#type-pre.features" class="anchor"></a><code>features : string list;</code></td></tr><tr id="type-pre.mfa_level" class="anchored"><td class="def field"><a href="#type-pre.mfa_level" class="anchor"></a><code>mfa_level : int;</code></td></tr><tr id="type-pre.application_id" class="anchored"><td class="def field"><a href="#type-pre.application_id" class="anchor"></a><code>application_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-pre.widget_enabled" class="anchored"><td class="def field"><a href="#type-pre.widget_enabled" class="anchor"></a><code>widget_enabled : bool option;</code></td></tr><tr id="type-pre.widget_channel" class="anchored"><td class="def field"><a href="#type-pre.widget_channel" class="anchor"></a><code>widget_channel : <a href="../Channel_t/index.html#type-channel_wrapper">Channel_t.channel_wrapper</a> option;</code></td></tr><tr id="type-pre.system_channel" class="anchored"><td class="def field"><a href="#type-pre.system_channel" class="anchor"></a><code>system_channel : <a href="../Channel_t/index.html#type-channel_wrapper">Channel_t.channel_wrapper</a> option;</code></td></tr><tr id="type-pre.large" class="anchored"><td class="def field"><a href="#type-pre.large" class="anchor"></a><code>large : bool;</code></td></tr><tr id="type-pre.unavailable" class="anchored"><td class="def field"><a href="#type-pre.unavailable" class="anchor"></a><code>unavailable : bool;</code></td></tr><tr id="type-pre.member_count" class="anchored"><td class="def field"><a href="#type-pre.member_count" class="anchor"></a><code>member_count : int option;</code></td></tr><tr id="type-pre.members" class="anchored"><td class="def field"><a href="#type-pre.members" class="anchor"></a><code>members : <a href="../Member_t/index.html#type-member">Member_t.member</a> list;</code></td></tr><tr id="type-pre.channels" class="anchored"><td class="def field"><a href="#type-pre.channels" class="anchor"></a><code>channels : <a href="../Channel_t/index.html#type-channel_wrapper">Channel_t.channel_wrapper</a> list;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-pre_of_sexp"><a href="#val-pre_of_sexp" class="anchor"></a><code><span class="keyword">val </span>pre_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-pre">pre</a></code></dt><dt class="spec value" id="val-sexp_of_pre"><a href="#val-sexp_of_pre" class="anchor"></a><code><span class="keyword">val </span>sexp_of_pre : <a href="index.html#type-pre">pre</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-pre_to_yojson"><a href="#val-pre_to_yojson" class="anchor"></a><code><span class="keyword">val </span>pre_to_yojson : <a href="index.html#type-pre">pre</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-pre_of_yojson"><a href="#val-pre_of_yojson" class="anchor"></a><code><span class="keyword">val </span>pre_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-pre">pre</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-_"><a href="#val-_" class="anchor"></a><code><span class="keyword">val </span>_ : <a href="index.html#type-pre">pre</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-_"><a href="#val-_" class="anchor"></a><code><span class="keyword">val </span>_ : Yojson.Safe.json <span>-></span> <a href="index.html#type-pre">pre</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-pre_of_yojson_exn"><a href="#val-pre_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>pre_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-pre">pre</a></code></dt><dt class="spec value" id="val-_"><a href="#val-_" class="anchor"></a><code><span class="keyword">val </span>_ : Yojson.Safe.json <span>-></span> <a href="index.html#type-pre">pre</a></code></dt></dl><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-t.id" class="anchored"><td class="def field"><a href="#type-t.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-t.name" class="anchored"><td class="def field"><a href="#type-t.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-t.icon" class="anchored"><td class="def field"><a href="#type-t.icon" class="anchor"></a><code>icon : string option;</code></td></tr><tr id="type-t.splash" class="anchored"><td class="def field"><a href="#type-t.splash" class="anchor"></a><code>splash : string option;</code></td></tr><tr id="type-t.owner_id" class="anchored"><td class="def field"><a href="#type-t.owner_id" class="anchor"></a><code>owner_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-t.region" class="anchored"><td class="def field"><a href="#type-t.region" class="anchor"></a><code>region : string;</code></td></tr><tr id="type-t.afk_channel_id" class="anchored"><td class="def field"><a href="#type-t.afk_channel_id" class="anchor"></a><code>afk_channel_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-t.afk_timeout" class="anchored"><td class="def field"><a href="#type-t.afk_timeout" class="anchor"></a><code>afk_timeout : int;</code></td></tr><tr id="type-t.embed_enabled" class="anchored"><td class="def field"><a href="#type-t.embed_enabled" class="anchor"></a><code>embed_enabled : bool option;</code></td></tr><tr id="type-t.embed_channel_id" class="anchored"><td class="def field"><a href="#type-t.embed_channel_id" class="anchor"></a><code>embed_channel_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-t.verification_level" class="anchored"><td class="def field"><a href="#type-t.verification_level" class="anchor"></a><code>verification_level : int;</code></td></tr><tr id="type-t.default_message_notifications" class="anchored"><td class="def field"><a href="#type-t.default_message_notifications" class="anchor"></a><code>default_message_notifications : int;</code></td></tr><tr id="type-t.explicit_content_filter" class="anchored"><td class="def field"><a href="#type-t.explicit_content_filter" class="anchor"></a><code>explicit_content_filter : int;</code></td></tr><tr id="type-t.roles" class="anchored"><td class="def field"><a href="#type-t.roles" class="anchor"></a><code>roles : <a href="../Role_t/index.html#type-t">Role_t.t</a> list;</code></td></tr><tr id="type-t.emojis" class="anchored"><td class="def field"><a href="#type-t.emojis" class="anchor"></a><code>emojis : <a href="../Emoji/index.html#type-t">Emoji.t</a> list;</code></td></tr><tr id="type-t.features" class="anchored"><td class="def field"><a href="#type-t.features" class="anchor"></a><code>features : string list;</code></td></tr><tr id="type-t.mfa_level" class="anchored"><td class="def field"><a href="#type-t.mfa_level" class="anchor"></a><code>mfa_level : int;</code></td></tr><tr id="type-t.application_id" class="anchored"><td class="def field"><a href="#type-t.application_id" class="anchor"></a><code>application_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-t.widget_enabled" class="anchored"><td class="def field"><a href="#type-t.widget_enabled" class="anchor"></a><code>widget_enabled : bool option;</code></td></tr><tr id="type-t.widget_channel" class="anchored"><td class="def field"><a href="#type-t.widget_channel" class="anchor"></a><code>widget_channel : <a href="../Channel_t/index.html#type-t">Channel_t.t</a> option;</code></td></tr><tr id="type-t.system_channel" class="anchored"><td class="def field"><a href="#type-t.system_channel" class="anchor"></a><code>system_channel : <a href="../Channel_t/index.html#type-t">Channel_t.t</a> option;</code></td></tr><tr id="type-t.large" class="anchored"><td class="def field"><a href="#type-t.large" class="anchor"></a><code>large : bool;</code></td></tr><tr id="type-t.unavailable" class="anchored"><td class="def field"><a href="#type-t.unavailable" class="anchor"></a><code>unavailable : bool;</code></td></tr><tr id="type-t.member_count" class="anchored"><td class="def field"><a href="#type-t.member_count" class="anchor"></a><code>member_count : int option;</code></td></tr><tr id="type-t.members" class="anchored"><td class="def field"><a href="#type-t.members" class="anchor"></a><code>members : <a href="../Member_t/index.html#type-t">Member_t.t</a> list;</code></td></tr><tr id="type-t.channels" class="anchored"><td class="def field"><a href="#type-t.channels" class="anchor"></a><code>channels : <a href="../Channel_t/index.html#type-t">Channel_t.t</a> list;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-t_of_sexp"><a href="#val-t_of_sexp" class="anchor"></a><code><span class="keyword">val </span>t_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-sexp_of_t"><a href="#val-sexp_of_t" class="anchor"></a><code><span class="keyword">val </span>sexp_of_t : <a href="index.html#type-t">t</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-to_yojson"><a href="#val-to_yojson" class="anchor"></a><code><span class="keyword">val </span>to_yojson : <a href="index.html#type-t">t</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-of_yojson"><a href="#val-of_yojson" class="anchor"></a><code><span class="keyword">val </span>of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-t">t</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-_"><a href="#val-_" class="anchor"></a><code><span class="keyword">val </span>_ : <a href="index.html#type-t">t</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-_"><a href="#val-_" class="anchor"></a><code><span class="keyword">val </span>_ : Yojson.Safe.json <span>-></span> <a href="index.html#type-t">t</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-of_yojson_exn"><a href="#val-of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-_"><a href="#val-_" class="anchor"></a><code><span class="keyword">val </span>_ : Yojson.Safe.json <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-wrap"><a href="#val-wrap" class="anchor"></a><code><span class="keyword">val </span>wrap : <a href="index.html#type-pre">pre</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt></dl></details></div></div></div><dl><dt class="spec value" id="val-ban_user"><a href="#val-ban_user" class="anchor"></a><code><span class="keyword">val </span>ban_user : id:<a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> ?⁠reason:string <span>-></span> ?⁠days:int <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-create_emoji"><a href="#val-create_emoji" class="anchor"></a><code><span class="keyword">val </span>create_emoji : name:string <span>-></span> image:string <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Emoji/index.html#type-t">Emoji.t</a> Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-create_role"><a href="#val-create_role" class="anchor"></a><code><span class="keyword">val </span>create_role : name:string <span>-></span> ?⁠colour:int <span>-></span> ?⁠permissions:int <span>-></span> ?⁠hoist:bool <span>-></span> ?⁠mentionable:bool <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Role_t/index.html#type-t">Role_t.t</a> Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-create_channel"><a href="#val-create_channel" class="anchor"></a><code><span class="keyword">val </span>create_channel : mode:[ `Text<span class="keyword"> | </span>`Voice<span class="keyword"> | </span>`Category ] <span>-></span> name:string <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Channel_t/index.html#type-t">Channel_t.t</a> Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-delete"><a href="#val-delete" class="anchor"></a><code><span class="keyword">val </span>delete : <a href="index.html#type-t">t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-get_ban"><a href="#val-get_ban" class="anchor"></a><code><span class="keyword">val </span>get_ban : id:<a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Ban_t/index.html#type-t">Ban_t.t</a> Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-get_bans"><a href="#val-get_bans" class="anchor"></a><code><span class="keyword">val </span>get_bans : <a href="index.html#type-t">t</a> <span>-></span> <a href="../Ban_t/index.html#type-t">Ban_t.t</a> list Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-get_channel"><a href="#val-get_channel" class="anchor"></a><code><span class="keyword">val </span>get_channel : id:<a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Channel_t/index.html#type-t">Channel_t.t</a> Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-get_emoji"><a href="#val-get_emoji" class="anchor"></a><code><span class="keyword">val </span>get_emoji : id:<a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Emoji/index.html#type-t">Emoji.t</a> Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-get_invites"><a href="#val-get_invites" class="anchor"></a><code><span class="keyword">val </span>get_invites : <a href="index.html#type-t">t</a> <span>-></span> Yojson.Safe.json Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-get_member"><a href="#val-get_member" class="anchor"></a><code><span class="keyword">val </span>get_member : id:<a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Member_t/index.html#type-t">Member_t.t</a> Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-get_prune_count"><a href="#val-get_prune_count" class="anchor"></a><code><span class="keyword">val </span>get_prune_count : days:int <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> int Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-get_role"><a href="#val-get_role" class="anchor"></a><code><span class="keyword">val </span>get_role : id:<a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Role_t/index.html#type-t">Role_t.t</a> option</code></dt><dt class="spec value" id="val-get_webhooks"><a href="#val-get_webhooks" class="anchor"></a><code><span class="keyword">val </span>get_webhooks : <a href="index.html#type-t">t</a> <span>-></span> Yojson.Safe.json Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-kick_user"><a href="#val-kick_user" class="anchor"></a><code><span class="keyword">val </span>kick_user : id:<a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> ?⁠reason:string <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-leave"><a href="#val-leave" class="anchor"></a><code><span class="keyword">val </span>leave : <a href="index.html#type-t">t</a> <span>-></span> Yojson.Safe.json Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-list_voice_regions"><a href="#val-list_voice_regions" class="anchor"></a><code><span class="keyword">val </span>list_voice_regions : <a href="index.html#type-t">t</a> <span>-></span> Yojson.Safe.json Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-prune"><a href="#val-prune" class="anchor"></a><code><span class="keyword">val </span>prune : days:int <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> int Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-request_members"><a href="#val-request_members" class="anchor"></a><code><span class="keyword">val </span>request_members : <a href="index.html#type-t">t</a> <span>-></span> <a href="../Member_t/index.html#type-t">Member_t.t</a> list Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-set_afk_channel"><a href="#val-set_afk_channel" class="anchor"></a><code><span class="keyword">val </span>set_afk_channel : id:<a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a> Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-set_afk_timeout"><a href="#val-set_afk_timeout" class="anchor"></a><code><span class="keyword">val </span>set_afk_timeout : timeout:int <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a> Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-set_name"><a href="#val-set_name" class="anchor"></a><code><span class="keyword">val </span>set_name : name:string <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a> Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-set_icon"><a href="#val-set_icon" class="anchor"></a><code><span class="keyword">val </span>set_icon : icon:string <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a> Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-unban_user"><a href="#val-unban_user" class="anchor"></a><code><span class="keyword">val </span>unban_user : id:<a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> ?⁠reason:string <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt></dl></div></body></html>
\ No newline at end of file |