diff options
| author | Adelyn Breedlove <[email protected]> | 2019-01-21 20:17:21 -0700 |
|---|---|---|
| committer | Adelyn Breedlove <[email protected]> | 2019-01-21 20:17:21 -0700 |
| commit | ee77e43ac06098f6877bf7b3db736b95a56c1be1 (patch) | |
| tree | 623d784dfc38704e723e256fd0fe3e2e87606a24 /docs | |
| parent | improve the status example (diff) | |
| download | disml-ee77e43ac06098f6877bf7b3db736b95a56c1be1.tar.xz disml-ee77e43ac06098f6877bf7b3db736b95a56c1be1.zip | |
Docs!
Diffstat (limited to 'docs')
64 files changed, 124 insertions, 64 deletions
diff --git a/docs/disml/Disml/Activity/index.html b/docs/disml/Disml/Activity/index.html index 62e019f..565f0d7 100644 --- a/docs/disml/Disml/Activity/index.html +++ b/docs/disml/Disml/Activity/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Activity (disml.Disml.Activity)</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> » Activity</nav><h1>Module <code>Disml.Activity</code></h1></header><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.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.kind" class="anchored"><td class="def field"><a href="#type-t.kind" class="anchor"></a><code>kind : int;</code></td></tr><tr id="type-t.url" class="anchored"><td class="def field"><a href="#type-t.url" class="anchor"></a><code>url : string;</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></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Activity (disml.Disml.Activity)</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> » Activity</nav><h1>Module <code>Disml.Activity</code></h1></header><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.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.kind" class="anchored"><td class="def field"><a href="#type-t.kind" class="anchor"></a><code>kind : int;</code></td></tr><tr id="type-t.url" class="anchored"><td class="def field"><a href="#type-t.url" class="anchor"></a><code>url : string;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/Attachment/index.html b/docs/disml/Disml/Attachment/index.html index 10671ce..9c34c9f 100644 --- a/docs/disml/Disml/Attachment/index.html +++ b/docs/disml/Disml/Attachment/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Attachment (disml.Disml.Attachment)</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> » Attachment</nav><h1>Module <code>Disml.Attachment</code></h1></header><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.filename" class="anchored"><td class="def field"><a href="#type-t.filename" class="anchor"></a><code>filename : string;</code></td></tr><tr id="type-t.size" class="anchored"><td class="def field"><a href="#type-t.size" class="anchor"></a><code>size : int;</code></td></tr><tr id="type-t.url" class="anchored"><td class="def field"><a href="#type-t.url" class="anchor"></a><code>url : string;</code></td></tr><tr id="type-t.proxy_url" class="anchored"><td class="def field"><a href="#type-t.proxy_url" class="anchor"></a><code>proxy_url : string;</code></td></tr><tr id="type-t.height" class="anchored"><td class="def field"><a href="#type-t.height" class="anchor"></a><code>height : int;</code></td></tr><tr id="type-t.width" class="anchored"><td class="def field"><a href="#type-t.width" class="anchor"></a><code>width : int;</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></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Attachment (disml.Disml.Attachment)</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> » Attachment</nav><h1>Module <code>Disml.Attachment</code></h1></header><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.filename" class="anchored"><td class="def field"><a href="#type-t.filename" class="anchor"></a><code>filename : string;</code></td></tr><tr id="type-t.size" class="anchored"><td class="def field"><a href="#type-t.size" class="anchor"></a><code>size : int;</code></td></tr><tr id="type-t.url" class="anchored"><td class="def field"><a href="#type-t.url" class="anchor"></a><code>url : string;</code></td></tr><tr id="type-t.proxy_url" class="anchored"><td class="def field"><a href="#type-t.proxy_url" class="anchor"></a><code>proxy_url : string;</code></td></tr><tr id="type-t.height" class="anchored"><td class="def field"><a href="#type-t.height" class="anchor"></a><code>height : int;</code></td></tr><tr id="type-t.width" class="anchored"><td class="def field"><a href="#type-t.width" class="anchor"></a><code>width : int;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/Ban/index.html b/docs/disml/Disml/Ban/index.html index 87cd017..4894f28 100644 --- a/docs/disml/Disml/Ban/index.html +++ b/docs/disml/Disml/Ban/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Ban (disml.Disml.Ban)</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> » Ban</nav><h1>Module <code>Disml.Ban</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-Ban_t">Ban_t</a></code></span></summary><aside></aside><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.reason" class="anchored"><td class="def field"><a href="#type-t.reason" class="anchor"></a><code>reason : string;</code></td></tr><tr id="type-t.user" class="anchored"><td class="def field"><a href="#type-t.user" class="anchor"></a><code>user : <a href="../User_t/index.html#type-t">User_t.t</a>;</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></dl></details></div></div></div></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Ban (disml.Disml.Ban)</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> » Ban</nav><h1>Module <code>Disml.Ban</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-Ban_t">Ban_t</a></code></span></summary><aside></aside><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.reason" class="anchored"><td class="def field"><a href="#type-t.reason" class="anchor"></a><code>reason : string;</code></td></tr><tr id="type-t.user" class="anchored"><td class="def field"><a href="#type-t.user" class="anchor"></a><code>user : <a href="../User_t/index.html#type-t">User_t.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></dl></details></div></div></div></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/Ban_t/index.html b/docs/disml/Disml/Ban_t/index.html index 0a5319b..b6b6c30 100644 --- a/docs/disml/Disml/Ban_t/index.html +++ b/docs/disml/Disml/Ban_t/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Ban_t (disml.Disml.Ban_t)</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> » Ban_t</nav><h1>Module <code>Disml.Ban_t</code></h1></header><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.reason" class="anchored"><td class="def field"><a href="#type-t.reason" class="anchor"></a><code>reason : string;</code></td></tr><tr id="type-t.user" class="anchored"><td class="def field"><a href="#type-t.user" class="anchor"></a><code>user : <a href="../User_t/index.html#type-t">User_t.t</a>;</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></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Ban_t (disml.Disml.Ban_t)</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> » Ban_t</nav><h1>Module <code>Disml.Ban_t</code></h1></header><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.reason" class="anchored"><td class="def field"><a href="#type-t.reason" class="anchor"></a><code>reason : string;</code></td></tr><tr id="type-t.user" class="anchored"><td class="def field"><a href="#type-t.user" class="anchor"></a><code>user : <a href="../User_t/index.html#type-t">User_t.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/Channel/index.html b/docs/disml/Disml/Channel/index.html index 188a973..8cc6188 100644 --- a/docs/disml/Disml/Channel/index.html +++ b/docs/disml/Disml/Channel/index.html @@ -1,2 +1,10 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Channel (disml.Disml.Channel)</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> » Channel</nav><h1>Module <code>Disml.Channel</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-Channel_t">Channel_t</a></code></span></summary><aside></aside><dl><dt class="spec exception" id="exception-Invalid_channel"><a href="#exception-Invalid_channel" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">Invalid_channel</span><span class="keyword"> of </span>Yojson.Safe.json</code></dt></dl><dl><dt class="spec type" id="type-group"><a href="#type-group" class="anchor"></a><code><span class="keyword">type </span>group</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-group.id" class="anchored"><td class="def field"><a href="#type-group.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-group.last_message_id" class="anchored"><td class="def field"><a href="#type-group.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-group.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-group.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr><tr id="type-group.icon" class="anchored"><td class="def field"><a href="#type-group.icon" class="anchor"></a><code>icon : string option;</code></td></tr><tr id="type-group.name" class="anchored"><td class="def field"><a href="#type-group.name" class="anchor"></a><code>name : string option;</code></td></tr><tr id="type-group.owner_id" class="anchored"><td class="def field"><a href="#type-group.owner_id" class="anchor"></a><code>owner_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-group.recipients" class="anchored"><td class="def field"><a href="#type-group.recipients" class="anchor"></a><code>recipients : <a href="../User_t/index.html#type-t">User_t.t</a> list;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-group_of_sexp"><a href="#val-group_of_sexp" class="anchor"></a><code><span class="keyword">val </span>group_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-group">group</a></code></dt><dt class="spec value" id="val-sexp_of_group"><a href="#val-sexp_of_group" class="anchor"></a><code><span class="keyword">val </span>sexp_of_group : <a href="index.html#type-group">group</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-group_to_yojson"><a href="#val-group_to_yojson" class="anchor"></a><code><span class="keyword">val </span>group_to_yojson : <a href="index.html#type-group">group</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-group_of_yojson"><a href="#val-group_of_yojson" class="anchor"></a><code><span class="keyword">val </span>group_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-group">group</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-group">group</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-group">group</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-group_of_yojson_exn"><a href="#val-group_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>group_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-group">group</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-group">group</a></code></dt></dl><dl><dt class="spec type" id="type-dm"><a href="#type-dm" class="anchor"></a><code><span class="keyword">type </span>dm</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-dm.id" class="anchored"><td class="def field"><a href="#type-dm.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-dm.last_message_id" class="anchored"><td class="def field"><a href="#type-dm.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-dm.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-dm.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-dm_of_sexp"><a href="#val-dm_of_sexp" class="anchor"></a><code><span class="keyword">val </span>dm_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-dm">dm</a></code></dt><dt class="spec value" id="val-sexp_of_dm"><a href="#val-sexp_of_dm" class="anchor"></a><code><span class="keyword">val </span>sexp_of_dm : <a href="index.html#type-dm">dm</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-dm_to_yojson"><a href="#val-dm_to_yojson" class="anchor"></a><code><span class="keyword">val </span>dm_to_yojson : <a href="index.html#type-dm">dm</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-dm_of_yojson"><a href="#val-dm_of_yojson" class="anchor"></a><code><span class="keyword">val </span>dm_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-dm">dm</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-dm">dm</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-dm">dm</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-dm_of_yojson_exn"><a href="#val-dm_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>dm_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-dm">dm</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-dm">dm</a></code></dt></dl><dl><dt class="spec type" id="type-guild_text"><a href="#type-guild_text" class="anchor"></a><code><span class="keyword">type </span>guild_text</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-guild_text.id" class="anchored"><td class="def field"><a href="#type-guild_text.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-guild_text.last_message_id" class="anchored"><td class="def field"><a href="#type-guild_text.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-guild_text.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-guild_text.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr><tr id="type-guild_text.category_id" class="anchored"><td class="def field"><a href="#type-guild_text.category_id" class="anchor"></a><code>category_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-guild_text.guild_id" class="anchored"><td class="def field"><a href="#type-guild_text.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-guild_text.name" class="anchored"><td class="def field"><a href="#type-guild_text.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-guild_text.position" class="anchored"><td class="def field"><a href="#type-guild_text.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-guild_text.topic" class="anchored"><td class="def field"><a href="#type-guild_text.topic" class="anchor"></a><code>topic : string option;</code></td></tr><tr id="type-guild_text.nsfw" class="anchored"><td class="def field"><a href="#type-guild_text.nsfw" class="anchor"></a><code>nsfw : bool;</code></td></tr><tr id="type-guild_text.slow_mode_timeout" class="anchored"><td class="def field"><a href="#type-guild_text.slow_mode_timeout" class="anchor"></a><code>slow_mode_timeout : int option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-guild_text_of_sexp"><a href="#val-guild_text_of_sexp" class="anchor"></a><code><span class="keyword">val </span>guild_text_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-guild_text">guild_text</a></code></dt><dt class="spec value" id="val-sexp_of_guild_text"><a href="#val-sexp_of_guild_text" class="anchor"></a><code><span class="keyword">val </span>sexp_of_guild_text : <a href="index.html#type-guild_text">guild_text</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-guild_text_to_yojson"><a href="#val-guild_text_to_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_text_to_yojson : <a href="index.html#type-guild_text">guild_text</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-guild_text_of_yojson"><a href="#val-guild_text_of_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_text_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_text">guild_text</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-guild_text">guild_text</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-guild_text">guild_text</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-guild_text_of_yojson_exn"><a href="#val-guild_text_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>guild_text_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_text">guild_text</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-guild_text">guild_text</a></code></dt></dl><dl><dt class="spec type" id="type-guild_voice"><a href="#type-guild_voice" class="anchor"></a><code><span class="keyword">type </span>guild_voice</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-guild_voice.id" class="anchored"><td class="def field"><a href="#type-guild_voice.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-guild_voice.category_id" class="anchored"><td class="def field"><a href="#type-guild_voice.category_id" class="anchor"></a><code>category_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-guild_voice.guild_id" class="anchored"><td class="def field"><a href="#type-guild_voice.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-guild_voice.name" class="anchored"><td class="def field"><a href="#type-guild_voice.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-guild_voice.position" class="anchored"><td class="def field"><a href="#type-guild_voice.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-guild_voice.user_limit" class="anchored"><td class="def field"><a href="#type-guild_voice.user_limit" class="anchor"></a><code>user_limit : int;</code></td></tr><tr id="type-guild_voice.bitrate" class="anchored"><td class="def field"><a href="#type-guild_voice.bitrate" class="anchor"></a><code>bitrate : int option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-guild_voice_of_sexp"><a href="#val-guild_voice_of_sexp" class="anchor"></a><code><span class="keyword">val </span>guild_voice_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-guild_voice">guild_voice</a></code></dt><dt class="spec value" id="val-sexp_of_guild_voice"><a href="#val-sexp_of_guild_voice" class="anchor"></a><code><span class="keyword">val </span>sexp_of_guild_voice : <a href="index.html#type-guild_voice">guild_voice</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-guild_voice_to_yojson"><a href="#val-guild_voice_to_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_voice_to_yojson : <a href="index.html#type-guild_voice">guild_voice</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-guild_voice_of_yojson"><a href="#val-guild_voice_of_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_voice_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_voice">guild_voice</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-guild_voice">guild_voice</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-guild_voice">guild_voice</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-guild_voice_of_yojson_exn"><a href="#val-guild_voice_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>guild_voice_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_voice">guild_voice</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-guild_voice">guild_voice</a></code></dt></dl><dl><dt class="spec type" id="type-category"><a href="#type-category" class="anchor"></a><code><span class="keyword">type </span>category</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-category.id" class="anchored"><td class="def field"><a href="#type-category.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-category.guild_id" class="anchored"><td class="def field"><a href="#type-category.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-category.position" class="anchored"><td class="def field"><a href="#type-category.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-category.name" class="anchored"><td class="def field"><a href="#type-category.name" class="anchor"></a><code>name : string;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-category_of_sexp"><a href="#val-category_of_sexp" class="anchor"></a><code><span class="keyword">val </span>category_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-category">category</a></code></dt><dt class="spec value" id="val-sexp_of_category"><a href="#val-sexp_of_category" class="anchor"></a><code><span class="keyword">val </span>sexp_of_category : <a href="index.html#type-category">category</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-category_to_yojson"><a href="#val-category_to_yojson" class="anchor"></a><code><span class="keyword">val </span>category_to_yojson : <a href="index.html#type-category">category</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-category_of_yojson"><a href="#val-category_of_yojson" class="anchor"></a><code><span class="keyword">val </span>category_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-category">category</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-category">category</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-category">category</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-category_of_yojson_exn"><a href="#val-category_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>category_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-category">category</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-category">category</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><table class="variant"><tr id="type-t.Group" class="anchored"><td class="def constructor"><a href="#type-t.Group" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Group</span><span class="keyword"> of </span><a href="index.html#type-group">group</a></code></td></tr><tr id="type-t.Private" class="anchored"><td class="def constructor"><a href="#type-t.Private" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Private</span><span class="keyword"> of </span><a href="index.html#type-dm">dm</a></code></td></tr><tr id="type-t.GuildText" class="anchored"><td class="def constructor"><a href="#type-t.GuildText" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GuildText</span><span class="keyword"> of </span><a href="index.html#type-guild_text">guild_text</a></code></td></tr><tr id="type-t.GuildVoice" class="anchored"><td class="def constructor"><a href="#type-t.GuildVoice" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GuildVoice</span><span class="keyword"> of </span><a href="index.html#type-guild_voice">guild_voice</a></code></td></tr><tr id="type-t.Category" class="anchored"><td class="def constructor"><a href="#type-t.Category" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Category</span><span class="keyword"> of </span><a href="index.html#type-category">category</a></code></td></tr></table></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></dl><dl><dt class="spec type" id="type-channel_wrapper"><a href="#type-channel_wrapper" class="anchor"></a><code><span class="keyword">type </span>channel_wrapper</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-channel_wrapper.id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-channel_wrapper.kind" class="anchored"><td class="def field"><a href="#type-channel_wrapper.kind" class="anchor"></a><code>kind : int;</code></td></tr><tr id="type-channel_wrapper.guild_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.position" class="anchored"><td class="def field"><a href="#type-channel_wrapper.position" class="anchor"></a><code>position : int option;</code></td></tr><tr id="type-channel_wrapper.name" class="anchored"><td class="def field"><a href="#type-channel_wrapper.name" class="anchor"></a><code>name : string option;</code></td></tr><tr id="type-channel_wrapper.topic" class="anchored"><td class="def field"><a href="#type-channel_wrapper.topic" class="anchor"></a><code>topic : string option;</code></td></tr><tr id="type-channel_wrapper.nsfw" class="anchored"><td class="def field"><a href="#type-channel_wrapper.nsfw" class="anchor"></a><code>nsfw : bool option;</code></td></tr><tr id="type-channel_wrapper.last_message_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.bitrate" class="anchored"><td class="def field"><a href="#type-channel_wrapper.bitrate" class="anchor"></a><code>bitrate : int option;</code></td></tr><tr id="type-channel_wrapper.user_limit" class="anchored"><td class="def field"><a href="#type-channel_wrapper.user_limit" class="anchor"></a><code>user_limit : int option;</code></td></tr><tr id="type-channel_wrapper.slow_mode_timeout" class="anchored"><td class="def field"><a href="#type-channel_wrapper.slow_mode_timeout" class="anchor"></a><code>slow_mode_timeout : int option;</code></td></tr><tr id="type-channel_wrapper.recipients" class="anchored"><td class="def field"><a href="#type-channel_wrapper.recipients" class="anchor"></a><code>recipients : <a href="../User_t/index.html#type-t">User_t.t</a> list option;</code></td></tr><tr id="type-channel_wrapper.icon" class="anchored"><td class="def field"><a href="#type-channel_wrapper.icon" class="anchor"></a><code>icon : string option;</code></td></tr><tr id="type-channel_wrapper.owner_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.owner_id" class="anchor"></a><code>owner_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.application_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.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-channel_wrapper.category_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.category_id" class="anchor"></a><code>category_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-channel_wrapper.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-channel_wrapper_of_sexp"><a href="#val-channel_wrapper_of_sexp" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-channel_wrapper">channel_wrapper</a></code></dt><dt class="spec value" id="val-sexp_of_channel_wrapper"><a href="#val-sexp_of_channel_wrapper" class="anchor"></a><code><span class="keyword">val </span>sexp_of_channel_wrapper : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-channel_wrapper_to_yojson"><a href="#val-channel_wrapper_to_yojson" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_to_yojson : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-channel_wrapper_of_yojson"><a href="#val-channel_wrapper_of_yojson" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-channel_wrapper">channel_wrapper</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-channel_wrapper">channel_wrapper</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-channel_wrapper">channel_wrapper</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-channel_wrapper_of_yojson_exn"><a href="#val-channel_wrapper_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-channel_wrapper">channel_wrapper</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-channel_wrapper">channel_wrapper</a></code></dt><dt class="spec value" id="val-unwrap_as_guild_text"><a href="#val-unwrap_as_guild_text" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_guild_text : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-guild_text">guild_text</a></code></dt><dt class="spec value" id="val-unwrap_as_guild_voice"><a href="#val-unwrap_as_guild_voice" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_guild_voice : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-guild_voice">guild_voice</a></code></dt><dt class="spec value" id="val-unwrap_as_dm"><a href="#val-unwrap_as_dm" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_dm : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-dm">dm</a></code></dt><dt class="spec value" id="val-unwrap_as_group"><a href="#val-unwrap_as_group" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_group : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-group">group</a></code></dt><dt class="spec value" id="val-unwrap_as_category"><a href="#val-unwrap_as_category" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_category : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-category">category</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-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-get_id"><a href="#val-get_id" class="anchor"></a><code><span class="keyword">val </span>get_id : <a href="index.html#type-t">t</a> <span>-></span> <a href="../Snowflake/index.html#type-t">Snowflake.t</a></code></dt></dl></details></div></div></div><dl><dt class="spec value" id="val-say"><a href="#val-say" class="anchor"></a><code><span class="keyword">val </span>say : content:string <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Message_t/index.html#type-t">Message_t.t</a> Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-send_message"><a href="#val-send_message" class="anchor"></a><code><span class="keyword">val </span>send_message : ?⁠embed:Yojson.Safe.json <span>-></span> ?⁠content:string <span>-></span> ?⁠file:string <span>-></span> ?⁠tts:bool <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Message_t/index.html#type-t">Message_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_message"><a href="#val-get_message" class="anchor"></a><code><span class="keyword">val </span>get_message : 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="../Message_t/index.html#type-t">Message_t.t</a> Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-get_messages"><a href="#val-get_messages" class="anchor"></a><code><span class="keyword">val </span>get_messages : ?⁠mode:[ `Before<span class="keyword"> | </span>`After<span class="keyword"> | </span>`Around ] <span>-></span> ?⁠id:<a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> ?⁠limit:int <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Message_t/index.html#type-t">Message_t.t</a> list Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-broadcast_typing"><a href="#val-broadcast_typing" class="anchor"></a><code><span class="keyword">val </span>broadcast_typing : <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_pins"><a href="#val-get_pins" class="anchor"></a><code><span class="keyword">val </span>get_pins : <a href="index.html#type-t">t</a> <span>-></span> <a href="../Message_t/index.html#type-t">Message_t.t</a> list Async.Deferred.Or_error.t</code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Channel (disml.Disml.Channel)</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> » Channel</nav><h1>Module <code>Disml.Channel</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-Channel_t">Channel_t</a></code></span></summary><aside></aside><dl><dt class="spec exception" id="exception-Invalid_channel"><a href="#exception-Invalid_channel" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">Invalid_channel</span><span class="keyword"> of </span>Yojson.Safe.json</code></dt></dl><dl><dt class="spec type" id="type-group"><a href="#type-group" class="anchor"></a><code><span class="keyword">type </span>group</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-group.id" class="anchored"><td class="def field"><a href="#type-group.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-group.last_message_id" class="anchored"><td class="def field"><a href="#type-group.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-group.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-group.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr><tr id="type-group.icon" class="anchored"><td class="def field"><a href="#type-group.icon" class="anchor"></a><code>icon : string option;</code></td></tr><tr id="type-group.name" class="anchored"><td class="def field"><a href="#type-group.name" class="anchor"></a><code>name : string option;</code></td></tr><tr id="type-group.owner_id" class="anchored"><td class="def field"><a href="#type-group.owner_id" class="anchor"></a><code>owner_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-group.recipients" class="anchored"><td class="def field"><a href="#type-group.recipients" class="anchor"></a><code>recipients : <a href="../User_t/index.html#type-t">User_t.t</a> list;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-group_of_sexp"><a href="#val-group_of_sexp" class="anchor"></a><code><span class="keyword">val </span>group_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-group">group</a></code></dt><dt class="spec value" id="val-sexp_of_group"><a href="#val-sexp_of_group" class="anchor"></a><code><span class="keyword">val </span>sexp_of_group : <a href="index.html#type-group">group</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-group_to_yojson"><a href="#val-group_to_yojson" class="anchor"></a><code><span class="keyword">val </span>group_to_yojson : <a href="index.html#type-group">group</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-group_of_yojson"><a href="#val-group_of_yojson" class="anchor"></a><code><span class="keyword">val </span>group_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-group">group</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-group_of_yojson_exn"><a href="#val-group_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>group_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-group">group</a></code></dt></dl><dl><dt class="spec type" id="type-dm"><a href="#type-dm" class="anchor"></a><code><span class="keyword">type </span>dm</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-dm.id" class="anchored"><td class="def field"><a href="#type-dm.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-dm.last_message_id" class="anchored"><td class="def field"><a href="#type-dm.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-dm.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-dm.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-dm_of_sexp"><a href="#val-dm_of_sexp" class="anchor"></a><code><span class="keyword">val </span>dm_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-dm">dm</a></code></dt><dt class="spec value" id="val-sexp_of_dm"><a href="#val-sexp_of_dm" class="anchor"></a><code><span class="keyword">val </span>sexp_of_dm : <a href="index.html#type-dm">dm</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-dm_to_yojson"><a href="#val-dm_to_yojson" class="anchor"></a><code><span class="keyword">val </span>dm_to_yojson : <a href="index.html#type-dm">dm</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-dm_of_yojson"><a href="#val-dm_of_yojson" class="anchor"></a><code><span class="keyword">val </span>dm_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-dm">dm</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-dm_of_yojson_exn"><a href="#val-dm_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>dm_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-dm">dm</a></code></dt></dl><dl><dt class="spec type" id="type-guild_text"><a href="#type-guild_text" class="anchor"></a><code><span class="keyword">type </span>guild_text</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-guild_text.id" class="anchored"><td class="def field"><a href="#type-guild_text.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-guild_text.last_message_id" class="anchored"><td class="def field"><a href="#type-guild_text.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-guild_text.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-guild_text.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr><tr id="type-guild_text.category_id" class="anchored"><td class="def field"><a href="#type-guild_text.category_id" class="anchor"></a><code>category_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-guild_text.guild_id" class="anchored"><td class="def field"><a href="#type-guild_text.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-guild_text.name" class="anchored"><td class="def field"><a href="#type-guild_text.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-guild_text.position" class="anchored"><td class="def field"><a href="#type-guild_text.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-guild_text.topic" class="anchored"><td class="def field"><a href="#type-guild_text.topic" class="anchor"></a><code>topic : string option;</code></td></tr><tr id="type-guild_text.nsfw" class="anchored"><td class="def field"><a href="#type-guild_text.nsfw" class="anchor"></a><code>nsfw : bool;</code></td></tr><tr id="type-guild_text.slow_mode_timeout" class="anchored"><td class="def field"><a href="#type-guild_text.slow_mode_timeout" class="anchor"></a><code>slow_mode_timeout : int option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-guild_text_of_sexp"><a href="#val-guild_text_of_sexp" class="anchor"></a><code><span class="keyword">val </span>guild_text_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-guild_text">guild_text</a></code></dt><dt class="spec value" id="val-sexp_of_guild_text"><a href="#val-sexp_of_guild_text" class="anchor"></a><code><span class="keyword">val </span>sexp_of_guild_text : <a href="index.html#type-guild_text">guild_text</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-guild_text_to_yojson"><a href="#val-guild_text_to_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_text_to_yojson : <a href="index.html#type-guild_text">guild_text</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-guild_text_of_yojson"><a href="#val-guild_text_of_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_text_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_text">guild_text</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-guild_text_of_yojson_exn"><a href="#val-guild_text_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>guild_text_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_text">guild_text</a></code></dt></dl><dl><dt class="spec type" id="type-guild_voice"><a href="#type-guild_voice" class="anchor"></a><code><span class="keyword">type </span>guild_voice</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-guild_voice.id" class="anchored"><td class="def field"><a href="#type-guild_voice.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-guild_voice.category_id" class="anchored"><td class="def field"><a href="#type-guild_voice.category_id" class="anchor"></a><code>category_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-guild_voice.guild_id" class="anchored"><td class="def field"><a href="#type-guild_voice.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-guild_voice.name" class="anchored"><td class="def field"><a href="#type-guild_voice.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-guild_voice.position" class="anchored"><td class="def field"><a href="#type-guild_voice.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-guild_voice.user_limit" class="anchored"><td class="def field"><a href="#type-guild_voice.user_limit" class="anchor"></a><code>user_limit : int;</code></td></tr><tr id="type-guild_voice.bitrate" class="anchored"><td class="def field"><a href="#type-guild_voice.bitrate" class="anchor"></a><code>bitrate : int option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-guild_voice_of_sexp"><a href="#val-guild_voice_of_sexp" class="anchor"></a><code><span class="keyword">val </span>guild_voice_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-guild_voice">guild_voice</a></code></dt><dt class="spec value" id="val-sexp_of_guild_voice"><a href="#val-sexp_of_guild_voice" class="anchor"></a><code><span class="keyword">val </span>sexp_of_guild_voice : <a href="index.html#type-guild_voice">guild_voice</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-guild_voice_to_yojson"><a href="#val-guild_voice_to_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_voice_to_yojson : <a href="index.html#type-guild_voice">guild_voice</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-guild_voice_of_yojson"><a href="#val-guild_voice_of_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_voice_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_voice">guild_voice</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-guild_voice_of_yojson_exn"><a href="#val-guild_voice_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>guild_voice_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_voice">guild_voice</a></code></dt></dl><dl><dt class="spec type" id="type-category"><a href="#type-category" class="anchor"></a><code><span class="keyword">type </span>category</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-category.id" class="anchored"><td class="def field"><a href="#type-category.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-category.guild_id" class="anchored"><td class="def field"><a href="#type-category.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-category.position" class="anchored"><td class="def field"><a href="#type-category.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-category.name" class="anchored"><td class="def field"><a href="#type-category.name" class="anchor"></a><code>name : string;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-category_of_sexp"><a href="#val-category_of_sexp" class="anchor"></a><code><span class="keyword">val </span>category_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-category">category</a></code></dt><dt class="spec value" id="val-sexp_of_category"><a href="#val-sexp_of_category" class="anchor"></a><code><span class="keyword">val </span>sexp_of_category : <a href="index.html#type-category">category</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-category_to_yojson"><a href="#val-category_to_yojson" class="anchor"></a><code><span class="keyword">val </span>category_to_yojson : <a href="index.html#type-category">category</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-category_of_yojson"><a href="#val-category_of_yojson" class="anchor"></a><code><span class="keyword">val </span>category_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-category">category</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-category_of_yojson_exn"><a href="#val-category_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>category_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-category">category</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><table class="variant"><tr id="type-t.Group" class="anchored"><td class="def constructor"><a href="#type-t.Group" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Group</span><span class="keyword"> of </span><a href="index.html#type-group">group</a></code></td></tr><tr id="type-t.Private" class="anchored"><td class="def constructor"><a href="#type-t.Private" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Private</span><span class="keyword"> of </span><a href="index.html#type-dm">dm</a></code></td></tr><tr id="type-t.GuildText" class="anchored"><td class="def constructor"><a href="#type-t.GuildText" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GuildText</span><span class="keyword"> of </span><a href="index.html#type-guild_text">guild_text</a></code></td></tr><tr id="type-t.GuildVoice" class="anchored"><td class="def constructor"><a href="#type-t.GuildVoice" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GuildVoice</span><span class="keyword"> of </span><a href="index.html#type-guild_voice">guild_voice</a></code></td></tr><tr id="type-t.Category" class="anchored"><td class="def constructor"><a href="#type-t.Category" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Category</span><span class="keyword"> of </span><a href="index.html#type-category">category</a></code></td></tr></table></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></dl><dl><dt class="spec type" id="type-channel_wrapper"><a href="#type-channel_wrapper" class="anchor"></a><code><span class="keyword">type </span>channel_wrapper</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-channel_wrapper.id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-channel_wrapper.kind" class="anchored"><td class="def field"><a href="#type-channel_wrapper.kind" class="anchor"></a><code>kind : int;</code></td></tr><tr id="type-channel_wrapper.guild_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.position" class="anchored"><td class="def field"><a href="#type-channel_wrapper.position" class="anchor"></a><code>position : int option;</code></td></tr><tr id="type-channel_wrapper.name" class="anchored"><td class="def field"><a href="#type-channel_wrapper.name" class="anchor"></a><code>name : string option;</code></td></tr><tr id="type-channel_wrapper.topic" class="anchored"><td class="def field"><a href="#type-channel_wrapper.topic" class="anchor"></a><code>topic : string option;</code></td></tr><tr id="type-channel_wrapper.nsfw" class="anchored"><td class="def field"><a href="#type-channel_wrapper.nsfw" class="anchor"></a><code>nsfw : bool option;</code></td></tr><tr id="type-channel_wrapper.last_message_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.bitrate" class="anchored"><td class="def field"><a href="#type-channel_wrapper.bitrate" class="anchor"></a><code>bitrate : int option;</code></td></tr><tr id="type-channel_wrapper.user_limit" class="anchored"><td class="def field"><a href="#type-channel_wrapper.user_limit" class="anchor"></a><code>user_limit : int option;</code></td></tr><tr id="type-channel_wrapper.slow_mode_timeout" class="anchored"><td class="def field"><a href="#type-channel_wrapper.slow_mode_timeout" class="anchor"></a><code>slow_mode_timeout : int option;</code></td></tr><tr id="type-channel_wrapper.recipients" class="anchored"><td class="def field"><a href="#type-channel_wrapper.recipients" class="anchor"></a><code>recipients : <a href="../User_t/index.html#type-t">User_t.t</a> list option;</code></td></tr><tr id="type-channel_wrapper.icon" class="anchored"><td class="def field"><a href="#type-channel_wrapper.icon" class="anchor"></a><code>icon : string option;</code></td></tr><tr id="type-channel_wrapper.owner_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.owner_id" class="anchor"></a><code>owner_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.application_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.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-channel_wrapper.category_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.category_id" class="anchor"></a><code>category_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-channel_wrapper.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-channel_wrapper_of_sexp"><a href="#val-channel_wrapper_of_sexp" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-channel_wrapper">channel_wrapper</a></code></dt><dt class="spec value" id="val-sexp_of_channel_wrapper"><a href="#val-sexp_of_channel_wrapper" class="anchor"></a><code><span class="keyword">val </span>sexp_of_channel_wrapper : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-channel_wrapper_to_yojson"><a href="#val-channel_wrapper_to_yojson" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_to_yojson : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-channel_wrapper_of_yojson"><a href="#val-channel_wrapper_of_yojson" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-channel_wrapper">channel_wrapper</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-channel_wrapper_of_yojson_exn"><a href="#val-channel_wrapper_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-channel_wrapper">channel_wrapper</a></code></dt><dt class="spec value" id="val-unwrap_as_guild_text"><a href="#val-unwrap_as_guild_text" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_guild_text : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-guild_text">guild_text</a></code></dt><dt class="spec value" id="val-unwrap_as_guild_voice"><a href="#val-unwrap_as_guild_voice" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_guild_voice : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-guild_voice">guild_voice</a></code></dt><dt class="spec value" id="val-unwrap_as_dm"><a href="#val-unwrap_as_dm" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_dm : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-dm">dm</a></code></dt><dt class="spec value" id="val-unwrap_as_group"><a href="#val-unwrap_as_group" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_group : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-group">group</a></code></dt><dt class="spec value" id="val-unwrap_as_category"><a href="#val-unwrap_as_category" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_category : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-category">category</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-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-get_id"><a href="#val-get_id" class="anchor"></a><code><span class="keyword">val </span>get_id : <a href="index.html#type-t">t</a> <span>-></span> <a href="../Snowflake/index.html#type-t">Snowflake.t</a></code></dt></dl></details></div></div></div><dl><dt class="spec exception" id="exception-Invalid_message"><a href="#exception-Invalid_message" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">Invalid_message</span></code></dt><dt class="spec exception" id="exception-No_message_found"><a href="#exception-No_message_found" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">No_message_found</span></code></dt></dl><dl><dt class="spec value" id="val-say"><a href="#val-say" class="anchor"></a><code><span class="keyword">val </span>say : content:string <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Message_t/index.html#type-t">Message_t.t</a> Async.Deferred.Or_error.t</code></dt><dd><p>Simple version of send_message that only takes <code>~content</code></p></dd></dl><dl><dt class="spec value" id="val-send_message"><a href="#val-send_message" class="anchor"></a><code><span class="keyword">val </span>send_message : ?⁠embed:<a href="../Embed/index.html#type-t">Embed.t</a> <span>-></span> ?⁠content:string <span>-></span> ?⁠file:string <span>-></span> ?⁠tts:bool <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Message_t/index.html#type-t">Message_t.t</a> Async.Deferred.Or_error.t</code></dt><dd><p>Advanced message sending.</p><p>Raises <a href="index.html#exception-Invalid_message"><code>Channel.Invalid_message</code></a> if one of content or embed is not set.</p><h3 id="examples"><a href="#examples" class="anchor"></a>Examples</h3><pre><code class="ml">open Core +open Disml + +let check_command (msg : Message.t) = + if String.is_prefix ~prefix:"!hello" msg.content then + let embed = { Embed.default with title = Some "Hello World!" } in + Channel.send_message ~embed msg.channel >>> ignore + +Client.message_create := check_command</code></pre></dd></dl><dl><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_message"><a href="#val-get_message" class="anchor"></a><code><span class="keyword">val </span>get_message : 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="../Message_t/index.html#type-t">Message_t.t</a> Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-get_messages"><a href="#val-get_messages" class="anchor"></a><code><span class="keyword">val </span>get_messages : ?⁠mode:[ `Before<span class="keyword"> | </span>`After<span class="keyword"> | </span>`Around ] <span>-></span> ?⁠id:<a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> ?⁠limit:int <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Message_t/index.html#type-t">Message_t.t</a> list Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-broadcast_typing"><a href="#val-broadcast_typing" class="anchor"></a><code><span class="keyword">val </span>broadcast_typing : <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_pins"><a href="#val-get_pins" class="anchor"></a><code><span class="keyword">val </span>get_pins : <a href="index.html#type-t">t</a> <span>-></span> <a href="../Message_t/index.html#type-t">Message_t.t</a> list Async.Deferred.Or_error.t</code></dt></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/Channel_t/index.html b/docs/disml/Disml/Channel_t/index.html index a928536..edfdad8 100644 --- a/docs/disml/Disml/Channel_t/index.html +++ b/docs/disml/Disml/Channel_t/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Channel_t (disml.Disml.Channel_t)</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> » Channel_t</nav><h1>Module <code>Disml.Channel_t</code></h1></header><dl><dt class="spec exception" id="exception-Invalid_channel"><a href="#exception-Invalid_channel" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">Invalid_channel</span><span class="keyword"> of </span>Yojson.Safe.json</code></dt></dl><dl><dt class="spec type" id="type-group"><a href="#type-group" class="anchor"></a><code><span class="keyword">type </span>group</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-group.id" class="anchored"><td class="def field"><a href="#type-group.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-group.last_message_id" class="anchored"><td class="def field"><a href="#type-group.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-group.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-group.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr><tr id="type-group.icon" class="anchored"><td class="def field"><a href="#type-group.icon" class="anchor"></a><code>icon : string option;</code></td></tr><tr id="type-group.name" class="anchored"><td class="def field"><a href="#type-group.name" class="anchor"></a><code>name : string option;</code></td></tr><tr id="type-group.owner_id" class="anchored"><td class="def field"><a href="#type-group.owner_id" class="anchor"></a><code>owner_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-group.recipients" class="anchored"><td class="def field"><a href="#type-group.recipients" class="anchor"></a><code>recipients : <a href="../User_t/index.html#type-t">User_t.t</a> list;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-group_of_sexp"><a href="#val-group_of_sexp" class="anchor"></a><code><span class="keyword">val </span>group_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-group">group</a></code></dt><dt class="spec value" id="val-sexp_of_group"><a href="#val-sexp_of_group" class="anchor"></a><code><span class="keyword">val </span>sexp_of_group : <a href="index.html#type-group">group</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-group_to_yojson"><a href="#val-group_to_yojson" class="anchor"></a><code><span class="keyword">val </span>group_to_yojson : <a href="index.html#type-group">group</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-group_of_yojson"><a href="#val-group_of_yojson" class="anchor"></a><code><span class="keyword">val </span>group_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-group">group</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-group">group</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-group">group</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-group_of_yojson_exn"><a href="#val-group_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>group_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-group">group</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-group">group</a></code></dt></dl><dl><dt class="spec type" id="type-dm"><a href="#type-dm" class="anchor"></a><code><span class="keyword">type </span>dm</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-dm.id" class="anchored"><td class="def field"><a href="#type-dm.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-dm.last_message_id" class="anchored"><td class="def field"><a href="#type-dm.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-dm.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-dm.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-dm_of_sexp"><a href="#val-dm_of_sexp" class="anchor"></a><code><span class="keyword">val </span>dm_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-dm">dm</a></code></dt><dt class="spec value" id="val-sexp_of_dm"><a href="#val-sexp_of_dm" class="anchor"></a><code><span class="keyword">val </span>sexp_of_dm : <a href="index.html#type-dm">dm</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-dm_to_yojson"><a href="#val-dm_to_yojson" class="anchor"></a><code><span class="keyword">val </span>dm_to_yojson : <a href="index.html#type-dm">dm</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-dm_of_yojson"><a href="#val-dm_of_yojson" class="anchor"></a><code><span class="keyword">val </span>dm_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-dm">dm</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-dm">dm</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-dm">dm</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-dm_of_yojson_exn"><a href="#val-dm_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>dm_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-dm">dm</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-dm">dm</a></code></dt></dl><dl><dt class="spec type" id="type-guild_text"><a href="#type-guild_text" class="anchor"></a><code><span class="keyword">type </span>guild_text</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-guild_text.id" class="anchored"><td class="def field"><a href="#type-guild_text.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-guild_text.last_message_id" class="anchored"><td class="def field"><a href="#type-guild_text.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-guild_text.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-guild_text.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr><tr id="type-guild_text.category_id" class="anchored"><td class="def field"><a href="#type-guild_text.category_id" class="anchor"></a><code>category_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-guild_text.guild_id" class="anchored"><td class="def field"><a href="#type-guild_text.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-guild_text.name" class="anchored"><td class="def field"><a href="#type-guild_text.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-guild_text.position" class="anchored"><td class="def field"><a href="#type-guild_text.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-guild_text.topic" class="anchored"><td class="def field"><a href="#type-guild_text.topic" class="anchor"></a><code>topic : string option;</code></td></tr><tr id="type-guild_text.nsfw" class="anchored"><td class="def field"><a href="#type-guild_text.nsfw" class="anchor"></a><code>nsfw : bool;</code></td></tr><tr id="type-guild_text.slow_mode_timeout" class="anchored"><td class="def field"><a href="#type-guild_text.slow_mode_timeout" class="anchor"></a><code>slow_mode_timeout : int option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-guild_text_of_sexp"><a href="#val-guild_text_of_sexp" class="anchor"></a><code><span class="keyword">val </span>guild_text_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-guild_text">guild_text</a></code></dt><dt class="spec value" id="val-sexp_of_guild_text"><a href="#val-sexp_of_guild_text" class="anchor"></a><code><span class="keyword">val </span>sexp_of_guild_text : <a href="index.html#type-guild_text">guild_text</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-guild_text_to_yojson"><a href="#val-guild_text_to_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_text_to_yojson : <a href="index.html#type-guild_text">guild_text</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-guild_text_of_yojson"><a href="#val-guild_text_of_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_text_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_text">guild_text</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-guild_text">guild_text</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-guild_text">guild_text</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-guild_text_of_yojson_exn"><a href="#val-guild_text_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>guild_text_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_text">guild_text</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-guild_text">guild_text</a></code></dt></dl><dl><dt class="spec type" id="type-guild_voice"><a href="#type-guild_voice" class="anchor"></a><code><span class="keyword">type </span>guild_voice</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-guild_voice.id" class="anchored"><td class="def field"><a href="#type-guild_voice.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-guild_voice.category_id" class="anchored"><td class="def field"><a href="#type-guild_voice.category_id" class="anchor"></a><code>category_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-guild_voice.guild_id" class="anchored"><td class="def field"><a href="#type-guild_voice.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-guild_voice.name" class="anchored"><td class="def field"><a href="#type-guild_voice.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-guild_voice.position" class="anchored"><td class="def field"><a href="#type-guild_voice.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-guild_voice.user_limit" class="anchored"><td class="def field"><a href="#type-guild_voice.user_limit" class="anchor"></a><code>user_limit : int;</code></td></tr><tr id="type-guild_voice.bitrate" class="anchored"><td class="def field"><a href="#type-guild_voice.bitrate" class="anchor"></a><code>bitrate : int option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-guild_voice_of_sexp"><a href="#val-guild_voice_of_sexp" class="anchor"></a><code><span class="keyword">val </span>guild_voice_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-guild_voice">guild_voice</a></code></dt><dt class="spec value" id="val-sexp_of_guild_voice"><a href="#val-sexp_of_guild_voice" class="anchor"></a><code><span class="keyword">val </span>sexp_of_guild_voice : <a href="index.html#type-guild_voice">guild_voice</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-guild_voice_to_yojson"><a href="#val-guild_voice_to_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_voice_to_yojson : <a href="index.html#type-guild_voice">guild_voice</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-guild_voice_of_yojson"><a href="#val-guild_voice_of_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_voice_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_voice">guild_voice</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-guild_voice">guild_voice</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-guild_voice">guild_voice</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-guild_voice_of_yojson_exn"><a href="#val-guild_voice_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>guild_voice_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_voice">guild_voice</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-guild_voice">guild_voice</a></code></dt></dl><dl><dt class="spec type" id="type-category"><a href="#type-category" class="anchor"></a><code><span class="keyword">type </span>category</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-category.id" class="anchored"><td class="def field"><a href="#type-category.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-category.guild_id" class="anchored"><td class="def field"><a href="#type-category.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-category.position" class="anchored"><td class="def field"><a href="#type-category.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-category.name" class="anchored"><td class="def field"><a href="#type-category.name" class="anchor"></a><code>name : string;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-category_of_sexp"><a href="#val-category_of_sexp" class="anchor"></a><code><span class="keyword">val </span>category_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-category">category</a></code></dt><dt class="spec value" id="val-sexp_of_category"><a href="#val-sexp_of_category" class="anchor"></a><code><span class="keyword">val </span>sexp_of_category : <a href="index.html#type-category">category</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-category_to_yojson"><a href="#val-category_to_yojson" class="anchor"></a><code><span class="keyword">val </span>category_to_yojson : <a href="index.html#type-category">category</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-category_of_yojson"><a href="#val-category_of_yojson" class="anchor"></a><code><span class="keyword">val </span>category_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-category">category</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-category">category</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-category">category</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-category_of_yojson_exn"><a href="#val-category_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>category_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-category">category</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-category">category</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><table class="variant"><tr id="type-t.Group" class="anchored"><td class="def constructor"><a href="#type-t.Group" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Group</span><span class="keyword"> of </span><a href="index.html#type-group">group</a></code></td></tr><tr id="type-t.Private" class="anchored"><td class="def constructor"><a href="#type-t.Private" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Private</span><span class="keyword"> of </span><a href="index.html#type-dm">dm</a></code></td></tr><tr id="type-t.GuildText" class="anchored"><td class="def constructor"><a href="#type-t.GuildText" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GuildText</span><span class="keyword"> of </span><a href="index.html#type-guild_text">guild_text</a></code></td></tr><tr id="type-t.GuildVoice" class="anchored"><td class="def constructor"><a href="#type-t.GuildVoice" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GuildVoice</span><span class="keyword"> of </span><a href="index.html#type-guild_voice">guild_voice</a></code></td></tr><tr id="type-t.Category" class="anchored"><td class="def constructor"><a href="#type-t.Category" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Category</span><span class="keyword"> of </span><a href="index.html#type-category">category</a></code></td></tr></table></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></dl><dl><dt class="spec type" id="type-channel_wrapper"><a href="#type-channel_wrapper" class="anchor"></a><code><span class="keyword">type </span>channel_wrapper</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-channel_wrapper.id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-channel_wrapper.kind" class="anchored"><td class="def field"><a href="#type-channel_wrapper.kind" class="anchor"></a><code>kind : int;</code></td></tr><tr id="type-channel_wrapper.guild_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.position" class="anchored"><td class="def field"><a href="#type-channel_wrapper.position" class="anchor"></a><code>position : int option;</code></td></tr><tr id="type-channel_wrapper.name" class="anchored"><td class="def field"><a href="#type-channel_wrapper.name" class="anchor"></a><code>name : string option;</code></td></tr><tr id="type-channel_wrapper.topic" class="anchored"><td class="def field"><a href="#type-channel_wrapper.topic" class="anchor"></a><code>topic : string option;</code></td></tr><tr id="type-channel_wrapper.nsfw" class="anchored"><td class="def field"><a href="#type-channel_wrapper.nsfw" class="anchor"></a><code>nsfw : bool option;</code></td></tr><tr id="type-channel_wrapper.last_message_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.bitrate" class="anchored"><td class="def field"><a href="#type-channel_wrapper.bitrate" class="anchor"></a><code>bitrate : int option;</code></td></tr><tr id="type-channel_wrapper.user_limit" class="anchored"><td class="def field"><a href="#type-channel_wrapper.user_limit" class="anchor"></a><code>user_limit : int option;</code></td></tr><tr id="type-channel_wrapper.slow_mode_timeout" class="anchored"><td class="def field"><a href="#type-channel_wrapper.slow_mode_timeout" class="anchor"></a><code>slow_mode_timeout : int option;</code></td></tr><tr id="type-channel_wrapper.recipients" class="anchored"><td class="def field"><a href="#type-channel_wrapper.recipients" class="anchor"></a><code>recipients : <a href="../User_t/index.html#type-t">User_t.t</a> list option;</code></td></tr><tr id="type-channel_wrapper.icon" class="anchored"><td class="def field"><a href="#type-channel_wrapper.icon" class="anchor"></a><code>icon : string option;</code></td></tr><tr id="type-channel_wrapper.owner_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.owner_id" class="anchor"></a><code>owner_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.application_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.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-channel_wrapper.category_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.category_id" class="anchor"></a><code>category_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-channel_wrapper.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-channel_wrapper_of_sexp"><a href="#val-channel_wrapper_of_sexp" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-channel_wrapper">channel_wrapper</a></code></dt><dt class="spec value" id="val-sexp_of_channel_wrapper"><a href="#val-sexp_of_channel_wrapper" class="anchor"></a><code><span class="keyword">val </span>sexp_of_channel_wrapper : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-channel_wrapper_to_yojson"><a href="#val-channel_wrapper_to_yojson" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_to_yojson : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-channel_wrapper_of_yojson"><a href="#val-channel_wrapper_of_yojson" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-channel_wrapper">channel_wrapper</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-channel_wrapper">channel_wrapper</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-channel_wrapper">channel_wrapper</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-channel_wrapper_of_yojson_exn"><a href="#val-channel_wrapper_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-channel_wrapper">channel_wrapper</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-channel_wrapper">channel_wrapper</a></code></dt><dt class="spec value" id="val-unwrap_as_guild_text"><a href="#val-unwrap_as_guild_text" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_guild_text : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-guild_text">guild_text</a></code></dt><dt class="spec value" id="val-unwrap_as_guild_voice"><a href="#val-unwrap_as_guild_voice" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_guild_voice : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-guild_voice">guild_voice</a></code></dt><dt class="spec value" id="val-unwrap_as_dm"><a href="#val-unwrap_as_dm" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_dm : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-dm">dm</a></code></dt><dt class="spec value" id="val-unwrap_as_group"><a href="#val-unwrap_as_group" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_group : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-group">group</a></code></dt><dt class="spec value" id="val-unwrap_as_category"><a href="#val-unwrap_as_category" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_category : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-category">category</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-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-get_id"><a href="#val-get_id" class="anchor"></a><code><span class="keyword">val </span>get_id : <a href="index.html#type-t">t</a> <span>-></span> <a href="../Snowflake/index.html#type-t">Snowflake.t</a></code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Channel_t (disml.Disml.Channel_t)</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> » Channel_t</nav><h1>Module <code>Disml.Channel_t</code></h1></header><dl><dt class="spec exception" id="exception-Invalid_channel"><a href="#exception-Invalid_channel" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">Invalid_channel</span><span class="keyword"> of </span>Yojson.Safe.json</code></dt></dl><dl><dt class="spec type" id="type-group"><a href="#type-group" class="anchor"></a><code><span class="keyword">type </span>group</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-group.id" class="anchored"><td class="def field"><a href="#type-group.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-group.last_message_id" class="anchored"><td class="def field"><a href="#type-group.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-group.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-group.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr><tr id="type-group.icon" class="anchored"><td class="def field"><a href="#type-group.icon" class="anchor"></a><code>icon : string option;</code></td></tr><tr id="type-group.name" class="anchored"><td class="def field"><a href="#type-group.name" class="anchor"></a><code>name : string option;</code></td></tr><tr id="type-group.owner_id" class="anchored"><td class="def field"><a href="#type-group.owner_id" class="anchor"></a><code>owner_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-group.recipients" class="anchored"><td class="def field"><a href="#type-group.recipients" class="anchor"></a><code>recipients : <a href="../User_t/index.html#type-t">User_t.t</a> list;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-group_of_sexp"><a href="#val-group_of_sexp" class="anchor"></a><code><span class="keyword">val </span>group_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-group">group</a></code></dt><dt class="spec value" id="val-sexp_of_group"><a href="#val-sexp_of_group" class="anchor"></a><code><span class="keyword">val </span>sexp_of_group : <a href="index.html#type-group">group</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-group_to_yojson"><a href="#val-group_to_yojson" class="anchor"></a><code><span class="keyword">val </span>group_to_yojson : <a href="index.html#type-group">group</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-group_of_yojson"><a href="#val-group_of_yojson" class="anchor"></a><code><span class="keyword">val </span>group_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-group">group</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-group_of_yojson_exn"><a href="#val-group_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>group_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-group">group</a></code></dt></dl><dl><dt class="spec type" id="type-dm"><a href="#type-dm" class="anchor"></a><code><span class="keyword">type </span>dm</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-dm.id" class="anchored"><td class="def field"><a href="#type-dm.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-dm.last_message_id" class="anchored"><td class="def field"><a href="#type-dm.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-dm.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-dm.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-dm_of_sexp"><a href="#val-dm_of_sexp" class="anchor"></a><code><span class="keyword">val </span>dm_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-dm">dm</a></code></dt><dt class="spec value" id="val-sexp_of_dm"><a href="#val-sexp_of_dm" class="anchor"></a><code><span class="keyword">val </span>sexp_of_dm : <a href="index.html#type-dm">dm</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-dm_to_yojson"><a href="#val-dm_to_yojson" class="anchor"></a><code><span class="keyword">val </span>dm_to_yojson : <a href="index.html#type-dm">dm</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-dm_of_yojson"><a href="#val-dm_of_yojson" class="anchor"></a><code><span class="keyword">val </span>dm_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-dm">dm</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-dm_of_yojson_exn"><a href="#val-dm_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>dm_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-dm">dm</a></code></dt></dl><dl><dt class="spec type" id="type-guild_text"><a href="#type-guild_text" class="anchor"></a><code><span class="keyword">type </span>guild_text</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-guild_text.id" class="anchored"><td class="def field"><a href="#type-guild_text.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-guild_text.last_message_id" class="anchored"><td class="def field"><a href="#type-guild_text.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-guild_text.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-guild_text.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr><tr id="type-guild_text.category_id" class="anchored"><td class="def field"><a href="#type-guild_text.category_id" class="anchor"></a><code>category_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-guild_text.guild_id" class="anchored"><td class="def field"><a href="#type-guild_text.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-guild_text.name" class="anchored"><td class="def field"><a href="#type-guild_text.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-guild_text.position" class="anchored"><td class="def field"><a href="#type-guild_text.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-guild_text.topic" class="anchored"><td class="def field"><a href="#type-guild_text.topic" class="anchor"></a><code>topic : string option;</code></td></tr><tr id="type-guild_text.nsfw" class="anchored"><td class="def field"><a href="#type-guild_text.nsfw" class="anchor"></a><code>nsfw : bool;</code></td></tr><tr id="type-guild_text.slow_mode_timeout" class="anchored"><td class="def field"><a href="#type-guild_text.slow_mode_timeout" class="anchor"></a><code>slow_mode_timeout : int option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-guild_text_of_sexp"><a href="#val-guild_text_of_sexp" class="anchor"></a><code><span class="keyword">val </span>guild_text_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-guild_text">guild_text</a></code></dt><dt class="spec value" id="val-sexp_of_guild_text"><a href="#val-sexp_of_guild_text" class="anchor"></a><code><span class="keyword">val </span>sexp_of_guild_text : <a href="index.html#type-guild_text">guild_text</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-guild_text_to_yojson"><a href="#val-guild_text_to_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_text_to_yojson : <a href="index.html#type-guild_text">guild_text</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-guild_text_of_yojson"><a href="#val-guild_text_of_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_text_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_text">guild_text</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-guild_text_of_yojson_exn"><a href="#val-guild_text_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>guild_text_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_text">guild_text</a></code></dt></dl><dl><dt class="spec type" id="type-guild_voice"><a href="#type-guild_voice" class="anchor"></a><code><span class="keyword">type </span>guild_voice</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-guild_voice.id" class="anchored"><td class="def field"><a href="#type-guild_voice.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-guild_voice.category_id" class="anchored"><td class="def field"><a href="#type-guild_voice.category_id" class="anchor"></a><code>category_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-guild_voice.guild_id" class="anchored"><td class="def field"><a href="#type-guild_voice.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-guild_voice.name" class="anchored"><td class="def field"><a href="#type-guild_voice.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-guild_voice.position" class="anchored"><td class="def field"><a href="#type-guild_voice.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-guild_voice.user_limit" class="anchored"><td class="def field"><a href="#type-guild_voice.user_limit" class="anchor"></a><code>user_limit : int;</code></td></tr><tr id="type-guild_voice.bitrate" class="anchored"><td class="def field"><a href="#type-guild_voice.bitrate" class="anchor"></a><code>bitrate : int option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-guild_voice_of_sexp"><a href="#val-guild_voice_of_sexp" class="anchor"></a><code><span class="keyword">val </span>guild_voice_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-guild_voice">guild_voice</a></code></dt><dt class="spec value" id="val-sexp_of_guild_voice"><a href="#val-sexp_of_guild_voice" class="anchor"></a><code><span class="keyword">val </span>sexp_of_guild_voice : <a href="index.html#type-guild_voice">guild_voice</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-guild_voice_to_yojson"><a href="#val-guild_voice_to_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_voice_to_yojson : <a href="index.html#type-guild_voice">guild_voice</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-guild_voice_of_yojson"><a href="#val-guild_voice_of_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_voice_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_voice">guild_voice</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-guild_voice_of_yojson_exn"><a href="#val-guild_voice_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>guild_voice_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_voice">guild_voice</a></code></dt></dl><dl><dt class="spec type" id="type-category"><a href="#type-category" class="anchor"></a><code><span class="keyword">type </span>category</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-category.id" class="anchored"><td class="def field"><a href="#type-category.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-category.guild_id" class="anchored"><td class="def field"><a href="#type-category.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-category.position" class="anchored"><td class="def field"><a href="#type-category.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-category.name" class="anchored"><td class="def field"><a href="#type-category.name" class="anchor"></a><code>name : string;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-category_of_sexp"><a href="#val-category_of_sexp" class="anchor"></a><code><span class="keyword">val </span>category_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-category">category</a></code></dt><dt class="spec value" id="val-sexp_of_category"><a href="#val-sexp_of_category" class="anchor"></a><code><span class="keyword">val </span>sexp_of_category : <a href="index.html#type-category">category</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-category_to_yojson"><a href="#val-category_to_yojson" class="anchor"></a><code><span class="keyword">val </span>category_to_yojson : <a href="index.html#type-category">category</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-category_of_yojson"><a href="#val-category_of_yojson" class="anchor"></a><code><span class="keyword">val </span>category_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-category">category</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-category_of_yojson_exn"><a href="#val-category_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>category_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-category">category</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><table class="variant"><tr id="type-t.Group" class="anchored"><td class="def constructor"><a href="#type-t.Group" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Group</span><span class="keyword"> of </span><a href="index.html#type-group">group</a></code></td></tr><tr id="type-t.Private" class="anchored"><td class="def constructor"><a href="#type-t.Private" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Private</span><span class="keyword"> of </span><a href="index.html#type-dm">dm</a></code></td></tr><tr id="type-t.GuildText" class="anchored"><td class="def constructor"><a href="#type-t.GuildText" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GuildText</span><span class="keyword"> of </span><a href="index.html#type-guild_text">guild_text</a></code></td></tr><tr id="type-t.GuildVoice" class="anchored"><td class="def constructor"><a href="#type-t.GuildVoice" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GuildVoice</span><span class="keyword"> of </span><a href="index.html#type-guild_voice">guild_voice</a></code></td></tr><tr id="type-t.Category" class="anchored"><td class="def constructor"><a href="#type-t.Category" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Category</span><span class="keyword"> of </span><a href="index.html#type-category">category</a></code></td></tr></table></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></dl><dl><dt class="spec type" id="type-channel_wrapper"><a href="#type-channel_wrapper" class="anchor"></a><code><span class="keyword">type </span>channel_wrapper</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-channel_wrapper.id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-channel_wrapper.kind" class="anchored"><td class="def field"><a href="#type-channel_wrapper.kind" class="anchor"></a><code>kind : int;</code></td></tr><tr id="type-channel_wrapper.guild_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.position" class="anchored"><td class="def field"><a href="#type-channel_wrapper.position" class="anchor"></a><code>position : int option;</code></td></tr><tr id="type-channel_wrapper.name" class="anchored"><td class="def field"><a href="#type-channel_wrapper.name" class="anchor"></a><code>name : string option;</code></td></tr><tr id="type-channel_wrapper.topic" class="anchored"><td class="def field"><a href="#type-channel_wrapper.topic" class="anchor"></a><code>topic : string option;</code></td></tr><tr id="type-channel_wrapper.nsfw" class="anchored"><td class="def field"><a href="#type-channel_wrapper.nsfw" class="anchor"></a><code>nsfw : bool option;</code></td></tr><tr id="type-channel_wrapper.last_message_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.bitrate" class="anchored"><td class="def field"><a href="#type-channel_wrapper.bitrate" class="anchor"></a><code>bitrate : int option;</code></td></tr><tr id="type-channel_wrapper.user_limit" class="anchored"><td class="def field"><a href="#type-channel_wrapper.user_limit" class="anchor"></a><code>user_limit : int option;</code></td></tr><tr id="type-channel_wrapper.slow_mode_timeout" class="anchored"><td class="def field"><a href="#type-channel_wrapper.slow_mode_timeout" class="anchor"></a><code>slow_mode_timeout : int option;</code></td></tr><tr id="type-channel_wrapper.recipients" class="anchored"><td class="def field"><a href="#type-channel_wrapper.recipients" class="anchor"></a><code>recipients : <a href="../User_t/index.html#type-t">User_t.t</a> list option;</code></td></tr><tr id="type-channel_wrapper.icon" class="anchored"><td class="def field"><a href="#type-channel_wrapper.icon" class="anchor"></a><code>icon : string option;</code></td></tr><tr id="type-channel_wrapper.owner_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.owner_id" class="anchor"></a><code>owner_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.application_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.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-channel_wrapper.category_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.category_id" class="anchor"></a><code>category_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-channel_wrapper.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-channel_wrapper_of_sexp"><a href="#val-channel_wrapper_of_sexp" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-channel_wrapper">channel_wrapper</a></code></dt><dt class="spec value" id="val-sexp_of_channel_wrapper"><a href="#val-sexp_of_channel_wrapper" class="anchor"></a><code><span class="keyword">val </span>sexp_of_channel_wrapper : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-channel_wrapper_to_yojson"><a href="#val-channel_wrapper_to_yojson" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_to_yojson : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-channel_wrapper_of_yojson"><a href="#val-channel_wrapper_of_yojson" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-channel_wrapper">channel_wrapper</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-channel_wrapper_of_yojson_exn"><a href="#val-channel_wrapper_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-channel_wrapper">channel_wrapper</a></code></dt><dt class="spec value" id="val-unwrap_as_guild_text"><a href="#val-unwrap_as_guild_text" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_guild_text : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-guild_text">guild_text</a></code></dt><dt class="spec value" id="val-unwrap_as_guild_voice"><a href="#val-unwrap_as_guild_voice" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_guild_voice : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-guild_voice">guild_voice</a></code></dt><dt class="spec value" id="val-unwrap_as_dm"><a href="#val-unwrap_as_dm" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_dm : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-dm">dm</a></code></dt><dt class="spec value" id="val-unwrap_as_group"><a href="#val-unwrap_as_group" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_group : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-group">group</a></code></dt><dt class="spec value" id="val-unwrap_as_category"><a href="#val-unwrap_as_category" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_category : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-category">category</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-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-get_id"><a href="#val-get_id" class="anchor"></a><code><span class="keyword">val </span>get_id : <a href="index.html#type-t">t</a> <span>-></span> <a href="../Snowflake/index.html#type-t">Snowflake.t</a></code></dt></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/Client/index.html b/docs/disml/Disml/Client/index.html index d65d400..cc21a97 100644 --- a/docs/disml/Disml/Client/index.html +++ b/docs/disml/Disml/Client/index.html @@ -1,2 +1,17 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Client (disml.Disml.Client)</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> » Client</nav><h1>Module <code>Disml.Client</code></h1></header><div><div class="spec include"><div class="doc"><details open="open"><summary><span class="def"><code><span class="keyword">include </span><a href="../index.html#module-Client_options">Client_options</a></code></span></summary><aside></aside><dl><dt class="spec value" id="val-token"><a href="#val-token" class="anchor"></a><code><span class="keyword">val </span>token : string Stdlib.ref</code></dt></dl></details></div></div></div><div><div class="spec include"><div class="doc"><details open="open"><summary><span class="def"><code><span class="keyword">include </span><a href="../index.html#module-Dispatch">Dispatch</a></code></span></summary><aside></aside><dl><dt class="spec value" id="val-hello"><a href="#val-hello" class="anchor"></a><code><span class="keyword">val </span>hello : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when connecting to the gateway, most users will have no use for this.</p></dd></dl><dl><dt class="spec value" id="val-ready"><a href="#val-ready" class="anchor"></a><code><span class="keyword">val </span>ready : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when each shard receives READY from discord after identifying on the gateway. Other event dispatch is received after this.</p></dd></dl><dl><dt class="spec value" id="val-resumed"><a href="#val-resumed" class="anchor"></a><code><span class="keyword">val </span>resumed : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when successfully reconnecting to the gateway.</p></dd></dl><dl><dt class="spec value" id="val-invalid_session"><a href="#val-invalid_session" class="anchor"></a><code><span class="keyword">val </span>invalid_session : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when Discord decides a session is invalid, much like <a href="index.html#val-hello"><code>Client.hello</code></a> this is not very useful for most people.</p></dd></dl><dl><dt class="spec value" id="val-channel_create"><a href="#val-channel_create" class="anchor"></a><code><span class="keyword">val </span>channel_create : (<a href="../Channel_t/index.html#type-t">Channel_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a channel is created which is visible to the bot.</p></dd></dl><dl><dt class="spec value" id="val-channel_update"><a href="#val-channel_update" class="anchor"></a><code><span class="keyword">val </span>channel_update : (<a href="../Channel_t/index.html#type-t">Channel_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a channel visible to the bot is changed.</p></dd></dl><dl><dt class="spec value" id="val-channel_delete"><a href="#val-channel_delete" class="anchor"></a><code><span class="keyword">val </span>channel_delete : (<a href="../Channel_t/index.html#type-t">Channel_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a channel visible to the bot is deleted.</p></dd></dl><dl><dt class="spec value" id="val-channel_pins_update"><a href="#val-channel_pins_update" class="anchor"></a><code><span class="keyword">val </span>channel_pins_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when messages are pinned or unpinned from a a channel.</p></dd></dl><dl><dt class="spec value" id="val-guild_create"><a href="#val-guild_create" class="anchor"></a><code><span class="keyword">val </span>guild_create : (<a href="../Guild_t/index.html#type-t">Guild_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when the bot joins a guild, and during startup.</p></dd></dl><dl><dt class="spec value" id="val-guild_update"><a href="#val-guild_update" class="anchor"></a><code><span class="keyword">val </span>guild_update : (<a href="../Guild_t/index.html#type-t">Guild_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a guild the bot is in is edited.</p></dd></dl><dl><dt class="spec value" id="val-guild_delete"><a href="#val-guild_delete" class="anchor"></a><code><span class="keyword">val </span>guild_delete : (<a href="../Guild_t/index.html#type-t">Guild_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when the bot is removed from a guild.</p></dd></dl><dl><dt class="spec value" id="val-member_ban"><a href="#val-member_ban" class="anchor"></a><code><span class="keyword">val </span>member_ban : (<a href="../Ban_t/index.html#type-t">Ban_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member is banned.</p></dd></dl><dl><dt class="spec value" id="val-member_unban"><a href="#val-member_unban" class="anchor"></a><code><span class="keyword">val </span>member_unban : (<a href="../Ban_t/index.html#type-t">Ban_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member is unbanned.</p></dd></dl><dl><dt class="spec value" id="val-guild_emojis_update"><a href="#val-guild_emojis_update" class="anchor"></a><code><span class="keyword">val </span>guild_emojis_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when emojis are added or removed from a guild.</p></dd></dl><dl><dt class="spec value" id="val-integrations_update"><a href="#val-integrations_update" class="anchor"></a><code><span class="keyword">val </span>integrations_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a guild's integrations are updated.</p></dd></dl><dl><dt class="spec value" id="val-member_join"><a href="#val-member_join" class="anchor"></a><code><span class="keyword">val </span>member_join : (<a href="../Member_t/index.html#type-t">Member_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member joins a guild.</p></dd></dl><dl><dt class="spec value" id="val-member_leave"><a href="#val-member_leave" class="anchor"></a><code><span class="keyword">val </span>member_leave : (<a href="../Member_t/index.html#type-member_wrapper">Member_t.member_wrapper</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member leaves a guild. Is Dispatched alongside <a href="index.html#val-member_ban"><code>Client.member_ban</code></a> when a user is banned.</p></dd></dl><dl><dt class="spec value" id="val-member_update"><a href="#val-member_update" class="anchor"></a><code><span class="keyword">val </span>member_update : (<a href="../Member_t/index.html#type-member_update">Member_t.member_update</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member object is updated.</p></dd></dl><dl><dt class="spec value" id="val-members_chunk"><a href="#val-members_chunk" class="anchor"></a><code><span class="keyword">val </span>members_chunk : (<a href="../Member_t/index.html#type-t">Member_t.t</a> list <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when requesting guild members through <a href="index.html#val-request_guild_members"><code>Client.request_guild_members</code></a></p></dd></dl><dl><dt class="spec value" id="val-role_create"><a href="#val-role_create" class="anchor"></a><code><span class="keyword">val </span>role_create : (<a href="../Role_t/index.html#type-t">Role_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a role is created.</p></dd></dl><dl><dt class="spec value" id="val-role_update"><a href="#val-role_update" class="anchor"></a><code><span class="keyword">val </span>role_update : (<a href="../Role_t/index.html#type-t">Role_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a role is edited.</p></dd></dl><dl><dt class="spec value" id="val-role_delete"><a href="#val-role_delete" class="anchor"></a><code><span class="keyword">val </span>role_delete : (<a href="../Role_t/index.html#type-t">Role_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a role is deleted.</p></dd></dl><dl><dt class="spec value" id="val-message_create"><a href="#val-message_create" class="anchor"></a><code><span class="keyword">val </span>message_create : (<a href="../Message_t/index.html#type-t">Message_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a message is sent.</p></dd></dl><dl><dt class="spec value" id="val-message_update"><a href="#val-message_update" class="anchor"></a><code><span class="keyword">val </span>message_update : (<a href="../Message_t/index.html#type-message_update">Message_t.message_update</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a message is edited. This does not necessarily mean the content changed.</p></dd></dl><dl><dt class="spec value" id="val-message_delete"><a href="#val-message_delete" class="anchor"></a><code><span class="keyword">val </span>message_delete : (<a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> <a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a message is deleted.</p></dd></dl><dl><dt class="spec value" id="val-message_bulk_delete"><a href="#val-message_bulk_delete" class="anchor"></a><code><span class="keyword">val </span>message_bulk_delete : (<a href="../Snowflake/index.html#type-t">Snowflake.t</a> list <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when messages are bulk deleted.</p></dd></dl><dl><dt class="spec value" id="val-reaction_add"><a href="#val-reaction_add" class="anchor"></a><code><span class="keyword">val </span>reaction_add : (<a href="../Reaction_t/index.html#type-reaction_event">Reaction_t.reaction_event</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a rection is added to a message.</p></dd></dl><dl><dt class="spec value" id="val-reaction_remove"><a href="#val-reaction_remove" class="anchor"></a><code><span class="keyword">val </span>reaction_remove : (<a href="../Reaction_t/index.html#type-reaction_event">Reaction_t.reaction_event</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a reaction is removed from a message.</p></dd></dl><dl><dt class="spec value" id="val-reaction_bulk_remove"><a href="#val-reaction_bulk_remove" class="anchor"></a><code><span class="keyword">val </span>reaction_bulk_remove : (<a href="../Reaction_t/index.html#type-t">Reaction_t.t</a> list <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when all reactions are cleared from a message.</p></dd></dl><dl><dt class="spec value" id="val-presence_update"><a href="#val-presence_update" class="anchor"></a><code><span class="keyword">val </span>presence_update : (<a href="../Presence/index.html#type-t">Presence.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a user updates their presence.</p></dd></dl><dl><dt class="spec value" id="val-typing_start"><a href="#val-typing_start" class="anchor"></a><code><span class="keyword">val </span>typing_start : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a typing indicator is displayed.</p></dd></dl><dl><dt class="spec value" id="val-user_update"><a href="#val-user_update" class="anchor"></a><code><span class="keyword">val </span>user_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when the current user is updated. You most likely want <a href="index.html#val-member_update"><code>Client.member_update</code></a> or <a href="index.html#val-presence_update"><code>Client.presence_update</code></a> instead.</p></dd></dl></details></div></div></div><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.sharder" class="anchored"><td class="def field"><a href="#type-t.sharder" class="anchor"></a><code>sharder : <a href="../Sharder/index.html#type-t">Sharder.t</a>;</code></td></tr><tr id="type-t.token" class="anchored"><td class="def field"><a href="#type-t.token" class="anchor"></a><code>token : string;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-start"><a href="#val-start" class="anchor"></a><code><span class="keyword">val </span>start : ?⁠count:int <span>-></span> string <span>-></span> <a href="index.html#type-t">t</a> Async_kernel__Deferred.t</code></dt><dt class="spec value" id="val-set_status"><a href="#val-set_status" class="anchor"></a><code><span class="keyword">val </span>set_status : status:Yojson.Safe.json <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Sharder/Shard/index.html#type-shard">Sharder.Shard.shard</a> list Async.Deferred.t</code></dt><dt class="spec value" id="val-set_status_with"><a href="#val-set_status_with" class="anchor"></a><code><span class="keyword">val </span>set_status_with : f:(<a href="../Sharder/Shard/index.html#type-shard">Sharder.Shard.shard</a> <span>-></span> Yojson.Safe.json) <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Sharder/Shard/index.html#type-shard">Sharder.Shard.shard</a> list Async.Deferred.t</code></dt><dt class="spec value" id="val-request_guild_members"><a href="#val-request_guild_members" class="anchor"></a><code><span class="keyword">val </span>request_guild_members : guild:<a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> ?⁠query:string <span>-></span> ?⁠limit:int <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Sharder/Shard/index.html#type-shard">Sharder.Shard.shard</a> list Async.Deferred.t</code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Client (disml.Disml.Client)</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> » Client</nav><h1>Module <code>Disml.Client</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-Client_options">Client_options</a></code></span></summary><aside></aside><dl><dt class="spec value" id="val-token"><a href="#val-token" class="anchor"></a><code><span class="keyword">val </span>token : string Stdlib.ref</code></dt><dd><p>Token that is set when using <a href="index.html#val-start"><code>Client.start</code></a></p></dd></dl></details></div></div></div><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-Dispatch">Dispatch</a></code></span></summary><aside></aside><aside><p>Used to store dispatch callbacks. Each event can only have one callback registered at a time. These should be accessed through their re-export in <a href="index.html"><code>Client</code></a>.</p></aside><section><header><h3 id="examples"><a href="#examples" class="anchor"></a>Examples</h3><p><code>Client.ready := (fun _ -> print_endline "Shard is Ready!")</code></p><p><code>Client.guild_create := (fun guild -> print_endline guild.name)</code></p><pre><code class="ml">open Core +open Disml + +let check_command (msg : Message.t) = + if String.is_prefix ~prefix:"!ping" msg.content then + Message.reply msg "Pong!" >>> ignore + +Client.message_create := check_command</code></pre></header><dl><dt class="spec value" id="val-hello"><a href="#val-hello" class="anchor"></a><code><span class="keyword">val </span>hello : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when connecting to the gateway, most users will have no use for this.</p></dd></dl><dl><dt class="spec value" id="val-ready"><a href="#val-ready" class="anchor"></a><code><span class="keyword">val </span>ready : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when each shard receives READY from discord after identifying on the gateway. Other event dispatch is received after this.</p></dd></dl><dl><dt class="spec value" id="val-resumed"><a href="#val-resumed" class="anchor"></a><code><span class="keyword">val </span>resumed : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when successfully reconnecting to the gateway.</p></dd></dl><dl><dt class="spec value" id="val-invalid_session"><a href="#val-invalid_session" class="anchor"></a><code><span class="keyword">val </span>invalid_session : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when Discord decides a session is invalid, much like <a href="index.html#val-hello"><code>Client.hello</code></a> this is not very useful for most people.</p></dd></dl><dl><dt class="spec value" id="val-channel_create"><a href="#val-channel_create" class="anchor"></a><code><span class="keyword">val </span>channel_create : (<a href="../Channel_t/index.html#type-t">Channel_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a channel is created which is visible to the bot.</p></dd></dl><dl><dt class="spec value" id="val-channel_update"><a href="#val-channel_update" class="anchor"></a><code><span class="keyword">val </span>channel_update : (<a href="../Channel_t/index.html#type-t">Channel_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a channel visible to the bot is changed.</p></dd></dl><dl><dt class="spec value" id="val-channel_delete"><a href="#val-channel_delete" class="anchor"></a><code><span class="keyword">val </span>channel_delete : (<a href="../Channel_t/index.html#type-t">Channel_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a channel visible to the bot is deleted.</p></dd></dl><dl><dt class="spec value" id="val-channel_pins_update"><a href="#val-channel_pins_update" class="anchor"></a><code><span class="keyword">val </span>channel_pins_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when messages are pinned or unpinned from a a channel.</p></dd></dl><dl><dt class="spec value" id="val-guild_create"><a href="#val-guild_create" class="anchor"></a><code><span class="keyword">val </span>guild_create : (<a href="../Guild_t/index.html#type-t">Guild_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when the bot joins a guild, and during startup.</p></dd></dl><dl><dt class="spec value" id="val-guild_update"><a href="#val-guild_update" class="anchor"></a><code><span class="keyword">val </span>guild_update : (<a href="../Guild_t/index.html#type-t">Guild_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a guild the bot is in is edited.</p></dd></dl><dl><dt class="spec value" id="val-guild_delete"><a href="#val-guild_delete" class="anchor"></a><code><span class="keyword">val </span>guild_delete : (<a href="../Guild_t/index.html#type-t">Guild_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when the bot is removed from a guild.</p></dd></dl><dl><dt class="spec value" id="val-member_ban"><a href="#val-member_ban" class="anchor"></a><code><span class="keyword">val </span>member_ban : (<a href="../Ban_t/index.html#type-t">Ban_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member is banned.</p></dd></dl><dl><dt class="spec value" id="val-member_unban"><a href="#val-member_unban" class="anchor"></a><code><span class="keyword">val </span>member_unban : (<a href="../Ban_t/index.html#type-t">Ban_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member is unbanned.</p></dd></dl><dl><dt class="spec value" id="val-guild_emojis_update"><a href="#val-guild_emojis_update" class="anchor"></a><code><span class="keyword">val </span>guild_emojis_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when emojis are added or removed from a guild.</p></dd></dl><dl><dt class="spec value" id="val-integrations_update"><a href="#val-integrations_update" class="anchor"></a><code><span class="keyword">val </span>integrations_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a guild's integrations are updated.</p></dd></dl><dl><dt class="spec value" id="val-member_join"><a href="#val-member_join" class="anchor"></a><code><span class="keyword">val </span>member_join : (<a href="../Member_t/index.html#type-t">Member_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member joins a guild.</p></dd></dl><dl><dt class="spec value" id="val-member_leave"><a href="#val-member_leave" class="anchor"></a><code><span class="keyword">val </span>member_leave : (<a href="../Member_t/index.html#type-member_wrapper">Member_t.member_wrapper</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member leaves a guild. Is Dispatched alongside <a href="index.html#val-member_ban"><code>Client.member_ban</code></a> when a user is banned.</p></dd></dl><dl><dt class="spec value" id="val-member_update"><a href="#val-member_update" class="anchor"></a><code><span class="keyword">val </span>member_update : (<a href="../Member_t/index.html#type-member_update">Member_t.member_update</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member object is updated.</p></dd></dl><dl><dt class="spec value" id="val-members_chunk"><a href="#val-members_chunk" class="anchor"></a><code><span class="keyword">val </span>members_chunk : (<a href="../Member_t/index.html#type-t">Member_t.t</a> list <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when requesting guild members through <a href="index.html#val-request_guild_members"><code>Client.request_guild_members</code></a></p></dd></dl><dl><dt class="spec value" id="val-role_create"><a href="#val-role_create" class="anchor"></a><code><span class="keyword">val </span>role_create : (<a href="../Role_t/index.html#type-t">Role_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a role is created.</p></dd></dl><dl><dt class="spec value" id="val-role_update"><a href="#val-role_update" class="anchor"></a><code><span class="keyword">val </span>role_update : (<a href="../Role_t/index.html#type-t">Role_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a role is edited.</p></dd></dl><dl><dt class="spec value" id="val-role_delete"><a href="#val-role_delete" class="anchor"></a><code><span class="keyword">val </span>role_delete : (<a href="../Role_t/index.html#type-t">Role_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a role is deleted.</p></dd></dl><dl><dt class="spec value" id="val-message_create"><a href="#val-message_create" class="anchor"></a><code><span class="keyword">val </span>message_create : (<a href="../Message_t/index.html#type-t">Message_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a message is sent.</p></dd></dl><dl><dt class="spec value" id="val-message_update"><a href="#val-message_update" class="anchor"></a><code><span class="keyword">val </span>message_update : (<a href="../Message_t/index.html#type-message_update">Message_t.message_update</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a message is edited. This does not necessarily mean the content changed.</p></dd></dl><dl><dt class="spec value" id="val-message_delete"><a href="#val-message_delete" class="anchor"></a><code><span class="keyword">val </span>message_delete : (<a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> <a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a message is deleted.</p></dd></dl><dl><dt class="spec value" id="val-message_bulk_delete"><a href="#val-message_bulk_delete" class="anchor"></a><code><span class="keyword">val </span>message_bulk_delete : (<a href="../Snowflake/index.html#type-t">Snowflake.t</a> list <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when messages are bulk deleted.</p></dd></dl><dl><dt class="spec value" id="val-reaction_add"><a href="#val-reaction_add" class="anchor"></a><code><span class="keyword">val </span>reaction_add : (<a href="../Reaction_t/index.html#type-reaction_event">Reaction_t.reaction_event</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a rection is added to a message.</p></dd></dl><dl><dt class="spec value" id="val-reaction_remove"><a href="#val-reaction_remove" class="anchor"></a><code><span class="keyword">val </span>reaction_remove : (<a href="../Reaction_t/index.html#type-reaction_event">Reaction_t.reaction_event</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a reaction is removed from a message.</p></dd></dl><dl><dt class="spec value" id="val-reaction_bulk_remove"><a href="#val-reaction_bulk_remove" class="anchor"></a><code><span class="keyword">val </span>reaction_bulk_remove : (<a href="../Reaction_t/index.html#type-t">Reaction_t.t</a> list <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when all reactions are cleared from a message.</p></dd></dl><dl><dt class="spec value" id="val-presence_update"><a href="#val-presence_update" class="anchor"></a><code><span class="keyword">val </span>presence_update : (<a href="../Presence/index.html#type-t">Presence.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a user updates their presence.</p></dd></dl><dl><dt class="spec value" id="val-typing_start"><a href="#val-typing_start" class="anchor"></a><code><span class="keyword">val </span>typing_start : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a typing indicator is displayed.</p></dd></dl><dl><dt class="spec value" id="val-user_update"><a href="#val-user_update" class="anchor"></a><code><span class="keyword">val </span>user_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when the current user is updated. You most likely want <a href="index.html#val-member_update"><code>Client.member_update</code></a> or <a href="index.html#val-presence_update"><code>Client.presence_update</code></a> instead.</p></dd></dl></section></details></div></div></div><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.sharder" class="anchored"><td class="def field"><a href="#type-t.sharder" class="anchor"></a><code>sharder : <a href="../Sharder/index.html#type-t">Sharder.t</a>;</code></td></tr></table><code>}</code></dt><dd><p>Type of the Client, it isn't recommended to access the fields directly.</p></dd></dl><dl><dt class="spec value" id="val-start"><a href="#val-start" class="anchor"></a><code><span class="keyword">val </span>start : ?⁠count:int <span>-></span> string <span>-></span> <a href="index.html#type-t">t</a> Async.Deferred.t</code></dt><dd><p>Start the Client. This begins shard connections to Discord and event handlers should be registered prior to calling this.</p><h3 id="example"><a href="#example" class="anchor"></a>Example</h3><pre><code class="ml">open Async +open Disml + +let main () = + let token = "a valid bot token" in + Client.start ~count:5 token >>> print_endline "Client launched" + +let _ = + Scheduler.go_main ~main ()</code></pre><dl><dt>parameter ?count</dt><dd><p>Optional amount of shards to launch. Defaults to autosharding</p></dd></dl><dl><dt>parameter string</dt><dd><p>The token used for authentication</p></dd></dl><dl><dt>returns</dt><dd><p>A deferred client object</p></dd></dl></dd></dl><dl><dt class="spec value" id="val-set_status"><a href="#val-set_status" class="anchor"></a><code><span class="keyword">val </span>set_status : status:Yojson.Safe.json <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Sharder/Shard/index.html#type-shard">Sharder.Shard.shard</a> list Async.Deferred.t</code></dt><dd><p>Same as <a href="../Sharder/index.html#val-set_status"><code>Sharder.set_status</code></a> where <code>client.sharder</code> is passed.</p></dd></dl><dl><dt class="spec value" id="val-set_status_with"><a href="#val-set_status_with" class="anchor"></a><code><span class="keyword">val </span>set_status_with : f:(<a href="../Sharder/Shard/index.html#type-shard">Sharder.Shard.shard</a> <span>-></span> Yojson.Safe.json) <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Sharder/Shard/index.html#type-shard">Sharder.Shard.shard</a> list Async.Deferred.t</code></dt><dd><p>Same as <a href="../Sharder/index.html#val-set_status_with"><code>Sharder.set_status_with</code></a> where <code>client.sharder</code> is passed.</p></dd></dl><dl><dt class="spec value" id="val-request_guild_members"><a href="#val-request_guild_members" class="anchor"></a><code><span class="keyword">val </span>request_guild_members : guild:<a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> ?⁠query:string <span>-></span> ?⁠limit:int <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Sharder/Shard/index.html#type-shard">Sharder.Shard.shard</a> list Async.Deferred.t</code></dt><dd><p>Same as <a href="../Sharder/index.html#val-request_guild_members"><code>Sharder.request_guild_members</code></a> where <code>client.sharder</code> is passed.</p></dd></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/Client_options/index.html b/docs/disml/Disml/Client_options/index.html index 0c28b72..6361946 100644 --- a/docs/disml/Disml/Client_options/index.html +++ b/docs/disml/Disml/Client_options/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Client_options (disml.Disml.Client_options)</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> » Client_options</nav><h1>Module <code>Disml.Client_options</code></h1></header><dl><dt class="spec value" id="val-token"><a href="#val-token" class="anchor"></a><code><span class="keyword">val </span>token : string Stdlib.ref</code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Client_options (disml.Disml.Client_options)</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> » Client_options</nav><h1>Module <code>Disml.Client_options</code></h1></header><dl><dt class="spec value" id="val-token"><a href="#val-token" class="anchor"></a><code><span class="keyword">val </span>token : string Stdlib.ref</code></dt><dd><p>Token that is set when using <a href="../Client/index.html#val-start"><code>Client.start</code></a></p></dd></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/Dispatch/index.html b/docs/disml/Disml/Dispatch/index.html index 1441d5c..43da27d 100644 --- a/docs/disml/Disml/Dispatch/index.html +++ b/docs/disml/Disml/Dispatch/index.html @@ -1,2 +1,9 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Dispatch (disml.Disml.Dispatch)</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> » Dispatch</nav><h1>Module <code>Disml.Dispatch</code></h1></header><dl><dt class="spec value" id="val-hello"><a href="#val-hello" class="anchor"></a><code><span class="keyword">val </span>hello : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when connecting to the gateway, most users will have no use for this.</p></dd></dl><dl><dt class="spec value" id="val-ready"><a href="#val-ready" class="anchor"></a><code><span class="keyword">val </span>ready : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when each shard receives READY from discord after identifying on the gateway. Other event dispatch is received after this.</p></dd></dl><dl><dt class="spec value" id="val-resumed"><a href="#val-resumed" class="anchor"></a><code><span class="keyword">val </span>resumed : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when successfully reconnecting to the gateway.</p></dd></dl><dl><dt class="spec value" id="val-invalid_session"><a href="#val-invalid_session" class="anchor"></a><code><span class="keyword">val </span>invalid_session : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when Discord decides a session is invalid, much like <a href="../Client/index.html#val-hello"><code>Client.hello</code></a> this is not very useful for most people.</p></dd></dl><dl><dt class="spec value" id="val-channel_create"><a href="#val-channel_create" class="anchor"></a><code><span class="keyword">val </span>channel_create : (<a href="../Channel_t/index.html#type-t">Channel_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a channel is created which is visible to the bot.</p></dd></dl><dl><dt class="spec value" id="val-channel_update"><a href="#val-channel_update" class="anchor"></a><code><span class="keyword">val </span>channel_update : (<a href="../Channel_t/index.html#type-t">Channel_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a channel visible to the bot is changed.</p></dd></dl><dl><dt class="spec value" id="val-channel_delete"><a href="#val-channel_delete" class="anchor"></a><code><span class="keyword">val </span>channel_delete : (<a href="../Channel_t/index.html#type-t">Channel_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a channel visible to the bot is deleted.</p></dd></dl><dl><dt class="spec value" id="val-channel_pins_update"><a href="#val-channel_pins_update" class="anchor"></a><code><span class="keyword">val </span>channel_pins_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when messages are pinned or unpinned from a a channel.</p></dd></dl><dl><dt class="spec value" id="val-guild_create"><a href="#val-guild_create" class="anchor"></a><code><span class="keyword">val </span>guild_create : (<a href="../Guild_t/index.html#type-t">Guild_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when the bot joins a guild, and during startup.</p></dd></dl><dl><dt class="spec value" id="val-guild_update"><a href="#val-guild_update" class="anchor"></a><code><span class="keyword">val </span>guild_update : (<a href="../Guild_t/index.html#type-t">Guild_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a guild the bot is in is edited.</p></dd></dl><dl><dt class="spec value" id="val-guild_delete"><a href="#val-guild_delete" class="anchor"></a><code><span class="keyword">val </span>guild_delete : (<a href="../Guild_t/index.html#type-t">Guild_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when the bot is removed from a guild.</p></dd></dl><dl><dt class="spec value" id="val-member_ban"><a href="#val-member_ban" class="anchor"></a><code><span class="keyword">val </span>member_ban : (<a href="../Ban_t/index.html#type-t">Ban_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member is banned.</p></dd></dl><dl><dt class="spec value" id="val-member_unban"><a href="#val-member_unban" class="anchor"></a><code><span class="keyword">val </span>member_unban : (<a href="../Ban_t/index.html#type-t">Ban_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member is unbanned.</p></dd></dl><dl><dt class="spec value" id="val-guild_emojis_update"><a href="#val-guild_emojis_update" class="anchor"></a><code><span class="keyword">val </span>guild_emojis_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when emojis are added or removed from a guild.</p></dd></dl><dl><dt class="spec value" id="val-integrations_update"><a href="#val-integrations_update" class="anchor"></a><code><span class="keyword">val </span>integrations_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a guild's integrations are updated.</p></dd></dl><dl><dt class="spec value" id="val-member_join"><a href="#val-member_join" class="anchor"></a><code><span class="keyword">val </span>member_join : (<a href="../Member_t/index.html#type-t">Member_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member joins a guild.</p></dd></dl><dl><dt class="spec value" id="val-member_leave"><a href="#val-member_leave" class="anchor"></a><code><span class="keyword">val </span>member_leave : (<a href="../Member_t/index.html#type-member_wrapper">Member_t.member_wrapper</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member leaves a guild. Is Dispatched alongside <a href="../Client/index.html#val-member_ban"><code>Client.member_ban</code></a> when a user is banned.</p></dd></dl><dl><dt class="spec value" id="val-member_update"><a href="#val-member_update" class="anchor"></a><code><span class="keyword">val </span>member_update : (<a href="../Member_t/index.html#type-member_update">Member_t.member_update</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member object is updated.</p></dd></dl><dl><dt class="spec value" id="val-members_chunk"><a href="#val-members_chunk" class="anchor"></a><code><span class="keyword">val </span>members_chunk : (<a href="../Member_t/index.html#type-t">Member_t.t</a> list <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when requesting guild members through <a href="../Client/index.html#val-request_guild_members"><code>Client.request_guild_members</code></a></p></dd></dl><dl><dt class="spec value" id="val-role_create"><a href="#val-role_create" class="anchor"></a><code><span class="keyword">val </span>role_create : (<a href="../Role_t/index.html#type-t">Role_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a role is created.</p></dd></dl><dl><dt class="spec value" id="val-role_update"><a href="#val-role_update" class="anchor"></a><code><span class="keyword">val </span>role_update : (<a href="../Role_t/index.html#type-t">Role_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a role is edited.</p></dd></dl><dl><dt class="spec value" id="val-role_delete"><a href="#val-role_delete" class="anchor"></a><code><span class="keyword">val </span>role_delete : (<a href="../Role_t/index.html#type-t">Role_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a role is deleted.</p></dd></dl><dl><dt class="spec value" id="val-message_create"><a href="#val-message_create" class="anchor"></a><code><span class="keyword">val </span>message_create : (<a href="../Message_t/index.html#type-t">Message_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a message is sent.</p></dd></dl><dl><dt class="spec value" id="val-message_update"><a href="#val-message_update" class="anchor"></a><code><span class="keyword">val </span>message_update : (<a href="../Message_t/index.html#type-message_update">Message_t.message_update</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a message is edited. This does not necessarily mean the content changed.</p></dd></dl><dl><dt class="spec value" id="val-message_delete"><a href="#val-message_delete" class="anchor"></a><code><span class="keyword">val </span>message_delete : (<a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> <a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a message is deleted.</p></dd></dl><dl><dt class="spec value" id="val-message_bulk_delete"><a href="#val-message_bulk_delete" class="anchor"></a><code><span class="keyword">val </span>message_bulk_delete : (<a href="../Snowflake/index.html#type-t">Snowflake.t</a> list <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when messages are bulk deleted.</p></dd></dl><dl><dt class="spec value" id="val-reaction_add"><a href="#val-reaction_add" class="anchor"></a><code><span class="keyword">val </span>reaction_add : (<a href="../Reaction_t/index.html#type-reaction_event">Reaction_t.reaction_event</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a rection is added to a message.</p></dd></dl><dl><dt class="spec value" id="val-reaction_remove"><a href="#val-reaction_remove" class="anchor"></a><code><span class="keyword">val </span>reaction_remove : (<a href="../Reaction_t/index.html#type-reaction_event">Reaction_t.reaction_event</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a reaction is removed from a message.</p></dd></dl><dl><dt class="spec value" id="val-reaction_bulk_remove"><a href="#val-reaction_bulk_remove" class="anchor"></a><code><span class="keyword">val </span>reaction_bulk_remove : (<a href="../Reaction_t/index.html#type-t">Reaction_t.t</a> list <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when all reactions are cleared from a message.</p></dd></dl><dl><dt class="spec value" id="val-presence_update"><a href="#val-presence_update" class="anchor"></a><code><span class="keyword">val </span>presence_update : (<a href="../Presence/index.html#type-t">Presence.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a user updates their presence.</p></dd></dl><dl><dt class="spec value" id="val-typing_start"><a href="#val-typing_start" class="anchor"></a><code><span class="keyword">val </span>typing_start : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a typing indicator is displayed.</p></dd></dl><dl><dt class="spec value" id="val-user_update"><a href="#val-user_update" class="anchor"></a><code><span class="keyword">val </span>user_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when the current user is updated. You most likely want <a href="../Client/index.html#val-member_update"><code>Client.member_update</code></a> or <a href="../Client/index.html#val-presence_update"><code>Client.presence_update</code></a> instead.</p></dd></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Dispatch (disml.Disml.Dispatch)</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> » Dispatch</nav><h1>Module <code>Disml.Dispatch</code></h1></header><aside><p>Used to store dispatch callbacks. Each event can only have one callback registered at a time. These should be accessed through their re-export in <a href="../Client/index.html"><code>Client</code></a>.</p></aside><section><header><h3 id="examples"><a href="#examples" class="anchor"></a>Examples</h3><p><code>Client.ready := (fun _ -> print_endline "Shard is Ready!")</code></p><p><code>Client.guild_create := (fun guild -> print_endline guild.name)</code></p><pre><code class="ml">open Core +open Disml + +let check_command (msg : Message.t) = + if String.is_prefix ~prefix:"!ping" msg.content then + Message.reply msg "Pong!" >>> ignore + +Client.message_create := check_command</code></pre></header><dl><dt class="spec value" id="val-hello"><a href="#val-hello" class="anchor"></a><code><span class="keyword">val </span>hello : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when connecting to the gateway, most users will have no use for this.</p></dd></dl><dl><dt class="spec value" id="val-ready"><a href="#val-ready" class="anchor"></a><code><span class="keyword">val </span>ready : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when each shard receives READY from discord after identifying on the gateway. Other event dispatch is received after this.</p></dd></dl><dl><dt class="spec value" id="val-resumed"><a href="#val-resumed" class="anchor"></a><code><span class="keyword">val </span>resumed : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when successfully reconnecting to the gateway.</p></dd></dl><dl><dt class="spec value" id="val-invalid_session"><a href="#val-invalid_session" class="anchor"></a><code><span class="keyword">val </span>invalid_session : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when Discord decides a session is invalid, much like <a href="../Client/index.html#val-hello"><code>Client.hello</code></a> this is not very useful for most people.</p></dd></dl><dl><dt class="spec value" id="val-channel_create"><a href="#val-channel_create" class="anchor"></a><code><span class="keyword">val </span>channel_create : (<a href="../Channel_t/index.html#type-t">Channel_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a channel is created which is visible to the bot.</p></dd></dl><dl><dt class="spec value" id="val-channel_update"><a href="#val-channel_update" class="anchor"></a><code><span class="keyword">val </span>channel_update : (<a href="../Channel_t/index.html#type-t">Channel_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a channel visible to the bot is changed.</p></dd></dl><dl><dt class="spec value" id="val-channel_delete"><a href="#val-channel_delete" class="anchor"></a><code><span class="keyword">val </span>channel_delete : (<a href="../Channel_t/index.html#type-t">Channel_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a channel visible to the bot is deleted.</p></dd></dl><dl><dt class="spec value" id="val-channel_pins_update"><a href="#val-channel_pins_update" class="anchor"></a><code><span class="keyword">val </span>channel_pins_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when messages are pinned or unpinned from a a channel.</p></dd></dl><dl><dt class="spec value" id="val-guild_create"><a href="#val-guild_create" class="anchor"></a><code><span class="keyword">val </span>guild_create : (<a href="../Guild_t/index.html#type-t">Guild_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when the bot joins a guild, and during startup.</p></dd></dl><dl><dt class="spec value" id="val-guild_update"><a href="#val-guild_update" class="anchor"></a><code><span class="keyword">val </span>guild_update : (<a href="../Guild_t/index.html#type-t">Guild_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a guild the bot is in is edited.</p></dd></dl><dl><dt class="spec value" id="val-guild_delete"><a href="#val-guild_delete" class="anchor"></a><code><span class="keyword">val </span>guild_delete : (<a href="../Guild_t/index.html#type-t">Guild_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when the bot is removed from a guild.</p></dd></dl><dl><dt class="spec value" id="val-member_ban"><a href="#val-member_ban" class="anchor"></a><code><span class="keyword">val </span>member_ban : (<a href="../Ban_t/index.html#type-t">Ban_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member is banned.</p></dd></dl><dl><dt class="spec value" id="val-member_unban"><a href="#val-member_unban" class="anchor"></a><code><span class="keyword">val </span>member_unban : (<a href="../Ban_t/index.html#type-t">Ban_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member is unbanned.</p></dd></dl><dl><dt class="spec value" id="val-guild_emojis_update"><a href="#val-guild_emojis_update" class="anchor"></a><code><span class="keyword">val </span>guild_emojis_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when emojis are added or removed from a guild.</p></dd></dl><dl><dt class="spec value" id="val-integrations_update"><a href="#val-integrations_update" class="anchor"></a><code><span class="keyword">val </span>integrations_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a guild's integrations are updated.</p></dd></dl><dl><dt class="spec value" id="val-member_join"><a href="#val-member_join" class="anchor"></a><code><span class="keyword">val </span>member_join : (<a href="../Member_t/index.html#type-t">Member_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member joins a guild.</p></dd></dl><dl><dt class="spec value" id="val-member_leave"><a href="#val-member_leave" class="anchor"></a><code><span class="keyword">val </span>member_leave : (<a href="../Member_t/index.html#type-member_wrapper">Member_t.member_wrapper</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member leaves a guild. Is Dispatched alongside <a href="../Client/index.html#val-member_ban"><code>Client.member_ban</code></a> when a user is banned.</p></dd></dl><dl><dt class="spec value" id="val-member_update"><a href="#val-member_update" class="anchor"></a><code><span class="keyword">val </span>member_update : (<a href="../Member_t/index.html#type-member_update">Member_t.member_update</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member object is updated.</p></dd></dl><dl><dt class="spec value" id="val-members_chunk"><a href="#val-members_chunk" class="anchor"></a><code><span class="keyword">val </span>members_chunk : (<a href="../Member_t/index.html#type-t">Member_t.t</a> list <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when requesting guild members through <a href="../Client/index.html#val-request_guild_members"><code>Client.request_guild_members</code></a></p></dd></dl><dl><dt class="spec value" id="val-role_create"><a href="#val-role_create" class="anchor"></a><code><span class="keyword">val </span>role_create : (<a href="../Role_t/index.html#type-t">Role_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a role is created.</p></dd></dl><dl><dt class="spec value" id="val-role_update"><a href="#val-role_update" class="anchor"></a><code><span class="keyword">val </span>role_update : (<a href="../Role_t/index.html#type-t">Role_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a role is edited.</p></dd></dl><dl><dt class="spec value" id="val-role_delete"><a href="#val-role_delete" class="anchor"></a><code><span class="keyword">val </span>role_delete : (<a href="../Role_t/index.html#type-t">Role_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a role is deleted.</p></dd></dl><dl><dt class="spec value" id="val-message_create"><a href="#val-message_create" class="anchor"></a><code><span class="keyword">val </span>message_create : (<a href="../Message_t/index.html#type-t">Message_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a message is sent.</p></dd></dl><dl><dt class="spec value" id="val-message_update"><a href="#val-message_update" class="anchor"></a><code><span class="keyword">val </span>message_update : (<a href="../Message_t/index.html#type-message_update">Message_t.message_update</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a message is edited. This does not necessarily mean the content changed.</p></dd></dl><dl><dt class="spec value" id="val-message_delete"><a href="#val-message_delete" class="anchor"></a><code><span class="keyword">val </span>message_delete : (<a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> <a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a message is deleted.</p></dd></dl><dl><dt class="spec value" id="val-message_bulk_delete"><a href="#val-message_bulk_delete" class="anchor"></a><code><span class="keyword">val </span>message_bulk_delete : (<a href="../Snowflake/index.html#type-t">Snowflake.t</a> list <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when messages are bulk deleted.</p></dd></dl><dl><dt class="spec value" id="val-reaction_add"><a href="#val-reaction_add" class="anchor"></a><code><span class="keyword">val </span>reaction_add : (<a href="../Reaction_t/index.html#type-reaction_event">Reaction_t.reaction_event</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a rection is added to a message.</p></dd></dl><dl><dt class="spec value" id="val-reaction_remove"><a href="#val-reaction_remove" class="anchor"></a><code><span class="keyword">val </span>reaction_remove : (<a href="../Reaction_t/index.html#type-reaction_event">Reaction_t.reaction_event</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a reaction is removed from a message.</p></dd></dl><dl><dt class="spec value" id="val-reaction_bulk_remove"><a href="#val-reaction_bulk_remove" class="anchor"></a><code><span class="keyword">val </span>reaction_bulk_remove : (<a href="../Reaction_t/index.html#type-t">Reaction_t.t</a> list <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when all reactions are cleared from a message.</p></dd></dl><dl><dt class="spec value" id="val-presence_update"><a href="#val-presence_update" class="anchor"></a><code><span class="keyword">val </span>presence_update : (<a href="../Presence/index.html#type-t">Presence.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a user updates their presence.</p></dd></dl><dl><dt class="spec value" id="val-typing_start"><a href="#val-typing_start" class="anchor"></a><code><span class="keyword">val </span>typing_start : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a typing indicator is displayed.</p></dd></dl><dl><dt class="spec value" id="val-user_update"><a href="#val-user_update" class="anchor"></a><code><span class="keyword">val </span>user_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when the current user is updated. You most likely want <a href="../Client/index.html#val-member_update"><code>Client.member_update</code></a> or <a href="../Client/index.html#val-presence_update"><code>Client.presence_update</code></a> instead.</p></dd></dl></section></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/Embed/index.html b/docs/disml/Disml/Embed/index.html index 7c952a3..a9e20a6 100644 --- a/docs/disml/Disml/Embed/index.html +++ b/docs/disml/Disml/Embed/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Embed (disml.Disml.Embed)</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> » Embed</nav><h1>Module <code>Disml.Embed</code></h1></header><dl><dt class="spec type" id="type-footer"><a href="#type-footer" class="anchor"></a><code><span class="keyword">type </span>footer</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-footer.text" class="anchored"><td class="def field"><a href="#type-footer.text" class="anchor"></a><code>text : string;</code></td></tr><tr id="type-footer.icon_url" class="anchored"><td class="def field"><a href="#type-footer.icon_url" class="anchor"></a><code>icon_url : string option;</code></td></tr><tr id="type-footer.proxy_icon_url" class="anchored"><td class="def field"><a href="#type-footer.proxy_icon_url" class="anchor"></a><code>proxy_icon_url : string option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-footer_of_sexp"><a href="#val-footer_of_sexp" class="anchor"></a><code><span class="keyword">val </span>footer_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-footer">footer</a></code></dt><dt class="spec value" id="val-sexp_of_footer"><a href="#val-sexp_of_footer" class="anchor"></a><code><span class="keyword">val </span>sexp_of_footer : <a href="index.html#type-footer">footer</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-footer_to_yojson"><a href="#val-footer_to_yojson" class="anchor"></a><code><span class="keyword">val </span>footer_to_yojson : <a href="index.html#type-footer">footer</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-footer_of_yojson"><a href="#val-footer_of_yojson" class="anchor"></a><code><span class="keyword">val </span>footer_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-footer">footer</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-footer">footer</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-footer">footer</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-footer_of_yojson_exn"><a href="#val-footer_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>footer_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-footer">footer</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-footer">footer</a></code></dt></dl><dl><dt class="spec type" id="type-image"><a href="#type-image" class="anchor"></a><code><span class="keyword">type </span>image</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-image.url" class="anchored"><td class="def field"><a href="#type-image.url" class="anchor"></a><code>url : string option;</code></td></tr><tr id="type-image.proxy_url" class="anchored"><td class="def field"><a href="#type-image.proxy_url" class="anchor"></a><code>proxy_url : string option;</code></td></tr><tr id="type-image.height" class="anchored"><td class="def field"><a href="#type-image.height" class="anchor"></a><code>height : int option;</code></td></tr><tr id="type-image.width" class="anchored"><td class="def field"><a href="#type-image.width" class="anchor"></a><code>width : int option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-image_of_sexp"><a href="#val-image_of_sexp" class="anchor"></a><code><span class="keyword">val </span>image_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-image">image</a></code></dt><dt class="spec value" id="val-sexp_of_image"><a href="#val-sexp_of_image" class="anchor"></a><code><span class="keyword">val </span>sexp_of_image : <a href="index.html#type-image">image</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-image_to_yojson"><a href="#val-image_to_yojson" class="anchor"></a><code><span class="keyword">val </span>image_to_yojson : <a href="index.html#type-image">image</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-image_of_yojson"><a href="#val-image_of_yojson" class="anchor"></a><code><span class="keyword">val </span>image_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-image">image</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-image">image</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-image">image</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-image_of_yojson_exn"><a href="#val-image_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>image_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-image">image</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-image">image</a></code></dt></dl><dl><dt class="spec type" id="type-video"><a href="#type-video" class="anchor"></a><code><span class="keyword">type </span>video</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-video.url" class="anchored"><td class="def field"><a href="#type-video.url" class="anchor"></a><code>url : string option;</code></td></tr><tr id="type-video.height" class="anchored"><td class="def field"><a href="#type-video.height" class="anchor"></a><code>height : int option;</code></td></tr><tr id="type-video.width" class="anchored"><td class="def field"><a href="#type-video.width" class="anchor"></a><code>width : int option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-video_of_sexp"><a href="#val-video_of_sexp" class="anchor"></a><code><span class="keyword">val </span>video_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-video">video</a></code></dt><dt class="spec value" id="val-sexp_of_video"><a href="#val-sexp_of_video" class="anchor"></a><code><span class="keyword">val </span>sexp_of_video : <a href="index.html#type-video">video</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-video_to_yojson"><a href="#val-video_to_yojson" class="anchor"></a><code><span class="keyword">val </span>video_to_yojson : <a href="index.html#type-video">video</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-video_of_yojson"><a href="#val-video_of_yojson" class="anchor"></a><code><span class="keyword">val </span>video_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-video">video</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-video">video</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-video">video</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-video_of_yojson_exn"><a href="#val-video_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>video_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-video">video</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-video">video</a></code></dt></dl><dl><dt class="spec type" id="type-provider"><a href="#type-provider" class="anchor"></a><code><span class="keyword">type </span>provider</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-provider.name" class="anchored"><td class="def field"><a href="#type-provider.name" class="anchor"></a><code>name : string option;</code></td></tr><tr id="type-provider.url" class="anchored"><td class="def field"><a href="#type-provider.url" class="anchor"></a><code>url : string option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-provider_of_sexp"><a href="#val-provider_of_sexp" class="anchor"></a><code><span class="keyword">val </span>provider_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-provider">provider</a></code></dt><dt class="spec value" id="val-sexp_of_provider"><a href="#val-sexp_of_provider" class="anchor"></a><code><span class="keyword">val </span>sexp_of_provider : <a href="index.html#type-provider">provider</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-provider_to_yojson"><a href="#val-provider_to_yojson" class="anchor"></a><code><span class="keyword">val </span>provider_to_yojson : <a href="index.html#type-provider">provider</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-provider_of_yojson"><a href="#val-provider_of_yojson" class="anchor"></a><code><span class="keyword">val </span>provider_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-provider">provider</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-provider">provider</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-provider">provider</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-provider_of_yojson_exn"><a href="#val-provider_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>provider_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-provider">provider</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-provider">provider</a></code></dt></dl><dl><dt class="spec type" id="type-author"><a href="#type-author" class="anchor"></a><code><span class="keyword">type </span>author</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-author.name" class="anchored"><td class="def field"><a href="#type-author.name" class="anchor"></a><code>name : string option;</code></td></tr><tr id="type-author.url" class="anchored"><td class="def field"><a href="#type-author.url" class="anchor"></a><code>url : string option;</code></td></tr><tr id="type-author.icon_url" class="anchored"><td class="def field"><a href="#type-author.icon_url" class="anchor"></a><code>icon_url : string option;</code></td></tr><tr id="type-author.proxy_icon_url" class="anchored"><td class="def field"><a href="#type-author.proxy_icon_url" class="anchor"></a><code>proxy_icon_url : string option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-author_of_sexp"><a href="#val-author_of_sexp" class="anchor"></a><code><span class="keyword">val </span>author_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-author">author</a></code></dt><dt class="spec value" id="val-sexp_of_author"><a href="#val-sexp_of_author" class="anchor"></a><code><span class="keyword">val </span>sexp_of_author : <a href="index.html#type-author">author</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-author_to_yojson"><a href="#val-author_to_yojson" class="anchor"></a><code><span class="keyword">val </span>author_to_yojson : <a href="index.html#type-author">author</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-author_of_yojson"><a href="#val-author_of_yojson" class="anchor"></a><code><span class="keyword">val </span>author_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-author">author</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-author">author</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-author">author</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-author_of_yojson_exn"><a href="#val-author_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>author_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-author">author</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-author">author</a></code></dt></dl><dl><dt class="spec type" id="type-field"><a href="#type-field" class="anchor"></a><code><span class="keyword">type </span>field</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-field.name" class="anchored"><td class="def field"><a href="#type-field.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-field.value" class="anchored"><td class="def field"><a href="#type-field.value" class="anchor"></a><code>value : string;</code></td></tr><tr id="type-field.inline" class="anchored"><td class="def field"><a href="#type-field.inline" class="anchor"></a><code>inline : bool;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-field_of_sexp"><a href="#val-field_of_sexp" class="anchor"></a><code><span class="keyword">val </span>field_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-field">field</a></code></dt><dt class="spec value" id="val-sexp_of_field"><a href="#val-sexp_of_field" class="anchor"></a><code><span class="keyword">val </span>sexp_of_field : <a href="index.html#type-field">field</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-field_to_yojson"><a href="#val-field_to_yojson" class="anchor"></a><code><span class="keyword">val </span>field_to_yojson : <a href="index.html#type-field">field</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-field_of_yojson"><a href="#val-field_of_yojson" class="anchor"></a><code><span class="keyword">val </span>field_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-field">field</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-field">field</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-field">field</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-field_of_yojson_exn"><a href="#val-field_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>field_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-field">field</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-field">field</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.title" class="anchored"><td class="def field"><a href="#type-t.title" class="anchor"></a><code>title : string option;</code></td></tr><tr id="type-t.kind" class="anchored"><td class="def field"><a href="#type-t.kind" class="anchor"></a><code>kind : string option;</code></td></tr><tr id="type-t.description" class="anchored"><td class="def field"><a href="#type-t.description" class="anchor"></a><code>description : string option;</code></td></tr><tr id="type-t.url" class="anchored"><td class="def field"><a href="#type-t.url" class="anchor"></a><code>url : string option;</code></td></tr><tr id="type-t.timestamp" class="anchored"><td class="def field"><a href="#type-t.timestamp" class="anchor"></a><code>timestamp : string option;</code></td></tr><tr id="type-t.colour" class="anchored"><td class="def field"><a href="#type-t.colour" class="anchor"></a><code>colour : int option;</code></td></tr><tr id="type-t.footer" class="anchored"><td class="def field"><a href="#type-t.footer" class="anchor"></a><code>footer : <a href="index.html#type-footer">footer</a> option;</code></td></tr><tr id="type-t.image" class="anchored"><td class="def field"><a href="#type-t.image" class="anchor"></a><code>image : <a href="index.html#type-image">image</a> option;</code></td></tr><tr id="type-t.thumbnail" class="anchored"><td class="def field"><a href="#type-t.thumbnail" class="anchor"></a><code>thumbnail : <a href="index.html#type-image">image</a> option;</code></td></tr><tr id="type-t.video" class="anchored"><td class="def field"><a href="#type-t.video" class="anchor"></a><code>video : <a href="index.html#type-video">video</a> option;</code></td></tr><tr id="type-t.provider" class="anchored"><td class="def field"><a href="#type-t.provider" class="anchor"></a><code>provider : <a href="index.html#type-provider">provider</a> option;</code></td></tr><tr id="type-t.author" class="anchored"><td class="def field"><a href="#type-t.author" class="anchor"></a><code>author : <a href="index.html#type-author">author</a> option;</code></td></tr><tr id="type-t.fields" class="anchored"><td class="def field"><a href="#type-t.fields" class="anchor"></a><code>fields : <a href="index.html#type-field">field</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></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Embed (disml.Disml.Embed)</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> » Embed</nav><h1>Module <code>Disml.Embed</code></h1></header><dl><dt class="spec type" id="type-footer"><a href="#type-footer" class="anchor"></a><code><span class="keyword">type </span>footer</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-footer.text" class="anchored"><td class="def field"><a href="#type-footer.text" class="anchor"></a><code>text : string;</code></td></tr><tr id="type-footer.icon_url" class="anchored"><td class="def field"><a href="#type-footer.icon_url" class="anchor"></a><code>icon_url : string option;</code></td></tr><tr id="type-footer.proxy_icon_url" class="anchored"><td class="def field"><a href="#type-footer.proxy_icon_url" class="anchor"></a><code>proxy_icon_url : string option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-footer_of_sexp"><a href="#val-footer_of_sexp" class="anchor"></a><code><span class="keyword">val </span>footer_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-footer">footer</a></code></dt><dt class="spec value" id="val-sexp_of_footer"><a href="#val-sexp_of_footer" class="anchor"></a><code><span class="keyword">val </span>sexp_of_footer : <a href="index.html#type-footer">footer</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-footer_to_yojson"><a href="#val-footer_to_yojson" class="anchor"></a><code><span class="keyword">val </span>footer_to_yojson : <a href="index.html#type-footer">footer</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-footer_of_yojson"><a href="#val-footer_of_yojson" class="anchor"></a><code><span class="keyword">val </span>footer_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-footer">footer</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-footer_of_yojson_exn"><a href="#val-footer_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>footer_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-footer">footer</a></code></dt></dl><dl><dt class="spec type" id="type-image"><a href="#type-image" class="anchor"></a><code><span class="keyword">type </span>image</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-image.url" class="anchored"><td class="def field"><a href="#type-image.url" class="anchor"></a><code>url : string option;</code></td></tr><tr id="type-image.proxy_url" class="anchored"><td class="def field"><a href="#type-image.proxy_url" class="anchor"></a><code>proxy_url : string option;</code></td></tr><tr id="type-image.height" class="anchored"><td class="def field"><a href="#type-image.height" class="anchor"></a><code>height : int option;</code></td></tr><tr id="type-image.width" class="anchored"><td class="def field"><a href="#type-image.width" class="anchor"></a><code>width : int option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-image_of_sexp"><a href="#val-image_of_sexp" class="anchor"></a><code><span class="keyword">val </span>image_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-image">image</a></code></dt><dt class="spec value" id="val-sexp_of_image"><a href="#val-sexp_of_image" class="anchor"></a><code><span class="keyword">val </span>sexp_of_image : <a href="index.html#type-image">image</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-image_to_yojson"><a href="#val-image_to_yojson" class="anchor"></a><code><span class="keyword">val </span>image_to_yojson : <a href="index.html#type-image">image</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-image_of_yojson"><a href="#val-image_of_yojson" class="anchor"></a><code><span class="keyword">val </span>image_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-image">image</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-image_of_yojson_exn"><a href="#val-image_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>image_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-image">image</a></code></dt></dl><dl><dt class="spec type" id="type-video"><a href="#type-video" class="anchor"></a><code><span class="keyword">type </span>video</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-video.url" class="anchored"><td class="def field"><a href="#type-video.url" class="anchor"></a><code>url : string option;</code></td></tr><tr id="type-video.height" class="anchored"><td class="def field"><a href="#type-video.height" class="anchor"></a><code>height : int option;</code></td></tr><tr id="type-video.width" class="anchored"><td class="def field"><a href="#type-video.width" class="anchor"></a><code>width : int option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-video_of_sexp"><a href="#val-video_of_sexp" class="anchor"></a><code><span class="keyword">val </span>video_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-video">video</a></code></dt><dt class="spec value" id="val-sexp_of_video"><a href="#val-sexp_of_video" class="anchor"></a><code><span class="keyword">val </span>sexp_of_video : <a href="index.html#type-video">video</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-video_to_yojson"><a href="#val-video_to_yojson" class="anchor"></a><code><span class="keyword">val </span>video_to_yojson : <a href="index.html#type-video">video</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-video_of_yojson"><a href="#val-video_of_yojson" class="anchor"></a><code><span class="keyword">val </span>video_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-video">video</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-video_of_yojson_exn"><a href="#val-video_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>video_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-video">video</a></code></dt></dl><dl><dt class="spec type" id="type-provider"><a href="#type-provider" class="anchor"></a><code><span class="keyword">type </span>provider</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-provider.name" class="anchored"><td class="def field"><a href="#type-provider.name" class="anchor"></a><code>name : string option;</code></td></tr><tr id="type-provider.url" class="anchored"><td class="def field"><a href="#type-provider.url" class="anchor"></a><code>url : string option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-provider_of_sexp"><a href="#val-provider_of_sexp" class="anchor"></a><code><span class="keyword">val </span>provider_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-provider">provider</a></code></dt><dt class="spec value" id="val-sexp_of_provider"><a href="#val-sexp_of_provider" class="anchor"></a><code><span class="keyword">val </span>sexp_of_provider : <a href="index.html#type-provider">provider</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-provider_to_yojson"><a href="#val-provider_to_yojson" class="anchor"></a><code><span class="keyword">val </span>provider_to_yojson : <a href="index.html#type-provider">provider</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-provider_of_yojson"><a href="#val-provider_of_yojson" class="anchor"></a><code><span class="keyword">val </span>provider_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-provider">provider</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-provider_of_yojson_exn"><a href="#val-provider_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>provider_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-provider">provider</a></code></dt></dl><dl><dt class="spec type" id="type-author"><a href="#type-author" class="anchor"></a><code><span class="keyword">type </span>author</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-author.name" class="anchored"><td class="def field"><a href="#type-author.name" class="anchor"></a><code>name : string option;</code></td></tr><tr id="type-author.url" class="anchored"><td class="def field"><a href="#type-author.url" class="anchor"></a><code>url : string option;</code></td></tr><tr id="type-author.icon_url" class="anchored"><td class="def field"><a href="#type-author.icon_url" class="anchor"></a><code>icon_url : string option;</code></td></tr><tr id="type-author.proxy_icon_url" class="anchored"><td class="def field"><a href="#type-author.proxy_icon_url" class="anchor"></a><code>proxy_icon_url : string option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-author_of_sexp"><a href="#val-author_of_sexp" class="anchor"></a><code><span class="keyword">val </span>author_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-author">author</a></code></dt><dt class="spec value" id="val-sexp_of_author"><a href="#val-sexp_of_author" class="anchor"></a><code><span class="keyword">val </span>sexp_of_author : <a href="index.html#type-author">author</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-author_to_yojson"><a href="#val-author_to_yojson" class="anchor"></a><code><span class="keyword">val </span>author_to_yojson : <a href="index.html#type-author">author</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-author_of_yojson"><a href="#val-author_of_yojson" class="anchor"></a><code><span class="keyword">val </span>author_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-author">author</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-author_of_yojson_exn"><a href="#val-author_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>author_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-author">author</a></code></dt></dl><dl><dt class="spec type" id="type-field"><a href="#type-field" class="anchor"></a><code><span class="keyword">type </span>field</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-field.name" class="anchored"><td class="def field"><a href="#type-field.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-field.value" class="anchored"><td class="def field"><a href="#type-field.value" class="anchor"></a><code>value : string;</code></td></tr><tr id="type-field.inline" class="anchored"><td class="def field"><a href="#type-field.inline" class="anchor"></a><code>inline : bool;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-field_of_sexp"><a href="#val-field_of_sexp" class="anchor"></a><code><span class="keyword">val </span>field_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-field">field</a></code></dt><dt class="spec value" id="val-sexp_of_field"><a href="#val-sexp_of_field" class="anchor"></a><code><span class="keyword">val </span>sexp_of_field : <a href="index.html#type-field">field</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-field_to_yojson"><a href="#val-field_to_yojson" class="anchor"></a><code><span class="keyword">val </span>field_to_yojson : <a href="index.html#type-field">field</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-field_of_yojson"><a href="#val-field_of_yojson" class="anchor"></a><code><span class="keyword">val </span>field_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-field">field</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-field_of_yojson_exn"><a href="#val-field_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>field_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-field">field</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.title" class="anchored"><td class="def field"><a href="#type-t.title" class="anchor"></a><code>title : string option;</code></td></tr><tr id="type-t.kind" class="anchored"><td class="def field"><a href="#type-t.kind" class="anchor"></a><code>kind : string option;</code></td></tr><tr id="type-t.description" class="anchored"><td class="def field"><a href="#type-t.description" class="anchor"></a><code>description : string option;</code></td></tr><tr id="type-t.url" class="anchored"><td class="def field"><a href="#type-t.url" class="anchor"></a><code>url : string option;</code></td></tr><tr id="type-t.timestamp" class="anchored"><td class="def field"><a href="#type-t.timestamp" class="anchor"></a><code>timestamp : string option;</code></td></tr><tr id="type-t.colour" class="anchored"><td class="def field"><a href="#type-t.colour" class="anchor"></a><code>colour : int option;</code></td></tr><tr id="type-t.footer" class="anchored"><td class="def field"><a href="#type-t.footer" class="anchor"></a><code>footer : <a href="index.html#type-footer">footer</a> option;</code></td></tr><tr id="type-t.image" class="anchored"><td class="def field"><a href="#type-t.image" class="anchor"></a><code>image : <a href="index.html#type-image">image</a> option;</code></td></tr><tr id="type-t.thumbnail" class="anchored"><td class="def field"><a href="#type-t.thumbnail" class="anchor"></a><code>thumbnail : <a href="index.html#type-image">image</a> option;</code></td></tr><tr id="type-t.video" class="anchored"><td class="def field"><a href="#type-t.video" class="anchor"></a><code>video : <a href="index.html#type-video">video</a> option;</code></td></tr><tr id="type-t.provider" class="anchored"><td class="def field"><a href="#type-t.provider" class="anchor"></a><code>provider : <a href="index.html#type-provider">provider</a> option;</code></td></tr><tr id="type-t.author" class="anchored"><td class="def field"><a href="#type-t.author" class="anchor"></a><code>author : <a href="index.html#type-author">author</a> option;</code></td></tr><tr id="type-t.fields" class="anchored"><td class="def field"><a href="#type-t.fields" class="anchor"></a><code>fields : <a href="index.html#type-field">field</a> list;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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-default"><a href="#val-default" class="anchor"></a><code><span class="keyword">val </span>default : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-default_footer"><a href="#val-default_footer" class="anchor"></a><code><span class="keyword">val </span>default_footer : <a href="index.html#type-footer">footer</a></code></dt><dt class="spec value" id="val-default_image"><a href="#val-default_image" class="anchor"></a><code><span class="keyword">val </span>default_image : <a href="index.html#type-image">image</a></code></dt><dt class="spec value" id="val-default_video"><a href="#val-default_video" class="anchor"></a><code><span class="keyword">val </span>default_video : <a href="index.html#type-video">video</a></code></dt><dt class="spec value" id="val-default_provider"><a href="#val-default_provider" class="anchor"></a><code><span class="keyword">val </span>default_provider : <a href="index.html#type-provider">provider</a></code></dt><dt class="spec value" id="val-default_author"><a href="#val-default_author" class="anchor"></a><code><span class="keyword">val </span>default_author : <a href="index.html#type-author">author</a></code></dt><dt class="spec value" id="val-title"><a href="#val-title" class="anchor"></a><code><span class="keyword">val </span>title : string <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-description"><a href="#val-description" class="anchor"></a><code><span class="keyword">val </span>description : string <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-url"><a href="#val-url" class="anchor"></a><code><span class="keyword">val </span>url : string <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-timestamp"><a href="#val-timestamp" class="anchor"></a><code><span class="keyword">val </span>timestamp : string <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-colour"><a href="#val-colour" class="anchor"></a><code><span class="keyword">val </span>colour : int <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-color"><a href="#val-color" class="anchor"></a><code><span class="keyword">val </span>color : int <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-footer"><a href="#val-footer" class="anchor"></a><code><span class="keyword">val </span>footer : (<a href="index.html#type-footer">footer</a> <span>-></span> <a href="index.html#type-footer">footer</a>) <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-image"><a href="#val-image" class="anchor"></a><code><span class="keyword">val </span>image : string <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-thumbnail"><a href="#val-thumbnail" class="anchor"></a><code><span class="keyword">val </span>thumbnail : string <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-author"><a href="#val-author" class="anchor"></a><code><span class="keyword">val </span>author : (<a href="index.html#type-author">author</a> <span>-></span> <a href="index.html#type-author">author</a>) <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-field"><a href="#val-field" class="anchor"></a><code><span class="keyword">val </span>field : (string<span class="keyword"> * </span>string<span class="keyword"> * </span>bool) <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-fields"><a href="#val-fields" class="anchor"></a><code><span class="keyword">val </span>fields : (string<span class="keyword"> * </span>string<span class="keyword"> * </span>bool) list <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-footer_text"><a href="#val-footer_text" class="anchor"></a><code><span class="keyword">val </span>footer_text : string <span>-></span> <a href="index.html#type-footer">footer</a> <span>-></span> <a href="index.html#type-footer">footer</a></code></dt><dt class="spec value" id="val-footer_icon"><a href="#val-footer_icon" class="anchor"></a><code><span class="keyword">val </span>footer_icon : string <span>-></span> <a href="index.html#type-footer">footer</a> <span>-></span> <a href="index.html#type-footer">footer</a></code></dt><dt class="spec value" id="val-author_name"><a href="#val-author_name" class="anchor"></a><code><span class="keyword">val </span>author_name : string <span>-></span> <a href="index.html#type-author">author</a> <span>-></span> <a href="index.html#type-author">author</a></code></dt><dt class="spec value" id="val-author_url"><a href="#val-author_url" class="anchor"></a><code><span class="keyword">val </span>author_url : string <span>-></span> <a href="index.html#type-author">author</a> <span>-></span> <a href="index.html#type-author">author</a></code></dt><dt class="spec value" id="val-author_icon"><a href="#val-author_icon" class="anchor"></a><code><span class="keyword">val </span>author_icon : string <span>-></span> <a href="index.html#type-author">author</a> <span>-></span> <a href="index.html#type-author">author</a></code></dt></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/Emoji/index.html b/docs/disml/Disml/Emoji/index.html index e2196d7..69a0b10 100644 --- a/docs/disml/Disml/Emoji/index.html +++ b/docs/disml/Disml/Emoji/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Emoji (disml.Disml.Emoji)</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> » Emoji</nav><h1>Module <code>Disml.Emoji</code></h1></header><dl><dt class="spec type" id="type-partial_emoji"><a href="#type-partial_emoji" class="anchor"></a><code><span class="keyword">type </span>partial_emoji</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-partial_emoji.id" class="anchored"><td class="def field"><a href="#type-partial_emoji.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-partial_emoji.name" class="anchored"><td class="def field"><a href="#type-partial_emoji.name" class="anchor"></a><code>name : string;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-partial_emoji_of_sexp"><a href="#val-partial_emoji_of_sexp" class="anchor"></a><code><span class="keyword">val </span>partial_emoji_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-partial_emoji">partial_emoji</a></code></dt><dt class="spec value" id="val-sexp_of_partial_emoji"><a href="#val-sexp_of_partial_emoji" class="anchor"></a><code><span class="keyword">val </span>sexp_of_partial_emoji : <a href="index.html#type-partial_emoji">partial_emoji</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-partial_emoji_to_yojson"><a href="#val-partial_emoji_to_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_emoji_to_yojson : <a href="index.html#type-partial_emoji">partial_emoji</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-partial_emoji_of_yojson"><a href="#val-partial_emoji_of_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_emoji_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_emoji">partial_emoji</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-partial_emoji">partial_emoji</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-partial_emoji">partial_emoji</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-partial_emoji_of_yojson_exn"><a href="#val-partial_emoji_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>partial_emoji_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_emoji">partial_emoji</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-partial_emoji">partial_emoji</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> option;</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.roles" class="anchored"><td class="def field"><a href="#type-t.roles" class="anchor"></a><code>roles : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-t.user" class="anchored"><td class="def field"><a href="#type-t.user" class="anchor"></a><code>user : <a href="../User_t/index.html#type-t">User_t.t</a> option;</code></td></tr><tr id="type-t.require_colons" class="anchored"><td class="def field"><a href="#type-t.require_colons" class="anchor"></a><code>require_colons : bool option;</code></td></tr><tr id="type-t.managed" class="anchored"><td class="def field"><a href="#type-t.managed" class="anchor"></a><code>managed : bool option;</code></td></tr><tr id="type-t.animated" class="anchored"><td class="def field"><a href="#type-t.animated" class="anchor"></a><code>animated : bool option;</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></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Emoji (disml.Disml.Emoji)</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> » Emoji</nav><h1>Module <code>Disml.Emoji</code></h1></header><dl><dt class="spec type" id="type-partial_emoji"><a href="#type-partial_emoji" class="anchor"></a><code><span class="keyword">type </span>partial_emoji</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-partial_emoji.id" class="anchored"><td class="def field"><a href="#type-partial_emoji.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-partial_emoji.name" class="anchored"><td class="def field"><a href="#type-partial_emoji.name" class="anchor"></a><code>name : string;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-partial_emoji_of_sexp"><a href="#val-partial_emoji_of_sexp" class="anchor"></a><code><span class="keyword">val </span>partial_emoji_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-partial_emoji">partial_emoji</a></code></dt><dt class="spec value" id="val-sexp_of_partial_emoji"><a href="#val-sexp_of_partial_emoji" class="anchor"></a><code><span class="keyword">val </span>sexp_of_partial_emoji : <a href="index.html#type-partial_emoji">partial_emoji</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-partial_emoji_to_yojson"><a href="#val-partial_emoji_to_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_emoji_to_yojson : <a href="index.html#type-partial_emoji">partial_emoji</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-partial_emoji_of_yojson"><a href="#val-partial_emoji_of_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_emoji_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_emoji">partial_emoji</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-partial_emoji_of_yojson_exn"><a href="#val-partial_emoji_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>partial_emoji_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_emoji">partial_emoji</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> option;</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.roles" class="anchored"><td class="def field"><a href="#type-t.roles" class="anchor"></a><code>roles : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-t.user" class="anchored"><td class="def field"><a href="#type-t.user" class="anchor"></a><code>user : <a href="../User_t/index.html#type-t">User_t.t</a> option;</code></td></tr><tr id="type-t.require_colons" class="anchored"><td class="def field"><a href="#type-t.require_colons" class="anchor"></a><code>require_colons : bool option;</code></td></tr><tr id="type-t.managed" class="anchored"><td class="def field"><a href="#type-t.managed" class="anchor"></a><code>managed : bool option;</code></td></tr><tr id="type-t.animated" class="anchored"><td class="def field"><a href="#type-t.animated" class="anchor"></a><code>animated : bool option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/Endpoints/index.html b/docs/disml/Disml/Endpoints/index.html index c2fff18..180a95e 100644 --- a/docs/disml/Disml/Endpoints/index.html +++ b/docs/disml/Disml/Endpoints/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Endpoints (disml.Disml.Endpoints)</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> » Endpoints</nav><h1>Module <code>Disml.Endpoints</code></h1></header><dl><dt class="spec value" id="val-gateway"><a href="#val-gateway" class="anchor"></a><code><span class="keyword">val </span>gateway : string</code></dt><dt class="spec value" id="val-gateway_bot"><a href="#val-gateway_bot" class="anchor"></a><code><span class="keyword">val </span>gateway_bot : string</code></dt><dt class="spec value" id="val-channel"><a href="#val-channel" class="anchor"></a><code><span class="keyword">val </span>channel : int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_messages"><a href="#val-channel_messages" class="anchor"></a><code><span class="keyword">val </span>channel_messages : int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_message"><a href="#val-channel_message" class="anchor"></a><code><span class="keyword">val </span>channel_message : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_reaction_me"><a href="#val-channel_reaction_me" class="anchor"></a><code><span class="keyword">val </span>channel_reaction_me : int <span>-></span> int <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-channel_reaction"><a href="#val-channel_reaction" class="anchor"></a><code><span class="keyword">val </span>channel_reaction : int <span>-></span> int <span>-></span> string <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_reactions_get"><a href="#val-channel_reactions_get" class="anchor"></a><code><span class="keyword">val </span>channel_reactions_get : int <span>-></span> int <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-channel_reactions_delete"><a href="#val-channel_reactions_delete" class="anchor"></a><code><span class="keyword">val </span>channel_reactions_delete : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_bulk_delete"><a href="#val-channel_bulk_delete" class="anchor"></a><code><span class="keyword">val </span>channel_bulk_delete : int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_permission"><a href="#val-channel_permission" class="anchor"></a><code><span class="keyword">val </span>channel_permission : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_permissions"><a href="#val-channel_permissions" class="anchor"></a><code><span class="keyword">val </span>channel_permissions : int <span>-></span> string</code></dt><dt class="spec value" id="val-channels"><a href="#val-channels" class="anchor"></a><code><span class="keyword">val </span>channels : string</code></dt><dt class="spec value" id="val-channel_call_ring"><a href="#val-channel_call_ring" class="anchor"></a><code><span class="keyword">val </span>channel_call_ring : int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_invites"><a href="#val-channel_invites" class="anchor"></a><code><span class="keyword">val </span>channel_invites : int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_typing"><a href="#val-channel_typing" class="anchor"></a><code><span class="keyword">val </span>channel_typing : int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_pins"><a href="#val-channel_pins" class="anchor"></a><code><span class="keyword">val </span>channel_pins : int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_pin"><a href="#val-channel_pin" class="anchor"></a><code><span class="keyword">val </span>channel_pin : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guilds"><a href="#val-guilds" class="anchor"></a><code><span class="keyword">val </span>guilds : string</code></dt><dt class="spec value" id="val-guild"><a href="#val-guild" class="anchor"></a><code><span class="keyword">val </span>guild : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_channels"><a href="#val-guild_channels" class="anchor"></a><code><span class="keyword">val </span>guild_channels : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_members"><a href="#val-guild_members" class="anchor"></a><code><span class="keyword">val </span>guild_members : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_member"><a href="#val-guild_member" class="anchor"></a><code><span class="keyword">val </span>guild_member : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_member_role"><a href="#val-guild_member_role" class="anchor"></a><code><span class="keyword">val </span>guild_member_role : int <span>-></span> int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_bans"><a href="#val-guild_bans" class="anchor"></a><code><span class="keyword">val </span>guild_bans : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_ban"><a href="#val-guild_ban" class="anchor"></a><code><span class="keyword">val </span>guild_ban : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_roles"><a href="#val-guild_roles" class="anchor"></a><code><span class="keyword">val </span>guild_roles : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_role"><a href="#val-guild_role" class="anchor"></a><code><span class="keyword">val </span>guild_role : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_prune"><a href="#val-guild_prune" class="anchor"></a><code><span class="keyword">val </span>guild_prune : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_voice_regions"><a href="#val-guild_voice_regions" class="anchor"></a><code><span class="keyword">val </span>guild_voice_regions : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_invites"><a href="#val-guild_invites" class="anchor"></a><code><span class="keyword">val </span>guild_invites : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_integrations"><a href="#val-guild_integrations" class="anchor"></a><code><span class="keyword">val </span>guild_integrations : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_integration"><a href="#val-guild_integration" class="anchor"></a><code><span class="keyword">val </span>guild_integration : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_integration_sync"><a href="#val-guild_integration_sync" class="anchor"></a><code><span class="keyword">val </span>guild_integration_sync : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_embed"><a href="#val-guild_embed" class="anchor"></a><code><span class="keyword">val </span>guild_embed : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_emojis"><a href="#val-guild_emojis" class="anchor"></a><code><span class="keyword">val </span>guild_emojis : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_emoji"><a href="#val-guild_emoji" class="anchor"></a><code><span class="keyword">val </span>guild_emoji : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-webhooks_guild"><a href="#val-webhooks_guild" class="anchor"></a><code><span class="keyword">val </span>webhooks_guild : int <span>-></span> string</code></dt><dt class="spec value" id="val-webhooks_channel"><a href="#val-webhooks_channel" class="anchor"></a><code><span class="keyword">val </span>webhooks_channel : int <span>-></span> string</code></dt><dt class="spec value" id="val-webhook"><a href="#val-webhook" class="anchor"></a><code><span class="keyword">val </span>webhook : int <span>-></span> string</code></dt><dt class="spec value" id="val-webhook_token"><a href="#val-webhook_token" class="anchor"></a><code><span class="keyword">val </span>webhook_token : int <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-webhook_git"><a href="#val-webhook_git" class="anchor"></a><code><span class="keyword">val </span>webhook_git : int <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-webhook_slack"><a href="#val-webhook_slack" class="anchor"></a><code><span class="keyword">val </span>webhook_slack : int <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-user"><a href="#val-user" class="anchor"></a><code><span class="keyword">val </span>user : int <span>-></span> string</code></dt><dt class="spec value" id="val-me"><a href="#val-me" class="anchor"></a><code><span class="keyword">val </span>me : string</code></dt><dt class="spec value" id="val-me_guilds"><a href="#val-me_guilds" class="anchor"></a><code><span class="keyword">val </span>me_guilds : string</code></dt><dt class="spec value" id="val-me_guild"><a href="#val-me_guild" class="anchor"></a><code><span class="keyword">val </span>me_guild : int <span>-></span> string</code></dt><dt class="spec value" id="val-me_channels"><a href="#val-me_channels" class="anchor"></a><code><span class="keyword">val </span>me_channels : string</code></dt><dt class="spec value" id="val-me_connections"><a href="#val-me_connections" class="anchor"></a><code><span class="keyword">val </span>me_connections : string</code></dt><dt class="spec value" id="val-invite"><a href="#val-invite" class="anchor"></a><code><span class="keyword">val </span>invite : string <span>-></span> string</code></dt><dt class="spec value" id="val-regions"><a href="#val-regions" class="anchor"></a><code><span class="keyword">val </span>regions : string</code></dt><dt class="spec value" id="val-application_information"><a href="#val-application_information" class="anchor"></a><code><span class="keyword">val </span>application_information : string</code></dt><dt class="spec value" id="val-group_recipient"><a href="#val-group_recipient" class="anchor"></a><code><span class="keyword">val </span>group_recipient : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_me_nick"><a href="#val-guild_me_nick" class="anchor"></a><code><span class="keyword">val </span>guild_me_nick : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_vanity_url"><a href="#val-guild_vanity_url" class="anchor"></a><code><span class="keyword">val </span>guild_vanity_url : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_audit_logs"><a href="#val-guild_audit_logs" class="anchor"></a><code><span class="keyword">val </span>guild_audit_logs : int <span>-></span> string</code></dt><dt class="spec value" id="val-cdn_embed_avatar"><a href="#val-cdn_embed_avatar" class="anchor"></a><code><span class="keyword">val </span>cdn_embed_avatar : string <span>-></span> string</code></dt><dt class="spec value" id="val-cdn_emoji"><a href="#val-cdn_emoji" class="anchor"></a><code><span class="keyword">val </span>cdn_emoji : string <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-cdn_icon"><a href="#val-cdn_icon" class="anchor"></a><code><span class="keyword">val </span>cdn_icon : int <span>-></span> string <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-cdn_avatar"><a href="#val-cdn_avatar" class="anchor"></a><code><span class="keyword">val </span>cdn_avatar : int <span>-></span> string <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-cdn_default_avatar"><a href="#val-cdn_default_avatar" class="anchor"></a><code><span class="keyword">val </span>cdn_default_avatar : int <span>-></span> string</code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Endpoints (disml.Disml.Endpoints)</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> » Endpoints</nav><h1>Module <code>Disml.Endpoints</code></h1></header><aside><p>Endpoint formatters used internally.</p></aside><dl><dt class="spec value" id="val-gateway"><a href="#val-gateway" class="anchor"></a><code><span class="keyword">val </span>gateway : string</code></dt><dt class="spec value" id="val-gateway_bot"><a href="#val-gateway_bot" class="anchor"></a><code><span class="keyword">val </span>gateway_bot : string</code></dt><dt class="spec value" id="val-channel"><a href="#val-channel" class="anchor"></a><code><span class="keyword">val </span>channel : int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_messages"><a href="#val-channel_messages" class="anchor"></a><code><span class="keyword">val </span>channel_messages : int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_message"><a href="#val-channel_message" class="anchor"></a><code><span class="keyword">val </span>channel_message : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_reaction_me"><a href="#val-channel_reaction_me" class="anchor"></a><code><span class="keyword">val </span>channel_reaction_me : int <span>-></span> int <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-channel_reaction"><a href="#val-channel_reaction" class="anchor"></a><code><span class="keyword">val </span>channel_reaction : int <span>-></span> int <span>-></span> string <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_reactions_get"><a href="#val-channel_reactions_get" class="anchor"></a><code><span class="keyword">val </span>channel_reactions_get : int <span>-></span> int <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-channel_reactions_delete"><a href="#val-channel_reactions_delete" class="anchor"></a><code><span class="keyword">val </span>channel_reactions_delete : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_bulk_delete"><a href="#val-channel_bulk_delete" class="anchor"></a><code><span class="keyword">val </span>channel_bulk_delete : int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_permission"><a href="#val-channel_permission" class="anchor"></a><code><span class="keyword">val </span>channel_permission : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_permissions"><a href="#val-channel_permissions" class="anchor"></a><code><span class="keyword">val </span>channel_permissions : int <span>-></span> string</code></dt><dt class="spec value" id="val-channels"><a href="#val-channels" class="anchor"></a><code><span class="keyword">val </span>channels : string</code></dt><dt class="spec value" id="val-channel_call_ring"><a href="#val-channel_call_ring" class="anchor"></a><code><span class="keyword">val </span>channel_call_ring : int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_invites"><a href="#val-channel_invites" class="anchor"></a><code><span class="keyword">val </span>channel_invites : int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_typing"><a href="#val-channel_typing" class="anchor"></a><code><span class="keyword">val </span>channel_typing : int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_pins"><a href="#val-channel_pins" class="anchor"></a><code><span class="keyword">val </span>channel_pins : int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_pin"><a href="#val-channel_pin" class="anchor"></a><code><span class="keyword">val </span>channel_pin : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guilds"><a href="#val-guilds" class="anchor"></a><code><span class="keyword">val </span>guilds : string</code></dt><dt class="spec value" id="val-guild"><a href="#val-guild" class="anchor"></a><code><span class="keyword">val </span>guild : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_channels"><a href="#val-guild_channels" class="anchor"></a><code><span class="keyword">val </span>guild_channels : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_members"><a href="#val-guild_members" class="anchor"></a><code><span class="keyword">val </span>guild_members : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_member"><a href="#val-guild_member" class="anchor"></a><code><span class="keyword">val </span>guild_member : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_member_role"><a href="#val-guild_member_role" class="anchor"></a><code><span class="keyword">val </span>guild_member_role : int <span>-></span> int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_bans"><a href="#val-guild_bans" class="anchor"></a><code><span class="keyword">val </span>guild_bans : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_ban"><a href="#val-guild_ban" class="anchor"></a><code><span class="keyword">val </span>guild_ban : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_roles"><a href="#val-guild_roles" class="anchor"></a><code><span class="keyword">val </span>guild_roles : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_role"><a href="#val-guild_role" class="anchor"></a><code><span class="keyword">val </span>guild_role : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_prune"><a href="#val-guild_prune" class="anchor"></a><code><span class="keyword">val </span>guild_prune : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_voice_regions"><a href="#val-guild_voice_regions" class="anchor"></a><code><span class="keyword">val </span>guild_voice_regions : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_invites"><a href="#val-guild_invites" class="anchor"></a><code><span class="keyword">val </span>guild_invites : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_integrations"><a href="#val-guild_integrations" class="anchor"></a><code><span class="keyword">val </span>guild_integrations : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_integration"><a href="#val-guild_integration" class="anchor"></a><code><span class="keyword">val </span>guild_integration : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_integration_sync"><a href="#val-guild_integration_sync" class="anchor"></a><code><span class="keyword">val </span>guild_integration_sync : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_embed"><a href="#val-guild_embed" class="anchor"></a><code><span class="keyword">val </span>guild_embed : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_emojis"><a href="#val-guild_emojis" class="anchor"></a><code><span class="keyword">val </span>guild_emojis : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_emoji"><a href="#val-guild_emoji" class="anchor"></a><code><span class="keyword">val </span>guild_emoji : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-webhooks_guild"><a href="#val-webhooks_guild" class="anchor"></a><code><span class="keyword">val </span>webhooks_guild : int <span>-></span> string</code></dt><dt class="spec value" id="val-webhooks_channel"><a href="#val-webhooks_channel" class="anchor"></a><code><span class="keyword">val </span>webhooks_channel : int <span>-></span> string</code></dt><dt class="spec value" id="val-webhook"><a href="#val-webhook" class="anchor"></a><code><span class="keyword">val </span>webhook : int <span>-></span> string</code></dt><dt class="spec value" id="val-webhook_token"><a href="#val-webhook_token" class="anchor"></a><code><span class="keyword">val </span>webhook_token : int <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-webhook_git"><a href="#val-webhook_git" class="anchor"></a><code><span class="keyword">val </span>webhook_git : int <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-webhook_slack"><a href="#val-webhook_slack" class="anchor"></a><code><span class="keyword">val </span>webhook_slack : int <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-user"><a href="#val-user" class="anchor"></a><code><span class="keyword">val </span>user : int <span>-></span> string</code></dt><dt class="spec value" id="val-me"><a href="#val-me" class="anchor"></a><code><span class="keyword">val </span>me : string</code></dt><dt class="spec value" id="val-me_guilds"><a href="#val-me_guilds" class="anchor"></a><code><span class="keyword">val </span>me_guilds : string</code></dt><dt class="spec value" id="val-me_guild"><a href="#val-me_guild" class="anchor"></a><code><span class="keyword">val </span>me_guild : int <span>-></span> string</code></dt><dt class="spec value" id="val-me_channels"><a href="#val-me_channels" class="anchor"></a><code><span class="keyword">val </span>me_channels : string</code></dt><dt class="spec value" id="val-me_connections"><a href="#val-me_connections" class="anchor"></a><code><span class="keyword">val </span>me_connections : string</code></dt><dt class="spec value" id="val-invite"><a href="#val-invite" class="anchor"></a><code><span class="keyword">val </span>invite : string <span>-></span> string</code></dt><dt class="spec value" id="val-regions"><a href="#val-regions" class="anchor"></a><code><span class="keyword">val </span>regions : string</code></dt><dt class="spec value" id="val-application_information"><a href="#val-application_information" class="anchor"></a><code><span class="keyword">val </span>application_information : string</code></dt><dt class="spec value" id="val-group_recipient"><a href="#val-group_recipient" class="anchor"></a><code><span class="keyword">val </span>group_recipient : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_me_nick"><a href="#val-guild_me_nick" class="anchor"></a><code><span class="keyword">val </span>guild_me_nick : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_vanity_url"><a href="#val-guild_vanity_url" class="anchor"></a><code><span class="keyword">val </span>guild_vanity_url : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_audit_logs"><a href="#val-guild_audit_logs" class="anchor"></a><code><span class="keyword">val </span>guild_audit_logs : int <span>-></span> string</code></dt><dt class="spec value" id="val-cdn_embed_avatar"><a href="#val-cdn_embed_avatar" class="anchor"></a><code><span class="keyword">val </span>cdn_embed_avatar : string <span>-></span> string</code></dt><dt class="spec value" id="val-cdn_emoji"><a href="#val-cdn_emoji" class="anchor"></a><code><span class="keyword">val </span>cdn_emoji : string <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-cdn_icon"><a href="#val-cdn_icon" class="anchor"></a><code><span class="keyword">val </span>cdn_icon : int <span>-></span> string <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-cdn_avatar"><a href="#val-cdn_avatar" class="anchor"></a><code><span class="keyword">val </span>cdn_avatar : int <span>-></span> string <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-cdn_default_avatar"><a href="#val-cdn_default_avatar" class="anchor"></a><code><span class="keyword">val </span>cdn_default_avatar : int <span>-></span> string</code></dt></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/Event/index.html b/docs/disml/Disml/Event/index.html index f3917da..90a9b8f 100644 --- a/docs/disml/Disml/Event/index.html +++ b/docs/disml/Disml/Event/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Event (disml.Disml.Event)</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> » Event</nav><h1>Module <code>Disml.Event</code></h1></header><dl><dt class="spec exception" id="exception-Invalid_event"><a href="#exception-Invalid_event" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">Invalid_event</span><span class="keyword"> of </span>string</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><table class="variant"><tr id="type-t.HELLO" class="anchored"><td class="def constructor"><a href="#type-t.HELLO" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">HELLO</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.READY" class="anchored"><td class="def constructor"><a href="#type-t.READY" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">READY</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.RESUMED" class="anchored"><td class="def constructor"><a href="#type-t.RESUMED" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">RESUMED</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.INVALID_SESSION" class="anchored"><td class="def constructor"><a href="#type-t.INVALID_SESSION" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">INVALID_SESSION</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.CHANNEL_CREATE" class="anchored"><td class="def constructor"><a href="#type-t.CHANNEL_CREATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">CHANNEL_CREATE</span><span class="keyword"> of </span><a href="../Channel_t/index.html#type-t">Channel_t.t</a></code></td></tr><tr id="type-t.CHANNEL_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.CHANNEL_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">CHANNEL_UPDATE</span><span class="keyword"> of </span><a href="../Channel_t/index.html#type-t">Channel_t.t</a></code></td></tr><tr id="type-t.CHANNEL_DELETE" class="anchored"><td class="def constructor"><a href="#type-t.CHANNEL_DELETE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">CHANNEL_DELETE</span><span class="keyword"> of </span><a href="../Channel_t/index.html#type-t">Channel_t.t</a></code></td></tr><tr id="type-t.CHANNEL_PINS_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.CHANNEL_PINS_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">CHANNEL_PINS_UPDATE</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.GUILD_CREATE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_CREATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_CREATE</span><span class="keyword"> of </span><a href="../Guild_t/index.html#type-t">Guild_t.t</a></code></td></tr><tr id="type-t.GUILD_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_UPDATE</span><span class="keyword"> of </span><a href="../Guild_t/index.html#type-t">Guild_t.t</a></code></td></tr><tr id="type-t.GUILD_DELETE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_DELETE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_DELETE</span><span class="keyword"> of </span><a href="../Guild_t/index.html#type-t">Guild_t.t</a></code></td></tr><tr id="type-t.GUILD_BAN_ADD" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_BAN_ADD" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_BAN_ADD</span><span class="keyword"> of </span><a href="../Ban_t/index.html#type-t">Ban_t.t</a></code></td></tr><tr id="type-t.GUILD_BAN_REMOVE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_BAN_REMOVE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_BAN_REMOVE</span><span class="keyword"> of </span><a href="../Ban_t/index.html#type-t">Ban_t.t</a></code></td></tr><tr id="type-t.GUILD_EMOJIS_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_EMOJIS_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_EMOJIS_UPDATE</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.GUILD_INTEGRATIONS_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_INTEGRATIONS_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_INTEGRATIONS_UPDATE</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.GUILD_MEMBER_ADD" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_MEMBER_ADD" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_MEMBER_ADD</span><span class="keyword"> of </span><a href="../Member_t/index.html#type-t">Member_t.t</a></code></td></tr><tr id="type-t.GUILD_MEMBER_REMOVE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_MEMBER_REMOVE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_MEMBER_REMOVE</span><span class="keyword"> of </span><a href="../Member_t/index.html#type-member_wrapper">Member_t.member_wrapper</a></code></td></tr><tr id="type-t.GUILD_MEMBER_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_MEMBER_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_MEMBER_UPDATE</span><span class="keyword"> of </span><a href="../Member_t/index.html#type-member_update">Member_t.member_update</a></code></td></tr><tr id="type-t.GUILD_MEMBERS_CHUNK" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_MEMBERS_CHUNK" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_MEMBERS_CHUNK</span><span class="keyword"> of </span><a href="../Member_t/index.html#type-t">Member_t.t</a> list</code></td></tr><tr id="type-t.GUILD_ROLE_CREATE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_ROLE_CREATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_ROLE_CREATE</span><span class="keyword"> of </span><a href="../Role_t/index.html#type-t">Role_t.t</a></code></td></tr><tr id="type-t.GUILD_ROLE_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_ROLE_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_ROLE_UPDATE</span><span class="keyword"> of </span><a href="../Role_t/index.html#type-t">Role_t.t</a></code></td></tr><tr id="type-t.GUILD_ROLE_DELETE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_ROLE_DELETE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_ROLE_DELETE</span><span class="keyword"> of </span><a href="../Role_t/index.html#type-t">Role_t.t</a></code></td></tr><tr id="type-t.MESSAGE_CREATE" class="anchored"><td class="def constructor"><a href="#type-t.MESSAGE_CREATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">MESSAGE_CREATE</span><span class="keyword"> of </span><a href="../Message_t/index.html#type-t">Message_t.t</a></code></td></tr><tr id="type-t.MESSAGE_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.MESSAGE_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">MESSAGE_UPDATE</span><span class="keyword"> of </span><a href="../Message_t/index.html#type-message_update">Message_t.message_update</a></code></td></tr><tr id="type-t.MESSAGE_DELETE" class="anchored"><td class="def constructor"><a href="#type-t.MESSAGE_DELETE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">MESSAGE_DELETE</span><span class="keyword"> of </span><a href="../Snowflake/index.html#type-t">Snowflake.t</a><span class="keyword"> * </span><a href="../Snowflake/index.html#type-t">Snowflake.t</a></code></td></tr><tr id="type-t.MESSAGE_BULK_DELETE" class="anchored"><td class="def constructor"><a href="#type-t.MESSAGE_BULK_DELETE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">MESSAGE_BULK_DELETE</span><span class="keyword"> of </span><a href="../Snowflake/index.html#type-t">Snowflake.t</a> list</code></td></tr><tr id="type-t.MESSAGE_REACTION_ADD" class="anchored"><td class="def constructor"><a href="#type-t.MESSAGE_REACTION_ADD" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">MESSAGE_REACTION_ADD</span><span class="keyword"> of </span><a href="../Reaction_t/index.html#type-reaction_event">Reaction_t.reaction_event</a></code></td></tr><tr id="type-t.MESSAGE_REACTION_REMOVE" class="anchored"><td class="def constructor"><a href="#type-t.MESSAGE_REACTION_REMOVE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">MESSAGE_REACTION_REMOVE</span><span class="keyword"> of </span><a href="../Reaction_t/index.html#type-reaction_event">Reaction_t.reaction_event</a></code></td></tr><tr id="type-t.MESSAGE_REACTION_REMOVE_ALL" class="anchored"><td class="def constructor"><a href="#type-t.MESSAGE_REACTION_REMOVE_ALL" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">MESSAGE_REACTION_REMOVE_ALL</span><span class="keyword"> of </span><a href="../Reaction_t/index.html#type-t">Reaction_t.t</a> list</code></td></tr><tr id="type-t.PRESENCE_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.PRESENCE_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">PRESENCE_UPDATE</span><span class="keyword"> of </span><a href="../Presence/index.html#type-t">Presence.t</a></code></td></tr><tr id="type-t.TYPING_START" class="anchored"><td class="def constructor"><a href="#type-t.TYPING_START" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">TYPING_START</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.USER_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.USER_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">USER_UPDATE</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.VOICE_STATE_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.VOICE_STATE_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">VOICE_STATE_UPDATE</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.VOICE_SERVER_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.VOICE_SERVER_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">VOICE_SERVER_UPDATE</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.WEBHOOKS_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.WEBHOOKS_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">WEBHOOKS_UPDATE</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr></table></dt></dl><dl><dt class="spec value" id="val-event_of_yojson"><a href="#val-event_of_yojson" class="anchor"></a><code><span class="keyword">val </span>event_of_yojson : contents:Yojson.Safe.json <span>-></span> string <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-dispatch"><a href="#val-dispatch" class="anchor"></a><code><span class="keyword">val </span>dispatch : <a href="index.html#type-t">t</a> <span>-></span> unit</code></dt><dt class="spec value" id="val-handle_event"><a href="#val-handle_event" class="anchor"></a><code><span class="keyword">val </span>handle_event : ev:string <span>-></span> Yojson.Safe.json <span>-></span> unit</code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Event (disml.Disml.Event)</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> » Event</nav><h1>Module <code>Disml.Event</code></h1></header><aside><p>Barebones of event dispatching. Most users will have no reason to look here.</p></aside><dl><dt class="spec exception" id="exception-Invalid_event"><a href="#exception-Invalid_event" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">Invalid_event</span><span class="keyword"> of </span>string</code></dt><dd><p>Used internally when received an unknown event. Is caught and logged.</p></dd></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><table class="variant"><tr id="type-t.HELLO" class="anchored"><td class="def constructor"><a href="#type-t.HELLO" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">HELLO</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.READY" class="anchored"><td class="def constructor"><a href="#type-t.READY" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">READY</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.RESUMED" class="anchored"><td class="def constructor"><a href="#type-t.RESUMED" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">RESUMED</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.INVALID_SESSION" class="anchored"><td class="def constructor"><a href="#type-t.INVALID_SESSION" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">INVALID_SESSION</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.CHANNEL_CREATE" class="anchored"><td class="def constructor"><a href="#type-t.CHANNEL_CREATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">CHANNEL_CREATE</span><span class="keyword"> of </span><a href="../Channel_t/index.html#type-t">Channel_t.t</a></code></td></tr><tr id="type-t.CHANNEL_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.CHANNEL_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">CHANNEL_UPDATE</span><span class="keyword"> of </span><a href="../Channel_t/index.html#type-t">Channel_t.t</a></code></td></tr><tr id="type-t.CHANNEL_DELETE" class="anchored"><td class="def constructor"><a href="#type-t.CHANNEL_DELETE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">CHANNEL_DELETE</span><span class="keyword"> of </span><a href="../Channel_t/index.html#type-t">Channel_t.t</a></code></td></tr><tr id="type-t.CHANNEL_PINS_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.CHANNEL_PINS_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">CHANNEL_PINS_UPDATE</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.GUILD_CREATE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_CREATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_CREATE</span><span class="keyword"> of </span><a href="../Guild_t/index.html#type-t">Guild_t.t</a></code></td></tr><tr id="type-t.GUILD_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_UPDATE</span><span class="keyword"> of </span><a href="../Guild_t/index.html#type-t">Guild_t.t</a></code></td></tr><tr id="type-t.GUILD_DELETE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_DELETE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_DELETE</span><span class="keyword"> of </span><a href="../Guild_t/index.html#type-t">Guild_t.t</a></code></td></tr><tr id="type-t.GUILD_BAN_ADD" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_BAN_ADD" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_BAN_ADD</span><span class="keyword"> of </span><a href="../Ban_t/index.html#type-t">Ban_t.t</a></code></td></tr><tr id="type-t.GUILD_BAN_REMOVE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_BAN_REMOVE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_BAN_REMOVE</span><span class="keyword"> of </span><a href="../Ban_t/index.html#type-t">Ban_t.t</a></code></td></tr><tr id="type-t.GUILD_EMOJIS_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_EMOJIS_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_EMOJIS_UPDATE</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.GUILD_INTEGRATIONS_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_INTEGRATIONS_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_INTEGRATIONS_UPDATE</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.GUILD_MEMBER_ADD" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_MEMBER_ADD" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_MEMBER_ADD</span><span class="keyword"> of </span><a href="../Member_t/index.html#type-t">Member_t.t</a></code></td></tr><tr id="type-t.GUILD_MEMBER_REMOVE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_MEMBER_REMOVE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_MEMBER_REMOVE</span><span class="keyword"> of </span><a href="../Member_t/index.html#type-member_wrapper">Member_t.member_wrapper</a></code></td></tr><tr id="type-t.GUILD_MEMBER_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_MEMBER_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_MEMBER_UPDATE</span><span class="keyword"> of </span><a href="../Member_t/index.html#type-member_update">Member_t.member_update</a></code></td></tr><tr id="type-t.GUILD_MEMBERS_CHUNK" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_MEMBERS_CHUNK" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_MEMBERS_CHUNK</span><span class="keyword"> of </span><a href="../Member_t/index.html#type-t">Member_t.t</a> list</code></td></tr><tr id="type-t.GUILD_ROLE_CREATE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_ROLE_CREATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_ROLE_CREATE</span><span class="keyword"> of </span><a href="../Role_t/index.html#type-t">Role_t.t</a></code></td></tr><tr id="type-t.GUILD_ROLE_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_ROLE_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_ROLE_UPDATE</span><span class="keyword"> of </span><a href="../Role_t/index.html#type-t">Role_t.t</a></code></td></tr><tr id="type-t.GUILD_ROLE_DELETE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_ROLE_DELETE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_ROLE_DELETE</span><span class="keyword"> of </span><a href="../Role_t/index.html#type-t">Role_t.t</a></code></td></tr><tr id="type-t.MESSAGE_CREATE" class="anchored"><td class="def constructor"><a href="#type-t.MESSAGE_CREATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">MESSAGE_CREATE</span><span class="keyword"> of </span><a href="../Message_t/index.html#type-t">Message_t.t</a></code></td></tr><tr id="type-t.MESSAGE_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.MESSAGE_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">MESSAGE_UPDATE</span><span class="keyword"> of </span><a href="../Message_t/index.html#type-message_update">Message_t.message_update</a></code></td></tr><tr id="type-t.MESSAGE_DELETE" class="anchored"><td class="def constructor"><a href="#type-t.MESSAGE_DELETE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">MESSAGE_DELETE</span><span class="keyword"> of </span><a href="../Snowflake/index.html#type-t">Snowflake.t</a><span class="keyword"> * </span><a href="../Snowflake/index.html#type-t">Snowflake.t</a></code></td></tr><tr id="type-t.MESSAGE_BULK_DELETE" class="anchored"><td class="def constructor"><a href="#type-t.MESSAGE_BULK_DELETE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">MESSAGE_BULK_DELETE</span><span class="keyword"> of </span><a href="../Snowflake/index.html#type-t">Snowflake.t</a> list</code></td></tr><tr id="type-t.MESSAGE_REACTION_ADD" class="anchored"><td class="def constructor"><a href="#type-t.MESSAGE_REACTION_ADD" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">MESSAGE_REACTION_ADD</span><span class="keyword"> of </span><a href="../Reaction_t/index.html#type-reaction_event">Reaction_t.reaction_event</a></code></td></tr><tr id="type-t.MESSAGE_REACTION_REMOVE" class="anchored"><td class="def constructor"><a href="#type-t.MESSAGE_REACTION_REMOVE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">MESSAGE_REACTION_REMOVE</span><span class="keyword"> of </span><a href="../Reaction_t/index.html#type-reaction_event">Reaction_t.reaction_event</a></code></td></tr><tr id="type-t.MESSAGE_REACTION_REMOVE_ALL" class="anchored"><td class="def constructor"><a href="#type-t.MESSAGE_REACTION_REMOVE_ALL" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">MESSAGE_REACTION_REMOVE_ALL</span><span class="keyword"> of </span><a href="../Reaction_t/index.html#type-t">Reaction_t.t</a> list</code></td></tr><tr id="type-t.PRESENCE_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.PRESENCE_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">PRESENCE_UPDATE</span><span class="keyword"> of </span><a href="../Presence/index.html#type-t">Presence.t</a></code></td></tr><tr id="type-t.TYPING_START" class="anchored"><td class="def constructor"><a href="#type-t.TYPING_START" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">TYPING_START</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.USER_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.USER_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">USER_UPDATE</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.VOICE_STATE_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.VOICE_STATE_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">VOICE_STATE_UPDATE</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.VOICE_SERVER_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.VOICE_SERVER_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">VOICE_SERVER_UPDATE</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.WEBHOOKS_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.WEBHOOKS_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">WEBHOOKS_UPDATE</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr></table></dt><dd><p>Event dispatch type wrapper. Used internally.</p></dd></dl><dl><dt class="spec value" id="val-event_of_yojson"><a href="#val-event_of_yojson" class="anchor"></a><code><span class="keyword">val </span>event_of_yojson : contents:Yojson.Safe.json <span>-></span> string <span>-></span> <a href="index.html#type-t">t</a></code></dt><dd><p>Used to convert an event string and payload into a t wrapper type.</p></dd></dl><dl><dt class="spec value" id="val-dispatch"><a href="#val-dispatch" class="anchor"></a><code><span class="keyword">val </span>dispatch : <a href="index.html#type-t">t</a> <span>-></span> unit</code></dt><dd><p>Sends the event to the registered handler.</p></dd></dl><dl><dt class="spec value" id="val-handle_event"><a href="#val-handle_event" class="anchor"></a><code><span class="keyword">val </span>handle_event : ev:string <span>-></span> Yojson.Safe.json <span>-></span> unit</code></dt><dd><p>Wrapper to other functions. This is called from the shards.</p></dd></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/Guild/index.html b/docs/disml/Disml/Guild/index.html index 5bbefc8..ac6bd6e 100644 --- a/docs/disml/Disml/Guild/index.html +++ b/docs/disml/Disml/Guild/index.html @@ -1,2 +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 +<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><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></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><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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-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 diff --git a/docs/disml/Disml/Guild_t/index.html b/docs/disml/Disml/Guild_t/index.html index 5348842..284f9fd 100644 --- a/docs/disml/Disml/Guild_t/index.html +++ b/docs/disml/Disml/Guild_t/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Guild_t (disml.Disml.Guild_t)</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_t</nav><h1>Module <code>Disml.Guild_t</code></h1></header><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></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Guild_t (disml.Disml.Guild_t)</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_t</nav><h1>Module <code>Disml.Guild_t</code></h1></header><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><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></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><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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-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></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/Member/index.html b/docs/disml/Disml/Member/index.html index 2bb0712..e9a2971 100644 --- a/docs/disml/Disml/Member/index.html +++ b/docs/disml/Disml/Member/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Member (disml.Disml.Member)</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> » Member</nav><h1>Module <code>Disml.Member</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-Member_t">Member_t</a></code></span></summary><aside></aside><dl><dt class="spec type" id="type-partial_member"><a href="#type-partial_member" class="anchor"></a><code><span class="keyword">type </span>partial_member</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-partial_member.nick" class="anchored"><td class="def field"><a href="#type-partial_member.nick" class="anchor"></a><code>nick : string option;</code></td></tr><tr id="type-partial_member.roles" class="anchored"><td class="def field"><a href="#type-partial_member.roles" class="anchor"></a><code>roles : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-partial_member.joined_at" class="anchored"><td class="def field"><a href="#type-partial_member.joined_at" class="anchor"></a><code>joined_at : string;</code></td></tr><tr id="type-partial_member.deaf" class="anchored"><td class="def field"><a href="#type-partial_member.deaf" class="anchor"></a><code>deaf : bool;</code></td></tr><tr id="type-partial_member.mute" class="anchored"><td class="def field"><a href="#type-partial_member.mute" class="anchor"></a><code>mute : bool;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-partial_member_of_sexp"><a href="#val-partial_member_of_sexp" class="anchor"></a><code><span class="keyword">val </span>partial_member_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-partial_member">partial_member</a></code></dt><dt class="spec value" id="val-sexp_of_partial_member"><a href="#val-sexp_of_partial_member" class="anchor"></a><code><span class="keyword">val </span>sexp_of_partial_member : <a href="index.html#type-partial_member">partial_member</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-partial_member_to_yojson"><a href="#val-partial_member_to_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_member_to_yojson : <a href="index.html#type-partial_member">partial_member</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-partial_member_of_yojson"><a href="#val-partial_member_of_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_member_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_member">partial_member</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-partial_member">partial_member</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-partial_member">partial_member</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-partial_member_of_yojson_exn"><a href="#val-partial_member_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>partial_member_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_member">partial_member</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-partial_member">partial_member</a></code></dt></dl><dl><dt class="spec type" id="type-member"><a href="#type-member" class="anchor"></a><code><span class="keyword">type </span>member</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-member.nick" class="anchored"><td class="def field"><a href="#type-member.nick" class="anchor"></a><code>nick : string option;</code></td></tr><tr id="type-member.roles" class="anchored"><td class="def field"><a href="#type-member.roles" class="anchor"></a><code>roles : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-member.joined_at" class="anchored"><td class="def field"><a href="#type-member.joined_at" class="anchor"></a><code>joined_at : string;</code></td></tr><tr id="type-member.deaf" class="anchored"><td class="def field"><a href="#type-member.deaf" class="anchor"></a><code>deaf : bool;</code></td></tr><tr id="type-member.mute" class="anchored"><td class="def field"><a href="#type-member.mute" class="anchor"></a><code>mute : bool;</code></td></tr><tr id="type-member.user" class="anchored"><td class="def field"><a href="#type-member.user" class="anchor"></a><code>user : <a href="../User_t/index.html#type-t">User_t.t</a>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-member_of_sexp"><a href="#val-member_of_sexp" class="anchor"></a><code><span class="keyword">val </span>member_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-member">member</a></code></dt><dt class="spec value" id="val-sexp_of_member"><a href="#val-sexp_of_member" class="anchor"></a><code><span class="keyword">val </span>sexp_of_member : <a href="index.html#type-member">member</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-member_to_yojson"><a href="#val-member_to_yojson" class="anchor"></a><code><span class="keyword">val </span>member_to_yojson : <a href="index.html#type-member">member</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-member_of_yojson"><a href="#val-member_of_yojson" class="anchor"></a><code><span class="keyword">val </span>member_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-member">member</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-member">member</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-member">member</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-member_of_yojson_exn"><a href="#val-member_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>member_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-member">member</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-member">member</a></code></dt></dl><dl><dt class="spec type" id="type-member_wrapper"><a href="#type-member_wrapper" class="anchor"></a><code><span class="keyword">type </span>member_wrapper</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-member_wrapper.guild_id" class="anchored"><td class="def field"><a href="#type-member_wrapper.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-member_wrapper.user" class="anchored"><td class="def field"><a href="#type-member_wrapper.user" class="anchor"></a><code>user : <a href="../User_t/index.html#type-t">User_t.t</a>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-member_wrapper_of_sexp"><a href="#val-member_wrapper_of_sexp" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-member_wrapper">member_wrapper</a></code></dt><dt class="spec value" id="val-sexp_of_member_wrapper"><a href="#val-sexp_of_member_wrapper" class="anchor"></a><code><span class="keyword">val </span>sexp_of_member_wrapper : <a href="index.html#type-member_wrapper">member_wrapper</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-member_wrapper_to_yojson"><a href="#val-member_wrapper_to_yojson" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_to_yojson : <a href="index.html#type-member_wrapper">member_wrapper</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-member_wrapper_of_yojson"><a href="#val-member_wrapper_of_yojson" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_wrapper">member_wrapper</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-member_wrapper">member_wrapper</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-member_wrapper">member_wrapper</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-member_wrapper_of_yojson_exn"><a href="#val-member_wrapper_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_wrapper">member_wrapper</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-member_wrapper">member_wrapper</a></code></dt></dl><dl><dt class="spec type" id="type-member_update"><a href="#type-member_update" class="anchor"></a><code><span class="keyword">type </span>member_update</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-member_update.guild_id" class="anchored"><td class="def field"><a href="#type-member_update.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-member_update.roles" class="anchored"><td class="def field"><a href="#type-member_update.roles" class="anchor"></a><code>roles : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-member_update.user" class="anchored"><td class="def field"><a href="#type-member_update.user" class="anchor"></a><code>user : <a href="../User_t/index.html#type-t">User_t.t</a>;</code></td></tr><tr id="type-member_update.nick" class="anchored"><td class="def field"><a href="#type-member_update.nick" class="anchor"></a><code>nick : string option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-member_update_of_sexp"><a href="#val-member_update_of_sexp" class="anchor"></a><code><span class="keyword">val </span>member_update_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-member_update">member_update</a></code></dt><dt class="spec value" id="val-sexp_of_member_update"><a href="#val-sexp_of_member_update" class="anchor"></a><code><span class="keyword">val </span>sexp_of_member_update : <a href="index.html#type-member_update">member_update</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-member_update_to_yojson"><a href="#val-member_update_to_yojson" class="anchor"></a><code><span class="keyword">val </span>member_update_to_yojson : <a href="index.html#type-member_update">member_update</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-member_update_of_yojson"><a href="#val-member_update_of_yojson" class="anchor"></a><code><span class="keyword">val </span>member_update_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_update">member_update</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-member_update">member_update</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-member_update">member_update</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-member_update_of_yojson_exn"><a href="#val-member_update_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>member_update_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_update">member_update</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-member_update">member_update</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.nick" class="anchored"><td class="def field"><a href="#type-t.nick" class="anchor"></a><code>nick : string option;</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="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-t.joined_at" class="anchored"><td class="def field"><a href="#type-t.joined_at" class="anchor"></a><code>joined_at : string;</code></td></tr><tr id="type-t.deaf" class="anchored"><td class="def field"><a href="#type-t.deaf" class="anchor"></a><code>deaf : bool;</code></td></tr><tr id="type-t.mute" class="anchored"><td class="def field"><a href="#type-t.mute" class="anchor"></a><code>mute : bool;</code></td></tr><tr id="type-t.user" class="anchored"><td class="def field"><a href="#type-t.user" class="anchor"></a><code>user : <a href="../User_t/index.html#type-t">User_t.t</a>;</code></td></tr><tr id="type-t.guild_id" class="anchored"><td class="def field"><a href="#type-t.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</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 : guild_id:<a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> <a href="index.html#type-member">member</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-add_role"><a href="#val-add_role" class="anchor"></a><code><span class="keyword">val </span>add_role : role:<a href="../Role_t/index.html#type-t">Role_t.t</a> <span>-></span> <a href="../Member_t/index.html#type-t">Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-remove_role"><a href="#val-remove_role" class="anchor"></a><code><span class="keyword">val </span>remove_role : role:<a href="../Role_t/index.html#type-t">Role_t.t</a> <span>-></span> <a href="../Member_t/index.html#type-t">Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-ban"><a href="#val-ban" class="anchor"></a><code><span class="keyword">val </span>ban : ?⁠reason:string <span>-></span> ?⁠days:int <span>-></span> <a href="../Member_t/index.html#type-t">Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-kick"><a href="#val-kick" class="anchor"></a><code><span class="keyword">val </span>kick : ?⁠reason:string <span>-></span> <a href="../Member_t/index.html#type-t">Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-mute"><a href="#val-mute" class="anchor"></a><code><span class="keyword">val </span>mute : <a href="../Member_t/index.html#type-t">Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-deafen"><a href="#val-deafen" class="anchor"></a><code><span class="keyword">val </span>deafen : <a href="../Member_t/index.html#type-t">Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-unmute"><a href="#val-unmute" class="anchor"></a><code><span class="keyword">val </span>unmute : <a href="../Member_t/index.html#type-t">Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-undeafen"><a href="#val-undeafen" class="anchor"></a><code><span class="keyword">val </span>undeafen : <a href="../Member_t/index.html#type-t">Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Member (disml.Disml.Member)</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> » Member</nav><h1>Module <code>Disml.Member</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-Member_t">Member_t</a></code></span></summary><aside></aside><dl><dt class="spec type" id="type-partial_member"><a href="#type-partial_member" class="anchor"></a><code><span class="keyword">type </span>partial_member</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-partial_member.nick" class="anchored"><td class="def field"><a href="#type-partial_member.nick" class="anchor"></a><code>nick : string option;</code></td></tr><tr id="type-partial_member.roles" class="anchored"><td class="def field"><a href="#type-partial_member.roles" class="anchor"></a><code>roles : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-partial_member.joined_at" class="anchored"><td class="def field"><a href="#type-partial_member.joined_at" class="anchor"></a><code>joined_at : string;</code></td></tr><tr id="type-partial_member.deaf" class="anchored"><td class="def field"><a href="#type-partial_member.deaf" class="anchor"></a><code>deaf : bool;</code></td></tr><tr id="type-partial_member.mute" class="anchored"><td class="def field"><a href="#type-partial_member.mute" class="anchor"></a><code>mute : bool;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-partial_member_of_sexp"><a href="#val-partial_member_of_sexp" class="anchor"></a><code><span class="keyword">val </span>partial_member_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-partial_member">partial_member</a></code></dt><dt class="spec value" id="val-sexp_of_partial_member"><a href="#val-sexp_of_partial_member" class="anchor"></a><code><span class="keyword">val </span>sexp_of_partial_member : <a href="index.html#type-partial_member">partial_member</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-partial_member_to_yojson"><a href="#val-partial_member_to_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_member_to_yojson : <a href="index.html#type-partial_member">partial_member</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-partial_member_of_yojson"><a href="#val-partial_member_of_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_member_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_member">partial_member</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-partial_member_of_yojson_exn"><a href="#val-partial_member_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>partial_member_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_member">partial_member</a></code></dt></dl><dl><dt class="spec type" id="type-member"><a href="#type-member" class="anchor"></a><code><span class="keyword">type </span>member</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-member.nick" class="anchored"><td class="def field"><a href="#type-member.nick" class="anchor"></a><code>nick : string option;</code></td></tr><tr id="type-member.roles" class="anchored"><td class="def field"><a href="#type-member.roles" class="anchor"></a><code>roles : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-member.joined_at" class="anchored"><td class="def field"><a href="#type-member.joined_at" class="anchor"></a><code>joined_at : string;</code></td></tr><tr id="type-member.deaf" class="anchored"><td class="def field"><a href="#type-member.deaf" class="anchor"></a><code>deaf : bool;</code></td></tr><tr id="type-member.mute" class="anchored"><td class="def field"><a href="#type-member.mute" class="anchor"></a><code>mute : bool;</code></td></tr><tr id="type-member.user" class="anchored"><td class="def field"><a href="#type-member.user" class="anchor"></a><code>user : <a href="../User_t/index.html#type-t">User_t.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-member_of_sexp"><a href="#val-member_of_sexp" class="anchor"></a><code><span class="keyword">val </span>member_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-member">member</a></code></dt><dt class="spec value" id="val-sexp_of_member"><a href="#val-sexp_of_member" class="anchor"></a><code><span class="keyword">val </span>sexp_of_member : <a href="index.html#type-member">member</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-member_to_yojson"><a href="#val-member_to_yojson" class="anchor"></a><code><span class="keyword">val </span>member_to_yojson : <a href="index.html#type-member">member</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-member_of_yojson"><a href="#val-member_of_yojson" class="anchor"></a><code><span class="keyword">val </span>member_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-member">member</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-member_of_yojson_exn"><a href="#val-member_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>member_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-member">member</a></code></dt></dl><dl><dt class="spec type" id="type-member_wrapper"><a href="#type-member_wrapper" class="anchor"></a><code><span class="keyword">type </span>member_wrapper</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-member_wrapper.guild_id" class="anchored"><td class="def field"><a href="#type-member_wrapper.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-member_wrapper.user" class="anchored"><td class="def field"><a href="#type-member_wrapper.user" class="anchor"></a><code>user : <a href="../User_t/index.html#type-t">User_t.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-member_wrapper_of_sexp"><a href="#val-member_wrapper_of_sexp" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-member_wrapper">member_wrapper</a></code></dt><dt class="spec value" id="val-sexp_of_member_wrapper"><a href="#val-sexp_of_member_wrapper" class="anchor"></a><code><span class="keyword">val </span>sexp_of_member_wrapper : <a href="index.html#type-member_wrapper">member_wrapper</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-member_wrapper_to_yojson"><a href="#val-member_wrapper_to_yojson" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_to_yojson : <a href="index.html#type-member_wrapper">member_wrapper</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-member_wrapper_of_yojson"><a href="#val-member_wrapper_of_yojson" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_wrapper">member_wrapper</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-member_wrapper_of_yojson_exn"><a href="#val-member_wrapper_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_wrapper">member_wrapper</a></code></dt></dl><dl><dt class="spec type" id="type-member_update"><a href="#type-member_update" class="anchor"></a><code><span class="keyword">type </span>member_update</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-member_update.guild_id" class="anchored"><td class="def field"><a href="#type-member_update.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-member_update.roles" class="anchored"><td class="def field"><a href="#type-member_update.roles" class="anchor"></a><code>roles : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-member_update.user" class="anchored"><td class="def field"><a href="#type-member_update.user" class="anchor"></a><code>user : <a href="../User_t/index.html#type-t">User_t.t</a>;</code></td></tr><tr id="type-member_update.nick" class="anchored"><td class="def field"><a href="#type-member_update.nick" class="anchor"></a><code>nick : string option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-member_update_of_sexp"><a href="#val-member_update_of_sexp" class="anchor"></a><code><span class="keyword">val </span>member_update_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-member_update">member_update</a></code></dt><dt class="spec value" id="val-sexp_of_member_update"><a href="#val-sexp_of_member_update" class="anchor"></a><code><span class="keyword">val </span>sexp_of_member_update : <a href="index.html#type-member_update">member_update</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-member_update_to_yojson"><a href="#val-member_update_to_yojson" class="anchor"></a><code><span class="keyword">val </span>member_update_to_yojson : <a href="index.html#type-member_update">member_update</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-member_update_of_yojson"><a href="#val-member_update_of_yojson" class="anchor"></a><code><span class="keyword">val </span>member_update_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_update">member_update</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-member_update_of_yojson_exn"><a href="#val-member_update_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>member_update_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_update">member_update</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.nick" class="anchored"><td class="def field"><a href="#type-t.nick" class="anchor"></a><code>nick : string option;</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="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-t.joined_at" class="anchored"><td class="def field"><a href="#type-t.joined_at" class="anchor"></a><code>joined_at : string;</code></td></tr><tr id="type-t.deaf" class="anchored"><td class="def field"><a href="#type-t.deaf" class="anchor"></a><code>deaf : bool;</code></td></tr><tr id="type-t.mute" class="anchored"><td class="def field"><a href="#type-t.mute" class="anchor"></a><code>mute : bool;</code></td></tr><tr id="type-t.user" class="anchored"><td class="def field"><a href="#type-t.user" class="anchor"></a><code>user : <a href="../User_t/index.html#type-t">User_t.t</a>;</code></td></tr><tr id="type-t.guild_id" class="anchored"><td class="def field"><a href="#type-t.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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-wrap"><a href="#val-wrap" class="anchor"></a><code><span class="keyword">val </span>wrap : guild_id:<a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> <a href="index.html#type-member">member</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-add_role"><a href="#val-add_role" class="anchor"></a><code><span class="keyword">val </span>add_role : role:<a href="../Role_t/index.html#type-t">Role_t.t</a> <span>-></span> <a href="../Member_t/index.html#type-t">Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-remove_role"><a href="#val-remove_role" class="anchor"></a><code><span class="keyword">val </span>remove_role : role:<a href="../Role_t/index.html#type-t">Role_t.t</a> <span>-></span> <a href="../Member_t/index.html#type-t">Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-ban"><a href="#val-ban" class="anchor"></a><code><span class="keyword">val </span>ban : ?⁠reason:string <span>-></span> ?⁠days:int <span>-></span> <a href="../Member_t/index.html#type-t">Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-kick"><a href="#val-kick" class="anchor"></a><code><span class="keyword">val </span>kick : ?⁠reason:string <span>-></span> <a href="../Member_t/index.html#type-t">Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-mute"><a href="#val-mute" class="anchor"></a><code><span class="keyword">val </span>mute : <a href="../Member_t/index.html#type-t">Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-deafen"><a href="#val-deafen" class="anchor"></a><code><span class="keyword">val </span>deafen : <a href="../Member_t/index.html#type-t">Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-unmute"><a href="#val-unmute" class="anchor"></a><code><span class="keyword">val </span>unmute : <a href="../Member_t/index.html#type-t">Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-undeafen"><a href="#val-undeafen" class="anchor"></a><code><span class="keyword">val </span>undeafen : <a href="../Member_t/index.html#type-t">Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/Member_t/index.html b/docs/disml/Disml/Member_t/index.html index 42ffed1..bf99c09 100644 --- a/docs/disml/Disml/Member_t/index.html +++ b/docs/disml/Disml/Member_t/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Member_t (disml.Disml.Member_t)</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> » Member_t</nav><h1>Module <code>Disml.Member_t</code></h1></header><dl><dt class="spec type" id="type-partial_member"><a href="#type-partial_member" class="anchor"></a><code><span class="keyword">type </span>partial_member</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-partial_member.nick" class="anchored"><td class="def field"><a href="#type-partial_member.nick" class="anchor"></a><code>nick : string option;</code></td></tr><tr id="type-partial_member.roles" class="anchored"><td class="def field"><a href="#type-partial_member.roles" class="anchor"></a><code>roles : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-partial_member.joined_at" class="anchored"><td class="def field"><a href="#type-partial_member.joined_at" class="anchor"></a><code>joined_at : string;</code></td></tr><tr id="type-partial_member.deaf" class="anchored"><td class="def field"><a href="#type-partial_member.deaf" class="anchor"></a><code>deaf : bool;</code></td></tr><tr id="type-partial_member.mute" class="anchored"><td class="def field"><a href="#type-partial_member.mute" class="anchor"></a><code>mute : bool;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-partial_member_of_sexp"><a href="#val-partial_member_of_sexp" class="anchor"></a><code><span class="keyword">val </span>partial_member_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-partial_member">partial_member</a></code></dt><dt class="spec value" id="val-sexp_of_partial_member"><a href="#val-sexp_of_partial_member" class="anchor"></a><code><span class="keyword">val </span>sexp_of_partial_member : <a href="index.html#type-partial_member">partial_member</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-partial_member_to_yojson"><a href="#val-partial_member_to_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_member_to_yojson : <a href="index.html#type-partial_member">partial_member</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-partial_member_of_yojson"><a href="#val-partial_member_of_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_member_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_member">partial_member</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-partial_member">partial_member</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-partial_member">partial_member</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-partial_member_of_yojson_exn"><a href="#val-partial_member_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>partial_member_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_member">partial_member</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-partial_member">partial_member</a></code></dt></dl><dl><dt class="spec type" id="type-member"><a href="#type-member" class="anchor"></a><code><span class="keyword">type </span>member</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-member.nick" class="anchored"><td class="def field"><a href="#type-member.nick" class="anchor"></a><code>nick : string option;</code></td></tr><tr id="type-member.roles" class="anchored"><td class="def field"><a href="#type-member.roles" class="anchor"></a><code>roles : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-member.joined_at" class="anchored"><td class="def field"><a href="#type-member.joined_at" class="anchor"></a><code>joined_at : string;</code></td></tr><tr id="type-member.deaf" class="anchored"><td class="def field"><a href="#type-member.deaf" class="anchor"></a><code>deaf : bool;</code></td></tr><tr id="type-member.mute" class="anchored"><td class="def field"><a href="#type-member.mute" class="anchor"></a><code>mute : bool;</code></td></tr><tr id="type-member.user" class="anchored"><td class="def field"><a href="#type-member.user" class="anchor"></a><code>user : <a href="../User_t/index.html#type-t">User_t.t</a>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-member_of_sexp"><a href="#val-member_of_sexp" class="anchor"></a><code><span class="keyword">val </span>member_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-member">member</a></code></dt><dt class="spec value" id="val-sexp_of_member"><a href="#val-sexp_of_member" class="anchor"></a><code><span class="keyword">val </span>sexp_of_member : <a href="index.html#type-member">member</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-member_to_yojson"><a href="#val-member_to_yojson" class="anchor"></a><code><span class="keyword">val </span>member_to_yojson : <a href="index.html#type-member">member</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-member_of_yojson"><a href="#val-member_of_yojson" class="anchor"></a><code><span class="keyword">val </span>member_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-member">member</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-member">member</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-member">member</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-member_of_yojson_exn"><a href="#val-member_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>member_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-member">member</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-member">member</a></code></dt></dl><dl><dt class="spec type" id="type-member_wrapper"><a href="#type-member_wrapper" class="anchor"></a><code><span class="keyword">type </span>member_wrapper</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-member_wrapper.guild_id" class="anchored"><td class="def field"><a href="#type-member_wrapper.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-member_wrapper.user" class="anchored"><td class="def field"><a href="#type-member_wrapper.user" class="anchor"></a><code>user : <a href="../User_t/index.html#type-t">User_t.t</a>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-member_wrapper_of_sexp"><a href="#val-member_wrapper_of_sexp" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-member_wrapper">member_wrapper</a></code></dt><dt class="spec value" id="val-sexp_of_member_wrapper"><a href="#val-sexp_of_member_wrapper" class="anchor"></a><code><span class="keyword">val </span>sexp_of_member_wrapper : <a href="index.html#type-member_wrapper">member_wrapper</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-member_wrapper_to_yojson"><a href="#val-member_wrapper_to_yojson" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_to_yojson : <a href="index.html#type-member_wrapper">member_wrapper</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-member_wrapper_of_yojson"><a href="#val-member_wrapper_of_yojson" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_wrapper">member_wrapper</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-member_wrapper">member_wrapper</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-member_wrapper">member_wrapper</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-member_wrapper_of_yojson_exn"><a href="#val-member_wrapper_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_wrapper">member_wrapper</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-member_wrapper">member_wrapper</a></code></dt></dl><dl><dt class="spec type" id="type-member_update"><a href="#type-member_update" class="anchor"></a><code><span class="keyword">type </span>member_update</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-member_update.guild_id" class="anchored"><td class="def field"><a href="#type-member_update.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-member_update.roles" class="anchored"><td class="def field"><a href="#type-member_update.roles" class="anchor"></a><code>roles : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-member_update.user" class="anchored"><td class="def field"><a href="#type-member_update.user" class="anchor"></a><code>user : <a href="../User_t/index.html#type-t">User_t.t</a>;</code></td></tr><tr id="type-member_update.nick" class="anchored"><td class="def field"><a href="#type-member_update.nick" class="anchor"></a><code>nick : string option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-member_update_of_sexp"><a href="#val-member_update_of_sexp" class="anchor"></a><code><span class="keyword">val </span>member_update_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-member_update">member_update</a></code></dt><dt class="spec value" id="val-sexp_of_member_update"><a href="#val-sexp_of_member_update" class="anchor"></a><code><span class="keyword">val </span>sexp_of_member_update : <a href="index.html#type-member_update">member_update</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-member_update_to_yojson"><a href="#val-member_update_to_yojson" class="anchor"></a><code><span class="keyword">val </span>member_update_to_yojson : <a href="index.html#type-member_update">member_update</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-member_update_of_yojson"><a href="#val-member_update_of_yojson" class="anchor"></a><code><span class="keyword">val </span>member_update_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_update">member_update</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-member_update">member_update</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-member_update">member_update</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-member_update_of_yojson_exn"><a href="#val-member_update_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>member_update_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_update">member_update</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-member_update">member_update</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.nick" class="anchored"><td class="def field"><a href="#type-t.nick" class="anchor"></a><code>nick : string option;</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="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-t.joined_at" class="anchored"><td class="def field"><a href="#type-t.joined_at" class="anchor"></a><code>joined_at : string;</code></td></tr><tr id="type-t.deaf" class="anchored"><td class="def field"><a href="#type-t.deaf" class="anchor"></a><code>deaf : bool;</code></td></tr><tr id="type-t.mute" class="anchored"><td class="def field"><a href="#type-t.mute" class="anchor"></a><code>mute : bool;</code></td></tr><tr id="type-t.user" class="anchored"><td class="def field"><a href="#type-t.user" class="anchor"></a><code>user : <a href="../User_t/index.html#type-t">User_t.t</a>;</code></td></tr><tr id="type-t.guild_id" class="anchored"><td class="def field"><a href="#type-t.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</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 : guild_id:<a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> <a href="index.html#type-member">member</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Member_t (disml.Disml.Member_t)</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> » Member_t</nav><h1>Module <code>Disml.Member_t</code></h1></header><dl><dt class="spec type" id="type-partial_member"><a href="#type-partial_member" class="anchor"></a><code><span class="keyword">type </span>partial_member</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-partial_member.nick" class="anchored"><td class="def field"><a href="#type-partial_member.nick" class="anchor"></a><code>nick : string option;</code></td></tr><tr id="type-partial_member.roles" class="anchored"><td class="def field"><a href="#type-partial_member.roles" class="anchor"></a><code>roles : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-partial_member.joined_at" class="anchored"><td class="def field"><a href="#type-partial_member.joined_at" class="anchor"></a><code>joined_at : string;</code></td></tr><tr id="type-partial_member.deaf" class="anchored"><td class="def field"><a href="#type-partial_member.deaf" class="anchor"></a><code>deaf : bool;</code></td></tr><tr id="type-partial_member.mute" class="anchored"><td class="def field"><a href="#type-partial_member.mute" class="anchor"></a><code>mute : bool;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-partial_member_of_sexp"><a href="#val-partial_member_of_sexp" class="anchor"></a><code><span class="keyword">val </span>partial_member_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-partial_member">partial_member</a></code></dt><dt class="spec value" id="val-sexp_of_partial_member"><a href="#val-sexp_of_partial_member" class="anchor"></a><code><span class="keyword">val </span>sexp_of_partial_member : <a href="index.html#type-partial_member">partial_member</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-partial_member_to_yojson"><a href="#val-partial_member_to_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_member_to_yojson : <a href="index.html#type-partial_member">partial_member</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-partial_member_of_yojson"><a href="#val-partial_member_of_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_member_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_member">partial_member</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-partial_member_of_yojson_exn"><a href="#val-partial_member_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>partial_member_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_member">partial_member</a></code></dt></dl><dl><dt class="spec type" id="type-member"><a href="#type-member" class="anchor"></a><code><span class="keyword">type </span>member</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-member.nick" class="anchored"><td class="def field"><a href="#type-member.nick" class="anchor"></a><code>nick : string option;</code></td></tr><tr id="type-member.roles" class="anchored"><td class="def field"><a href="#type-member.roles" class="anchor"></a><code>roles : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-member.joined_at" class="anchored"><td class="def field"><a href="#type-member.joined_at" class="anchor"></a><code>joined_at : string;</code></td></tr><tr id="type-member.deaf" class="anchored"><td class="def field"><a href="#type-member.deaf" class="anchor"></a><code>deaf : bool;</code></td></tr><tr id="type-member.mute" class="anchored"><td class="def field"><a href="#type-member.mute" class="anchor"></a><code>mute : bool;</code></td></tr><tr id="type-member.user" class="anchored"><td class="def field"><a href="#type-member.user" class="anchor"></a><code>user : <a href="../User_t/index.html#type-t">User_t.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-member_of_sexp"><a href="#val-member_of_sexp" class="anchor"></a><code><span class="keyword">val </span>member_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-member">member</a></code></dt><dt class="spec value" id="val-sexp_of_member"><a href="#val-sexp_of_member" class="anchor"></a><code><span class="keyword">val </span>sexp_of_member : <a href="index.html#type-member">member</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-member_to_yojson"><a href="#val-member_to_yojson" class="anchor"></a><code><span class="keyword">val </span>member_to_yojson : <a href="index.html#type-member">member</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-member_of_yojson"><a href="#val-member_of_yojson" class="anchor"></a><code><span class="keyword">val </span>member_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-member">member</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-member_of_yojson_exn"><a href="#val-member_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>member_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-member">member</a></code></dt></dl><dl><dt class="spec type" id="type-member_wrapper"><a href="#type-member_wrapper" class="anchor"></a><code><span class="keyword">type </span>member_wrapper</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-member_wrapper.guild_id" class="anchored"><td class="def field"><a href="#type-member_wrapper.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-member_wrapper.user" class="anchored"><td class="def field"><a href="#type-member_wrapper.user" class="anchor"></a><code>user : <a href="../User_t/index.html#type-t">User_t.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-member_wrapper_of_sexp"><a href="#val-member_wrapper_of_sexp" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-member_wrapper">member_wrapper</a></code></dt><dt class="spec value" id="val-sexp_of_member_wrapper"><a href="#val-sexp_of_member_wrapper" class="anchor"></a><code><span class="keyword">val </span>sexp_of_member_wrapper : <a href="index.html#type-member_wrapper">member_wrapper</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-member_wrapper_to_yojson"><a href="#val-member_wrapper_to_yojson" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_to_yojson : <a href="index.html#type-member_wrapper">member_wrapper</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-member_wrapper_of_yojson"><a href="#val-member_wrapper_of_yojson" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_wrapper">member_wrapper</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-member_wrapper_of_yojson_exn"><a href="#val-member_wrapper_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_wrapper">member_wrapper</a></code></dt></dl><dl><dt class="spec type" id="type-member_update"><a href="#type-member_update" class="anchor"></a><code><span class="keyword">type </span>member_update</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-member_update.guild_id" class="anchored"><td class="def field"><a href="#type-member_update.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-member_update.roles" class="anchored"><td class="def field"><a href="#type-member_update.roles" class="anchor"></a><code>roles : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-member_update.user" class="anchored"><td class="def field"><a href="#type-member_update.user" class="anchor"></a><code>user : <a href="../User_t/index.html#type-t">User_t.t</a>;</code></td></tr><tr id="type-member_update.nick" class="anchored"><td class="def field"><a href="#type-member_update.nick" class="anchor"></a><code>nick : string option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-member_update_of_sexp"><a href="#val-member_update_of_sexp" class="anchor"></a><code><span class="keyword">val </span>member_update_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-member_update">member_update</a></code></dt><dt class="spec value" id="val-sexp_of_member_update"><a href="#val-sexp_of_member_update" class="anchor"></a><code><span class="keyword">val </span>sexp_of_member_update : <a href="index.html#type-member_update">member_update</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-member_update_to_yojson"><a href="#val-member_update_to_yojson" class="anchor"></a><code><span class="keyword">val </span>member_update_to_yojson : <a href="index.html#type-member_update">member_update</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-member_update_of_yojson"><a href="#val-member_update_of_yojson" class="anchor"></a><code><span class="keyword">val </span>member_update_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_update">member_update</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-member_update_of_yojson_exn"><a href="#val-member_update_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>member_update_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_update">member_update</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.nick" class="anchored"><td class="def field"><a href="#type-t.nick" class="anchor"></a><code>nick : string option;</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="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-t.joined_at" class="anchored"><td class="def field"><a href="#type-t.joined_at" class="anchor"></a><code>joined_at : string;</code></td></tr><tr id="type-t.deaf" class="anchored"><td class="def field"><a href="#type-t.deaf" class="anchor"></a><code>deaf : bool;</code></td></tr><tr id="type-t.mute" class="anchored"><td class="def field"><a href="#type-t.mute" class="anchor"></a><code>mute : bool;</code></td></tr><tr id="type-t.user" class="anchored"><td class="def field"><a href="#type-t.user" class="anchor"></a><code>user : <a href="../User_t/index.html#type-t">User_t.t</a>;</code></td></tr><tr id="type-t.guild_id" class="anchored"><td class="def field"><a href="#type-t.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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-wrap"><a href="#val-wrap" class="anchor"></a><code><span class="keyword">val </span>wrap : guild_id:<a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> <a href="index.html#type-member">member</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/Message/index.html b/docs/disml/Disml/Message/index.html index 4616cd2..48909a6 100644 --- a/docs/disml/Disml/Message/index.html +++ b/docs/disml/Disml/Message/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Message (disml.Disml.Message)</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> » Message</nav><h1>Module <code>Disml.Message</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-Message_t">Message_t</a></code></span></summary><aside></aside><dl><dt class="spec type" id="type-message_update"><a href="#type-message_update" class="anchor"></a><code><span class="keyword">type </span>message_update</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-message_update.id" class="anchored"><td class="def field"><a href="#type-message_update.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-message_update.author" class="anchored"><td class="def field"><a href="#type-message_update.author" class="anchor"></a><code>author : <a href="../User_t/index.html#type-t">User_t.t</a> option;</code></td></tr><tr id="type-message_update.channel_id" class="anchored"><td class="def field"><a href="#type-message_update.channel_id" class="anchor"></a><code>channel_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-message_update.member" class="anchored"><td class="def field"><a href="#type-message_update.member" class="anchor"></a><code>member : <a href="../Member_t/index.html#type-partial_member">Member_t.partial_member</a> option;</code></td></tr><tr id="type-message_update.guild_id" class="anchored"><td class="def field"><a href="#type-message_update.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-message_update.content" class="anchored"><td class="def field"><a href="#type-message_update.content" class="anchor"></a><code>content : string option;</code></td></tr><tr id="type-message_update.timestamp" class="anchored"><td class="def field"><a href="#type-message_update.timestamp" class="anchor"></a><code>timestamp : string option;</code></td></tr><tr id="type-message_update.editedimestamp" class="anchored"><td class="def field"><a href="#type-message_update.editedimestamp" class="anchor"></a><code>editedimestamp : string option;</code></td></tr><tr id="type-message_update.tts" class="anchored"><td class="def field"><a href="#type-message_update.tts" class="anchor"></a><code>tts : bool option;</code></td></tr><tr id="type-message_update.mention_everyone" class="anchored"><td class="def field"><a href="#type-message_update.mention_everyone" class="anchor"></a><code>mention_everyone : bool option;</code></td></tr><tr id="type-message_update.mentions" class="anchored"><td class="def field"><a href="#type-message_update.mentions" class="anchor"></a><code>mentions : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-message_update.role_mentions" class="anchored"><td class="def field"><a href="#type-message_update.role_mentions" class="anchor"></a><code>role_mentions : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-message_update.attachments" class="anchored"><td class="def field"><a href="#type-message_update.attachments" class="anchor"></a><code>attachments : <a href="../Attachment/index.html#type-t">Attachment.t</a> list;</code></td></tr><tr id="type-message_update.embeds" class="anchored"><td class="def field"><a href="#type-message_update.embeds" class="anchor"></a><code>embeds : <a href="../Embed/index.html#type-t">Embed.t</a> list;</code></td></tr><tr id="type-message_update.reactions" class="anchored"><td class="def field"><a href="#type-message_update.reactions" class="anchor"></a><code>reactions : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-message_update.nonce" class="anchored"><td class="def field"><a href="#type-message_update.nonce" class="anchor"></a><code>nonce : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-message_update.pinned" class="anchored"><td class="def field"><a href="#type-message_update.pinned" class="anchor"></a><code>pinned : bool option;</code></td></tr><tr id="type-message_update.webhook_id" class="anchored"><td class="def field"><a href="#type-message_update.webhook_id" class="anchor"></a><code>webhook_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-message_update.kind" class="anchored"><td class="def field"><a href="#type-message_update.kind" class="anchor"></a><code>kind : int option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-message_update_of_sexp"><a href="#val-message_update_of_sexp" class="anchor"></a><code><span class="keyword">val </span>message_update_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-message_update">message_update</a></code></dt><dt class="spec value" id="val-sexp_of_message_update"><a href="#val-sexp_of_message_update" class="anchor"></a><code><span class="keyword">val </span>sexp_of_message_update : <a href="index.html#type-message_update">message_update</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-message_update_to_yojson"><a href="#val-message_update_to_yojson" class="anchor"></a><code><span class="keyword">val </span>message_update_to_yojson : <a href="index.html#type-message_update">message_update</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-message_update_of_yojson"><a href="#val-message_update_of_yojson" class="anchor"></a><code><span class="keyword">val </span>message_update_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-message_update">message_update</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-message_update">message_update</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-message_update">message_update</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-message_update_of_yojson_exn"><a href="#val-message_update_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>message_update_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-message_update">message_update</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-message_update">message_update</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.author" class="anchored"><td class="def field"><a href="#type-t.author" class="anchor"></a><code>author : <a href="../User_t/index.html#type-t">User_t.t</a>;</code></td></tr><tr id="type-t.channel_id" class="anchored"><td class="def field"><a href="#type-t.channel_id" class="anchor"></a><code>channel_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-t.member" class="anchored"><td class="def field"><a href="#type-t.member" class="anchor"></a><code>member : <a href="../Member_t/index.html#type-partial_member">Member_t.partial_member</a> option;</code></td></tr><tr id="type-t.guild_id" class="anchored"><td class="def field"><a href="#type-t.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-t.content" class="anchored"><td class="def field"><a href="#type-t.content" class="anchor"></a><code>content : string;</code></td></tr><tr id="type-t.timestamp" class="anchored"><td class="def field"><a href="#type-t.timestamp" class="anchor"></a><code>timestamp : string;</code></td></tr><tr id="type-t.editedimestamp" class="anchored"><td class="def field"><a href="#type-t.editedimestamp" class="anchor"></a><code>editedimestamp : string option;</code></td></tr><tr id="type-t.tts" class="anchored"><td class="def field"><a href="#type-t.tts" class="anchor"></a><code>tts : bool;</code></td></tr><tr id="type-t.mention_everyone" class="anchored"><td class="def field"><a href="#type-t.mention_everyone" class="anchor"></a><code>mention_everyone : bool;</code></td></tr><tr id="type-t.attachments" class="anchored"><td class="def field"><a href="#type-t.attachments" class="anchor"></a><code>attachments : <a href="../Attachment/index.html#type-t">Attachment.t</a> list;</code></td></tr><tr id="type-t.embeds" class="anchored"><td class="def field"><a href="#type-t.embeds" class="anchor"></a><code>embeds : <a href="../Embed/index.html#type-t">Embed.t</a> list;</code></td></tr><tr id="type-t.reactions" class="anchored"><td class="def field"><a href="#type-t.reactions" class="anchor"></a><code>reactions : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-t.nonce" class="anchored"><td class="def field"><a href="#type-t.nonce" class="anchor"></a><code>nonce : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-t.pinned" class="anchored"><td class="def field"><a href="#type-t.pinned" class="anchor"></a><code>pinned : bool;</code></td></tr><tr id="type-t.webhook_id" class="anchored"><td class="def field"><a href="#type-t.webhook_id" class="anchor"></a><code>webhook_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-t.kind" class="anchored"><td class="def field"><a href="#type-t.kind" class="anchor"></a><code>kind : int;</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></dl></details></div></div></div><dl><dt class="spec value" id="val-add_reaction"><a href="#val-add_reaction" class="anchor"></a><code><span class="keyword">val </span>add_reaction : <a href="index.html#type-t">t</a> <span>-></span> <a href="../Emoji/index.html#type-t">Emoji.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-remove_reaction"><a href="#val-remove_reaction" class="anchor"></a><code><span class="keyword">val </span>remove_reaction : <a href="index.html#type-t">t</a> <span>-></span> <a href="../Emoji/index.html#type-t">Emoji.t</a> <span>-></span> <a href="../User_t/index.html#type-t">User_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-clear_reactions"><a href="#val-clear_reactions" class="anchor"></a><code><span class="keyword">val </span>clear_reactions : <a href="index.html#type-t">t</a> <span>-></span> unit 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-pin"><a href="#val-pin" class="anchor"></a><code><span class="keyword">val </span>pin : <a href="index.html#type-t">t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-unpin"><a href="#val-unpin" class="anchor"></a><code><span class="keyword">val </span>unpin : <a href="index.html#type-t">t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-reply"><a href="#val-reply" class="anchor"></a><code><span class="keyword">val </span>reply : <a href="index.html#type-t">t</a> <span>-></span> string <span>-></span> <a href="index.html#type-t">t</a> Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-set_content"><a href="#val-set_content" class="anchor"></a><code><span class="keyword">val </span>set_content : <a href="index.html#type-t">t</a> <span>-></span> string <span>-></span> <a href="index.html#type-t">t</a> Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-set_embed"><a href="#val-set_embed" class="anchor"></a><code><span class="keyword">val </span>set_embed : <a href="index.html#type-t">t</a> <span>-></span> <a href="../Embed/index.html#type-t">Embed.t</a> <span>-></span> <a href="index.html#type-t">t</a> Async.Deferred.Or_error.t</code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Message (disml.Disml.Message)</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> » Message</nav><h1>Module <code>Disml.Message</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-Message_t">Message_t</a></code></span></summary><aside></aside><dl><dt class="spec type" id="type-message_update"><a href="#type-message_update" class="anchor"></a><code><span class="keyword">type </span>message_update</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-message_update.id" class="anchored"><td class="def field"><a href="#type-message_update.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-message_update.author" class="anchored"><td class="def field"><a href="#type-message_update.author" class="anchor"></a><code>author : <a href="../User_t/index.html#type-t">User_t.t</a> option;</code></td></tr><tr id="type-message_update.channel_id" class="anchored"><td class="def field"><a href="#type-message_update.channel_id" class="anchor"></a><code>channel_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-message_update.member" class="anchored"><td class="def field"><a href="#type-message_update.member" class="anchor"></a><code>member : <a href="../Member_t/index.html#type-partial_member">Member_t.partial_member</a> option;</code></td></tr><tr id="type-message_update.guild_id" class="anchored"><td class="def field"><a href="#type-message_update.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-message_update.content" class="anchored"><td class="def field"><a href="#type-message_update.content" class="anchor"></a><code>content : string option;</code></td></tr><tr id="type-message_update.timestamp" class="anchored"><td class="def field"><a href="#type-message_update.timestamp" class="anchor"></a><code>timestamp : string option;</code></td></tr><tr id="type-message_update.editedimestamp" class="anchored"><td class="def field"><a href="#type-message_update.editedimestamp" class="anchor"></a><code>editedimestamp : string option;</code></td></tr><tr id="type-message_update.tts" class="anchored"><td class="def field"><a href="#type-message_update.tts" class="anchor"></a><code>tts : bool option;</code></td></tr><tr id="type-message_update.mention_everyone" class="anchored"><td class="def field"><a href="#type-message_update.mention_everyone" class="anchor"></a><code>mention_everyone : bool option;</code></td></tr><tr id="type-message_update.mentions" class="anchored"><td class="def field"><a href="#type-message_update.mentions" class="anchor"></a><code>mentions : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-message_update.role_mentions" class="anchored"><td class="def field"><a href="#type-message_update.role_mentions" class="anchor"></a><code>role_mentions : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-message_update.attachments" class="anchored"><td class="def field"><a href="#type-message_update.attachments" class="anchor"></a><code>attachments : <a href="../Attachment/index.html#type-t">Attachment.t</a> list;</code></td></tr><tr id="type-message_update.embeds" class="anchored"><td class="def field"><a href="#type-message_update.embeds" class="anchor"></a><code>embeds : <a href="../Embed/index.html#type-t">Embed.t</a> list;</code></td></tr><tr id="type-message_update.reactions" class="anchored"><td class="def field"><a href="#type-message_update.reactions" class="anchor"></a><code>reactions : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-message_update.nonce" class="anchored"><td class="def field"><a href="#type-message_update.nonce" class="anchor"></a><code>nonce : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-message_update.pinned" class="anchored"><td class="def field"><a href="#type-message_update.pinned" class="anchor"></a><code>pinned : bool option;</code></td></tr><tr id="type-message_update.webhook_id" class="anchored"><td class="def field"><a href="#type-message_update.webhook_id" class="anchor"></a><code>webhook_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-message_update.kind" class="anchored"><td class="def field"><a href="#type-message_update.kind" class="anchor"></a><code>kind : int option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-message_update_of_sexp"><a href="#val-message_update_of_sexp" class="anchor"></a><code><span class="keyword">val </span>message_update_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-message_update">message_update</a></code></dt><dt class="spec value" id="val-sexp_of_message_update"><a href="#val-sexp_of_message_update" class="anchor"></a><code><span class="keyword">val </span>sexp_of_message_update : <a href="index.html#type-message_update">message_update</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-message_update_to_yojson"><a href="#val-message_update_to_yojson" class="anchor"></a><code><span class="keyword">val </span>message_update_to_yojson : <a href="index.html#type-message_update">message_update</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-message_update_of_yojson"><a href="#val-message_update_of_yojson" class="anchor"></a><code><span class="keyword">val </span>message_update_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-message_update">message_update</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-message_update_of_yojson_exn"><a href="#val-message_update_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>message_update_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-message_update">message_update</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.author" class="anchored"><td class="def field"><a href="#type-t.author" class="anchor"></a><code>author : <a href="../User_t/index.html#type-t">User_t.t</a>;</code></td></tr><tr id="type-t.channel_id" class="anchored"><td class="def field"><a href="#type-t.channel_id" class="anchor"></a><code>channel_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-t.member" class="anchored"><td class="def field"><a href="#type-t.member" class="anchor"></a><code>member : <a href="../Member_t/index.html#type-partial_member">Member_t.partial_member</a> option;</code></td></tr><tr id="type-t.guild_id" class="anchored"><td class="def field"><a href="#type-t.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-t.content" class="anchored"><td class="def field"><a href="#type-t.content" class="anchor"></a><code>content : string;</code></td></tr><tr id="type-t.timestamp" class="anchored"><td class="def field"><a href="#type-t.timestamp" class="anchor"></a><code>timestamp : string;</code></td></tr><tr id="type-t.editedimestamp" class="anchored"><td class="def field"><a href="#type-t.editedimestamp" class="anchor"></a><code>editedimestamp : string option;</code></td></tr><tr id="type-t.tts" class="anchored"><td class="def field"><a href="#type-t.tts" class="anchor"></a><code>tts : bool;</code></td></tr><tr id="type-t.mention_everyone" class="anchored"><td class="def field"><a href="#type-t.mention_everyone" class="anchor"></a><code>mention_everyone : bool;</code></td></tr><tr id="type-t.attachments" class="anchored"><td class="def field"><a href="#type-t.attachments" class="anchor"></a><code>attachments : <a href="../Attachment/index.html#type-t">Attachment.t</a> list;</code></td></tr><tr id="type-t.embeds" class="anchored"><td class="def field"><a href="#type-t.embeds" class="anchor"></a><code>embeds : <a href="../Embed/index.html#type-t">Embed.t</a> list;</code></td></tr><tr id="type-t.reactions" class="anchored"><td class="def field"><a href="#type-t.reactions" class="anchor"></a><code>reactions : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-t.nonce" class="anchored"><td class="def field"><a href="#type-t.nonce" class="anchor"></a><code>nonce : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-t.pinned" class="anchored"><td class="def field"><a href="#type-t.pinned" class="anchor"></a><code>pinned : bool;</code></td></tr><tr id="type-t.webhook_id" class="anchored"><td class="def field"><a href="#type-t.webhook_id" class="anchor"></a><code>webhook_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-t.kind" class="anchored"><td class="def field"><a href="#type-t.kind" class="anchor"></a><code>kind : int;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></dl></details></div></div></div><dl><dt class="spec value" id="val-add_reaction"><a href="#val-add_reaction" class="anchor"></a><code><span class="keyword">val </span>add_reaction : <a href="index.html#type-t">t</a> <span>-></span> <a href="../Emoji/index.html#type-t">Emoji.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-remove_reaction"><a href="#val-remove_reaction" class="anchor"></a><code><span class="keyword">val </span>remove_reaction : <a href="index.html#type-t">t</a> <span>-></span> <a href="../Emoji/index.html#type-t">Emoji.t</a> <span>-></span> <a href="../User_t/index.html#type-t">User_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-clear_reactions"><a href="#val-clear_reactions" class="anchor"></a><code><span class="keyword">val </span>clear_reactions : <a href="index.html#type-t">t</a> <span>-></span> unit 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-pin"><a href="#val-pin" class="anchor"></a><code><span class="keyword">val </span>pin : <a href="index.html#type-t">t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-unpin"><a href="#val-unpin" class="anchor"></a><code><span class="keyword">val </span>unpin : <a href="index.html#type-t">t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-reply"><a href="#val-reply" class="anchor"></a><code><span class="keyword">val </span>reply : <a href="index.html#type-t">t</a> <span>-></span> string <span>-></span> <a href="index.html#type-t">t</a> Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-reply_with"><a href="#val-reply_with" class="anchor"></a><code><span class="keyword">val </span>reply_with : ?⁠embed:<a href="../Embed/index.html#type-t">Embed.t</a> <span>-></span> ?⁠content:string <span>-></span> ?⁠file:string <span>-></span> ?⁠tts:bool <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Message_t/index.html#type-t">Message_t.t</a> Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-set_content"><a href="#val-set_content" class="anchor"></a><code><span class="keyword">val </span>set_content : <a href="index.html#type-t">t</a> <span>-></span> string <span>-></span> <a href="index.html#type-t">t</a> Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-set_embed"><a href="#val-set_embed" class="anchor"></a><code><span class="keyword">val </span>set_embed : <a href="index.html#type-t">t</a> <span>-></span> <a href="../Embed/index.html#type-t">Embed.t</a> <span>-></span> <a href="index.html#type-t">t</a> Async.Deferred.Or_error.t</code></dt></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/Message_t/index.html b/docs/disml/Disml/Message_t/index.html index c90f2fd..6481bb1 100644 --- a/docs/disml/Disml/Message_t/index.html +++ b/docs/disml/Disml/Message_t/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Message_t (disml.Disml.Message_t)</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> » Message_t</nav><h1>Module <code>Disml.Message_t</code></h1></header><dl><dt class="spec type" id="type-message_update"><a href="#type-message_update" class="anchor"></a><code><span class="keyword">type </span>message_update</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-message_update.id" class="anchored"><td class="def field"><a href="#type-message_update.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-message_update.author" class="anchored"><td class="def field"><a href="#type-message_update.author" class="anchor"></a><code>author : <a href="../User_t/index.html#type-t">User_t.t</a> option;</code></td></tr><tr id="type-message_update.channel_id" class="anchored"><td class="def field"><a href="#type-message_update.channel_id" class="anchor"></a><code>channel_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-message_update.member" class="anchored"><td class="def field"><a href="#type-message_update.member" class="anchor"></a><code>member : <a href="../Member_t/index.html#type-partial_member">Member_t.partial_member</a> option;</code></td></tr><tr id="type-message_update.guild_id" class="anchored"><td class="def field"><a href="#type-message_update.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-message_update.content" class="anchored"><td class="def field"><a href="#type-message_update.content" class="anchor"></a><code>content : string option;</code></td></tr><tr id="type-message_update.timestamp" class="anchored"><td class="def field"><a href="#type-message_update.timestamp" class="anchor"></a><code>timestamp : string option;</code></td></tr><tr id="type-message_update.editedimestamp" class="anchored"><td class="def field"><a href="#type-message_update.editedimestamp" class="anchor"></a><code>editedimestamp : string option;</code></td></tr><tr id="type-message_update.tts" class="anchored"><td class="def field"><a href="#type-message_update.tts" class="anchor"></a><code>tts : bool option;</code></td></tr><tr id="type-message_update.mention_everyone" class="anchored"><td class="def field"><a href="#type-message_update.mention_everyone" class="anchor"></a><code>mention_everyone : bool option;</code></td></tr><tr id="type-message_update.mentions" class="anchored"><td class="def field"><a href="#type-message_update.mentions" class="anchor"></a><code>mentions : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-message_update.role_mentions" class="anchored"><td class="def field"><a href="#type-message_update.role_mentions" class="anchor"></a><code>role_mentions : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-message_update.attachments" class="anchored"><td class="def field"><a href="#type-message_update.attachments" class="anchor"></a><code>attachments : <a href="../Attachment/index.html#type-t">Attachment.t</a> list;</code></td></tr><tr id="type-message_update.embeds" class="anchored"><td class="def field"><a href="#type-message_update.embeds" class="anchor"></a><code>embeds : <a href="../Embed/index.html#type-t">Embed.t</a> list;</code></td></tr><tr id="type-message_update.reactions" class="anchored"><td class="def field"><a href="#type-message_update.reactions" class="anchor"></a><code>reactions : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-message_update.nonce" class="anchored"><td class="def field"><a href="#type-message_update.nonce" class="anchor"></a><code>nonce : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-message_update.pinned" class="anchored"><td class="def field"><a href="#type-message_update.pinned" class="anchor"></a><code>pinned : bool option;</code></td></tr><tr id="type-message_update.webhook_id" class="anchored"><td class="def field"><a href="#type-message_update.webhook_id" class="anchor"></a><code>webhook_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-message_update.kind" class="anchored"><td class="def field"><a href="#type-message_update.kind" class="anchor"></a><code>kind : int option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-message_update_of_sexp"><a href="#val-message_update_of_sexp" class="anchor"></a><code><span class="keyword">val </span>message_update_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-message_update">message_update</a></code></dt><dt class="spec value" id="val-sexp_of_message_update"><a href="#val-sexp_of_message_update" class="anchor"></a><code><span class="keyword">val </span>sexp_of_message_update : <a href="index.html#type-message_update">message_update</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-message_update_to_yojson"><a href="#val-message_update_to_yojson" class="anchor"></a><code><span class="keyword">val </span>message_update_to_yojson : <a href="index.html#type-message_update">message_update</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-message_update_of_yojson"><a href="#val-message_update_of_yojson" class="anchor"></a><code><span class="keyword">val </span>message_update_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-message_update">message_update</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-message_update">message_update</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-message_update">message_update</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-message_update_of_yojson_exn"><a href="#val-message_update_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>message_update_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-message_update">message_update</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-message_update">message_update</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.author" class="anchored"><td class="def field"><a href="#type-t.author" class="anchor"></a><code>author : <a href="../User_t/index.html#type-t">User_t.t</a>;</code></td></tr><tr id="type-t.channel_id" class="anchored"><td class="def field"><a href="#type-t.channel_id" class="anchor"></a><code>channel_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-t.member" class="anchored"><td class="def field"><a href="#type-t.member" class="anchor"></a><code>member : <a href="../Member_t/index.html#type-partial_member">Member_t.partial_member</a> option;</code></td></tr><tr id="type-t.guild_id" class="anchored"><td class="def field"><a href="#type-t.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-t.content" class="anchored"><td class="def field"><a href="#type-t.content" class="anchor"></a><code>content : string;</code></td></tr><tr id="type-t.timestamp" class="anchored"><td class="def field"><a href="#type-t.timestamp" class="anchor"></a><code>timestamp : string;</code></td></tr><tr id="type-t.editedimestamp" class="anchored"><td class="def field"><a href="#type-t.editedimestamp" class="anchor"></a><code>editedimestamp : string option;</code></td></tr><tr id="type-t.tts" class="anchored"><td class="def field"><a href="#type-t.tts" class="anchor"></a><code>tts : bool;</code></td></tr><tr id="type-t.mention_everyone" class="anchored"><td class="def field"><a href="#type-t.mention_everyone" class="anchor"></a><code>mention_everyone : bool;</code></td></tr><tr id="type-t.attachments" class="anchored"><td class="def field"><a href="#type-t.attachments" class="anchor"></a><code>attachments : <a href="../Attachment/index.html#type-t">Attachment.t</a> list;</code></td></tr><tr id="type-t.embeds" class="anchored"><td class="def field"><a href="#type-t.embeds" class="anchor"></a><code>embeds : <a href="../Embed/index.html#type-t">Embed.t</a> list;</code></td></tr><tr id="type-t.reactions" class="anchored"><td class="def field"><a href="#type-t.reactions" class="anchor"></a><code>reactions : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-t.nonce" class="anchored"><td class="def field"><a href="#type-t.nonce" class="anchor"></a><code>nonce : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-t.pinned" class="anchored"><td class="def field"><a href="#type-t.pinned" class="anchor"></a><code>pinned : bool;</code></td></tr><tr id="type-t.webhook_id" class="anchored"><td class="def field"><a href="#type-t.webhook_id" class="anchor"></a><code>webhook_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-t.kind" class="anchored"><td class="def field"><a href="#type-t.kind" class="anchor"></a><code>kind : int;</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></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Message_t (disml.Disml.Message_t)</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> » Message_t</nav><h1>Module <code>Disml.Message_t</code></h1></header><dl><dt class="spec type" id="type-message_update"><a href="#type-message_update" class="anchor"></a><code><span class="keyword">type </span>message_update</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-message_update.id" class="anchored"><td class="def field"><a href="#type-message_update.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-message_update.author" class="anchored"><td class="def field"><a href="#type-message_update.author" class="anchor"></a><code>author : <a href="../User_t/index.html#type-t">User_t.t</a> option;</code></td></tr><tr id="type-message_update.channel_id" class="anchored"><td class="def field"><a href="#type-message_update.channel_id" class="anchor"></a><code>channel_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-message_update.member" class="anchored"><td class="def field"><a href="#type-message_update.member" class="anchor"></a><code>member : <a href="../Member_t/index.html#type-partial_member">Member_t.partial_member</a> option;</code></td></tr><tr id="type-message_update.guild_id" class="anchored"><td class="def field"><a href="#type-message_update.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-message_update.content" class="anchored"><td class="def field"><a href="#type-message_update.content" class="anchor"></a><code>content : string option;</code></td></tr><tr id="type-message_update.timestamp" class="anchored"><td class="def field"><a href="#type-message_update.timestamp" class="anchor"></a><code>timestamp : string option;</code></td></tr><tr id="type-message_update.editedimestamp" class="anchored"><td class="def field"><a href="#type-message_update.editedimestamp" class="anchor"></a><code>editedimestamp : string option;</code></td></tr><tr id="type-message_update.tts" class="anchored"><td class="def field"><a href="#type-message_update.tts" class="anchor"></a><code>tts : bool option;</code></td></tr><tr id="type-message_update.mention_everyone" class="anchored"><td class="def field"><a href="#type-message_update.mention_everyone" class="anchor"></a><code>mention_everyone : bool option;</code></td></tr><tr id="type-message_update.mentions" class="anchored"><td class="def field"><a href="#type-message_update.mentions" class="anchor"></a><code>mentions : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-message_update.role_mentions" class="anchored"><td class="def field"><a href="#type-message_update.role_mentions" class="anchor"></a><code>role_mentions : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-message_update.attachments" class="anchored"><td class="def field"><a href="#type-message_update.attachments" class="anchor"></a><code>attachments : <a href="../Attachment/index.html#type-t">Attachment.t</a> list;</code></td></tr><tr id="type-message_update.embeds" class="anchored"><td class="def field"><a href="#type-message_update.embeds" class="anchor"></a><code>embeds : <a href="../Embed/index.html#type-t">Embed.t</a> list;</code></td></tr><tr id="type-message_update.reactions" class="anchored"><td class="def field"><a href="#type-message_update.reactions" class="anchor"></a><code>reactions : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-message_update.nonce" class="anchored"><td class="def field"><a href="#type-message_update.nonce" class="anchor"></a><code>nonce : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-message_update.pinned" class="anchored"><td class="def field"><a href="#type-message_update.pinned" class="anchor"></a><code>pinned : bool option;</code></td></tr><tr id="type-message_update.webhook_id" class="anchored"><td class="def field"><a href="#type-message_update.webhook_id" class="anchor"></a><code>webhook_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-message_update.kind" class="anchored"><td class="def field"><a href="#type-message_update.kind" class="anchor"></a><code>kind : int option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-message_update_of_sexp"><a href="#val-message_update_of_sexp" class="anchor"></a><code><span class="keyword">val </span>message_update_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-message_update">message_update</a></code></dt><dt class="spec value" id="val-sexp_of_message_update"><a href="#val-sexp_of_message_update" class="anchor"></a><code><span class="keyword">val </span>sexp_of_message_update : <a href="index.html#type-message_update">message_update</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-message_update_to_yojson"><a href="#val-message_update_to_yojson" class="anchor"></a><code><span class="keyword">val </span>message_update_to_yojson : <a href="index.html#type-message_update">message_update</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-message_update_of_yojson"><a href="#val-message_update_of_yojson" class="anchor"></a><code><span class="keyword">val </span>message_update_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-message_update">message_update</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-message_update_of_yojson_exn"><a href="#val-message_update_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>message_update_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-message_update">message_update</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.author" class="anchored"><td class="def field"><a href="#type-t.author" class="anchor"></a><code>author : <a href="../User_t/index.html#type-t">User_t.t</a>;</code></td></tr><tr id="type-t.channel_id" class="anchored"><td class="def field"><a href="#type-t.channel_id" class="anchor"></a><code>channel_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-t.member" class="anchored"><td class="def field"><a href="#type-t.member" class="anchor"></a><code>member : <a href="../Member_t/index.html#type-partial_member">Member_t.partial_member</a> option;</code></td></tr><tr id="type-t.guild_id" class="anchored"><td class="def field"><a href="#type-t.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-t.content" class="anchored"><td class="def field"><a href="#type-t.content" class="anchor"></a><code>content : string;</code></td></tr><tr id="type-t.timestamp" class="anchored"><td class="def field"><a href="#type-t.timestamp" class="anchor"></a><code>timestamp : string;</code></td></tr><tr id="type-t.editedimestamp" class="anchored"><td class="def field"><a href="#type-t.editedimestamp" class="anchor"></a><code>editedimestamp : string option;</code></td></tr><tr id="type-t.tts" class="anchored"><td class="def field"><a href="#type-t.tts" class="anchor"></a><code>tts : bool;</code></td></tr><tr id="type-t.mention_everyone" class="anchored"><td class="def field"><a href="#type-t.mention_everyone" class="anchor"></a><code>mention_everyone : bool;</code></td></tr><tr id="type-t.attachments" class="anchored"><td class="def field"><a href="#type-t.attachments" class="anchor"></a><code>attachments : <a href="../Attachment/index.html#type-t">Attachment.t</a> list;</code></td></tr><tr id="type-t.embeds" class="anchored"><td class="def field"><a href="#type-t.embeds" class="anchor"></a><code>embeds : <a href="../Embed/index.html#type-t">Embed.t</a> list;</code></td></tr><tr id="type-t.reactions" class="anchored"><td class="def field"><a href="#type-t.reactions" class="anchor"></a><code>reactions : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-t.nonce" class="anchored"><td class="def field"><a href="#type-t.nonce" class="anchor"></a><code>nonce : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-t.pinned" class="anchored"><td class="def field"><a href="#type-t.pinned" class="anchor"></a><code>pinned : bool;</code></td></tr><tr id="type-t.webhook_id" class="anchored"><td class="def field"><a href="#type-t.webhook_id" class="anchor"></a><code>webhook_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-t.kind" class="anchored"><td class="def field"><a href="#type-t.kind" class="anchor"></a><code>kind : int;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/Opcode/index.html b/docs/disml/Disml/Opcode/index.html index d225f0a..6db3bb7 100644 --- a/docs/disml/Disml/Opcode/index.html +++ b/docs/disml/Disml/Opcode/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Opcode (disml.Disml.Opcode)</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> » Opcode</nav><h1>Module <code>Disml.Opcode</code></h1></header><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><table class="variant"><tr id="type-t.DISPATCH" class="anchored"><td class="def constructor"><a href="#type-t.DISPATCH" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">DISPATCH</span></code></td></tr><tr id="type-t.HEARTBEAT" class="anchored"><td class="def constructor"><a href="#type-t.HEARTBEAT" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">HEARTBEAT</span></code></td></tr><tr id="type-t.IDENTIFY" class="anchored"><td class="def constructor"><a href="#type-t.IDENTIFY" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">IDENTIFY</span></code></td></tr><tr id="type-t.STATUS_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.STATUS_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">STATUS_UPDATE</span></code></td></tr><tr id="type-t.VOICE_STATE_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.VOICE_STATE_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">VOICE_STATE_UPDATE</span></code></td></tr><tr id="type-t.RESUME" class="anchored"><td class="def constructor"><a href="#type-t.RESUME" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">RESUME</span></code></td></tr><tr id="type-t.RECONNECT" class="anchored"><td class="def constructor"><a href="#type-t.RECONNECT" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">RECONNECT</span></code></td></tr><tr id="type-t.REQUEST_GUILD_MEMBERS" class="anchored"><td class="def constructor"><a href="#type-t.REQUEST_GUILD_MEMBERS" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">REQUEST_GUILD_MEMBERS</span></code></td></tr><tr id="type-t.INVALID_SESSION" class="anchored"><td class="def constructor"><a href="#type-t.INVALID_SESSION" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">INVALID_SESSION</span></code></td></tr><tr id="type-t.HELLO" class="anchored"><td class="def constructor"><a href="#type-t.HELLO" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">HELLO</span></code></td></tr><tr id="type-t.HEARTBEAT_ACK" class="anchored"><td class="def constructor"><a href="#type-t.HEARTBEAT_ACK" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">HEARTBEAT_ACK</span></code></td></tr></table></dt></dl><dl><dt class="spec exception" id="exception-Invalid_Opcode"><a href="#exception-Invalid_Opcode" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">Invalid_Opcode</span><span class="keyword"> of </span>int</code></dt></dl><dl><dt class="spec value" id="val-to_int"><a href="#val-to_int" class="anchor"></a><code><span class="keyword">val </span>to_int : <a href="index.html#type-t">t</a> <span>-></span> int</code></dt><dt class="spec value" id="val-from_int"><a href="#val-from_int" class="anchor"></a><code><span class="keyword">val </span>from_int : int <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-to_string"><a href="#val-to_string" class="anchor"></a><code><span class="keyword">val </span>to_string : <a href="index.html#type-t">t</a> <span>-></span> string</code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Opcode (disml.Disml.Opcode)</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> » Opcode</nav><h1>Module <code>Disml.Opcode</code></h1></header><aside><p>Internal Opcode abstractions.</p></aside><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><table class="variant"><tr id="type-t.DISPATCH" class="anchored"><td class="def constructor"><a href="#type-t.DISPATCH" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">DISPATCH</span></code></td></tr><tr id="type-t.HEARTBEAT" class="anchored"><td class="def constructor"><a href="#type-t.HEARTBEAT" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">HEARTBEAT</span></code></td></tr><tr id="type-t.IDENTIFY" class="anchored"><td class="def constructor"><a href="#type-t.IDENTIFY" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">IDENTIFY</span></code></td></tr><tr id="type-t.STATUS_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.STATUS_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">STATUS_UPDATE</span></code></td></tr><tr id="type-t.VOICE_STATE_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.VOICE_STATE_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">VOICE_STATE_UPDATE</span></code></td></tr><tr id="type-t.RESUME" class="anchored"><td class="def constructor"><a href="#type-t.RESUME" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">RESUME</span></code></td></tr><tr id="type-t.RECONNECT" class="anchored"><td class="def constructor"><a href="#type-t.RECONNECT" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">RECONNECT</span></code></td></tr><tr id="type-t.REQUEST_GUILD_MEMBERS" class="anchored"><td class="def constructor"><a href="#type-t.REQUEST_GUILD_MEMBERS" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">REQUEST_GUILD_MEMBERS</span></code></td></tr><tr id="type-t.INVALID_SESSION" class="anchored"><td class="def constructor"><a href="#type-t.INVALID_SESSION" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">INVALID_SESSION</span></code></td></tr><tr id="type-t.HELLO" class="anchored"><td class="def constructor"><a href="#type-t.HELLO" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">HELLO</span></code></td></tr><tr id="type-t.HEARTBEAT_ACK" class="anchored"><td class="def constructor"><a href="#type-t.HEARTBEAT_ACK" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">HEARTBEAT_ACK</span></code></td></tr></table></dt><dd><p>Type of known opcodes.</p></dd></dl><dl><dt class="spec exception" id="exception-Invalid_Opcode"><a href="#exception-Invalid_Opcode" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">Invalid_Opcode</span><span class="keyword"> of </span>int</code></dt><dd><p>Raised when receiving an invalid opcode. This should never occur.</p></dd></dl><dl><dt class="spec value" id="val-to_int"><a href="#val-to_int" class="anchor"></a><code><span class="keyword">val </span>to_int : <a href="index.html#type-t">t</a> <span>-></span> int</code></dt><dd><p>Converts an opcode to its integer form for outgoing frames.</p></dd></dl><dl><dt class="spec value" id="val-from_int"><a href="#val-from_int" class="anchor"></a><code><span class="keyword">val </span>from_int : int <span>-></span> <a href="index.html#type-t">t</a></code></dt><dd><p>Converts an integer to an opcode for incoming frames. Raise <a href="index.html#exception-Invalid_Opcode"><code>Invalid_Opcode</code></a> Raised when an unkown opcode is received.</p></dd></dl><dl><dt class="spec value" id="val-to_string"><a href="#val-to_string" class="anchor"></a><code><span class="keyword">val </span>to_string : <a href="index.html#type-t">t</a> <span>-></span> string</code></dt><dd><p>Converts and opcode to a human-readable string. Used for logging purposes.</p></dd></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/Presence/index.html b/docs/disml/Disml/Presence/index.html index c521305..5a94610 100644 --- a/docs/disml/Disml/Presence/index.html +++ b/docs/disml/Disml/Presence/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Presence (disml.Disml.Presence)</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> » Presence</nav><h1>Module <code>Disml.Presence</code></h1></header><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.user" class="anchored"><td class="def field"><a href="#type-t.user" class="anchor"></a><code>user : <a href="../User_t/index.html#type-partial_user">User_t.partial_user</a>;</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="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-t.game" class="anchored"><td class="def field"><a href="#type-t.game" class="anchor"></a><code>game : <a href="../Activity/index.html#type-t">Activity.t</a> option;</code></td></tr><tr id="type-t.guild_id" class="anchored"><td class="def field"><a href="#type-t.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-t.status" class="anchored"><td class="def field"><a href="#type-t.status" class="anchor"></a><code>status : string;</code></td></tr><tr id="type-t.activities" class="anchored"><td class="def field"><a href="#type-t.activities" class="anchor"></a><code>activities : <a href="../Activity/index.html#type-t">Activity.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></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Presence (disml.Disml.Presence)</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> » Presence</nav><h1>Module <code>Disml.Presence</code></h1></header><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.user" class="anchored"><td class="def field"><a href="#type-t.user" class="anchor"></a><code>user : <a href="../User_t/index.html#type-partial_user">User_t.partial_user</a>;</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="../Snowflake/index.html#type-t">Snowflake.t</a> list;</code></td></tr><tr id="type-t.game" class="anchored"><td class="def field"><a href="#type-t.game" class="anchor"></a><code>game : <a href="../Activity/index.html#type-t">Activity.t</a> option;</code></td></tr><tr id="type-t.guild_id" class="anchored"><td class="def field"><a href="#type-t.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-t.status" class="anchored"><td class="def field"><a href="#type-t.status" class="anchor"></a><code>status : string;</code></td></tr><tr id="type-t.activities" class="anchored"><td class="def field"><a href="#type-t.activities" class="anchor"></a><code>activities : <a href="../Activity/index.html#type-t">Activity.t</a> list;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/Reaction/index.html b/docs/disml/Disml/Reaction/index.html index 38300ae..23f5ba6 100644 --- a/docs/disml/Disml/Reaction/index.html +++ b/docs/disml/Disml/Reaction/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Reaction (disml.Disml.Reaction)</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> » Reaction</nav><h1>Module <code>Disml.Reaction</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-Reaction_t">Reaction_t</a></code></span></summary><aside></aside><dl><dt class="spec type" id="type-reaction_event"><a href="#type-reaction_event" class="anchor"></a><code><span class="keyword">type </span>reaction_event</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-reaction_event.user_id" class="anchored"><td class="def field"><a href="#type-reaction_event.user_id" class="anchor"></a><code>user_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-reaction_event.channel_id" class="anchored"><td class="def field"><a href="#type-reaction_event.channel_id" class="anchor"></a><code>channel_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-reaction_event.message_id" class="anchored"><td class="def field"><a href="#type-reaction_event.message_id" class="anchor"></a><code>message_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-reaction_event.guild_id" class="anchored"><td class="def field"><a href="#type-reaction_event.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-reaction_event.emoji" class="anchored"><td class="def field"><a href="#type-reaction_event.emoji" class="anchor"></a><code>emoji : <a href="../Emoji/index.html#type-partial_emoji">Emoji.partial_emoji</a>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-reaction_event_of_sexp"><a href="#val-reaction_event_of_sexp" class="anchor"></a><code><span class="keyword">val </span>reaction_event_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-reaction_event">reaction_event</a></code></dt><dt class="spec value" id="val-sexp_of_reaction_event"><a href="#val-sexp_of_reaction_event" class="anchor"></a><code><span class="keyword">val </span>sexp_of_reaction_event : <a href="index.html#type-reaction_event">reaction_event</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-reaction_event_to_yojson"><a href="#val-reaction_event_to_yojson" class="anchor"></a><code><span class="keyword">val </span>reaction_event_to_yojson : <a href="index.html#type-reaction_event">reaction_event</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-reaction_event_of_yojson"><a href="#val-reaction_event_of_yojson" class="anchor"></a><code><span class="keyword">val </span>reaction_event_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-reaction_event">reaction_event</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-reaction_event">reaction_event</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-reaction_event">reaction_event</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-reaction_event_of_yojson_exn"><a href="#val-reaction_event_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>reaction_event_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-reaction_event">reaction_event</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-reaction_event">reaction_event</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.count" class="anchored"><td class="def field"><a href="#type-t.count" class="anchor"></a><code>count : int;</code></td></tr><tr id="type-t.emoji" class="anchored"><td class="def field"><a href="#type-t.emoji" class="anchor"></a><code>emoji : <a href="../Emoji/index.html#type-t">Emoji.t</a>;</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></dl></details></div></div></div></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Reaction (disml.Disml.Reaction)</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> » Reaction</nav><h1>Module <code>Disml.Reaction</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-Reaction_t">Reaction_t</a></code></span></summary><aside></aside><dl><dt class="spec type" id="type-reaction_event"><a href="#type-reaction_event" class="anchor"></a><code><span class="keyword">type </span>reaction_event</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-reaction_event.user_id" class="anchored"><td class="def field"><a href="#type-reaction_event.user_id" class="anchor"></a><code>user_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-reaction_event.channel_id" class="anchored"><td class="def field"><a href="#type-reaction_event.channel_id" class="anchor"></a><code>channel_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-reaction_event.message_id" class="anchored"><td class="def field"><a href="#type-reaction_event.message_id" class="anchor"></a><code>message_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-reaction_event.guild_id" class="anchored"><td class="def field"><a href="#type-reaction_event.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-reaction_event.emoji" class="anchored"><td class="def field"><a href="#type-reaction_event.emoji" class="anchor"></a><code>emoji : <a href="../Emoji/index.html#type-partial_emoji">Emoji.partial_emoji</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-reaction_event_of_sexp"><a href="#val-reaction_event_of_sexp" class="anchor"></a><code><span class="keyword">val </span>reaction_event_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-reaction_event">reaction_event</a></code></dt><dt class="spec value" id="val-sexp_of_reaction_event"><a href="#val-sexp_of_reaction_event" class="anchor"></a><code><span class="keyword">val </span>sexp_of_reaction_event : <a href="index.html#type-reaction_event">reaction_event</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-reaction_event_to_yojson"><a href="#val-reaction_event_to_yojson" class="anchor"></a><code><span class="keyword">val </span>reaction_event_to_yojson : <a href="index.html#type-reaction_event">reaction_event</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-reaction_event_of_yojson"><a href="#val-reaction_event_of_yojson" class="anchor"></a><code><span class="keyword">val </span>reaction_event_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-reaction_event">reaction_event</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-reaction_event_of_yojson_exn"><a href="#val-reaction_event_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>reaction_event_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-reaction_event">reaction_event</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.count" class="anchored"><td class="def field"><a href="#type-t.count" class="anchor"></a><code>count : int;</code></td></tr><tr id="type-t.emoji" class="anchored"><td class="def field"><a href="#type-t.emoji" class="anchor"></a><code>emoji : <a href="../Emoji/index.html#type-t">Emoji.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></dl></details></div></div></div></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/Reaction_t/index.html b/docs/disml/Disml/Reaction_t/index.html index 23e0bd2..9dea0c8 100644 --- a/docs/disml/Disml/Reaction_t/index.html +++ b/docs/disml/Disml/Reaction_t/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Reaction_t (disml.Disml.Reaction_t)</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> » Reaction_t</nav><h1>Module <code>Disml.Reaction_t</code></h1></header><dl><dt class="spec type" id="type-reaction_event"><a href="#type-reaction_event" class="anchor"></a><code><span class="keyword">type </span>reaction_event</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-reaction_event.user_id" class="anchored"><td class="def field"><a href="#type-reaction_event.user_id" class="anchor"></a><code>user_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-reaction_event.channel_id" class="anchored"><td class="def field"><a href="#type-reaction_event.channel_id" class="anchor"></a><code>channel_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-reaction_event.message_id" class="anchored"><td class="def field"><a href="#type-reaction_event.message_id" class="anchor"></a><code>message_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-reaction_event.guild_id" class="anchored"><td class="def field"><a href="#type-reaction_event.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-reaction_event.emoji" class="anchored"><td class="def field"><a href="#type-reaction_event.emoji" class="anchor"></a><code>emoji : <a href="../Emoji/index.html#type-partial_emoji">Emoji.partial_emoji</a>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-reaction_event_of_sexp"><a href="#val-reaction_event_of_sexp" class="anchor"></a><code><span class="keyword">val </span>reaction_event_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-reaction_event">reaction_event</a></code></dt><dt class="spec value" id="val-sexp_of_reaction_event"><a href="#val-sexp_of_reaction_event" class="anchor"></a><code><span class="keyword">val </span>sexp_of_reaction_event : <a href="index.html#type-reaction_event">reaction_event</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-reaction_event_to_yojson"><a href="#val-reaction_event_to_yojson" class="anchor"></a><code><span class="keyword">val </span>reaction_event_to_yojson : <a href="index.html#type-reaction_event">reaction_event</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-reaction_event_of_yojson"><a href="#val-reaction_event_of_yojson" class="anchor"></a><code><span class="keyword">val </span>reaction_event_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-reaction_event">reaction_event</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-reaction_event">reaction_event</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-reaction_event">reaction_event</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-reaction_event_of_yojson_exn"><a href="#val-reaction_event_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>reaction_event_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-reaction_event">reaction_event</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-reaction_event">reaction_event</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.count" class="anchored"><td class="def field"><a href="#type-t.count" class="anchor"></a><code>count : int;</code></td></tr><tr id="type-t.emoji" class="anchored"><td class="def field"><a href="#type-t.emoji" class="anchor"></a><code>emoji : <a href="../Emoji/index.html#type-t">Emoji.t</a>;</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></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Reaction_t (disml.Disml.Reaction_t)</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> » Reaction_t</nav><h1>Module <code>Disml.Reaction_t</code></h1></header><dl><dt class="spec type" id="type-reaction_event"><a href="#type-reaction_event" class="anchor"></a><code><span class="keyword">type </span>reaction_event</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-reaction_event.user_id" class="anchored"><td class="def field"><a href="#type-reaction_event.user_id" class="anchor"></a><code>user_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-reaction_event.channel_id" class="anchored"><td class="def field"><a href="#type-reaction_event.channel_id" class="anchor"></a><code>channel_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-reaction_event.message_id" class="anchored"><td class="def field"><a href="#type-reaction_event.message_id" class="anchor"></a><code>message_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-reaction_event.guild_id" class="anchored"><td class="def field"><a href="#type-reaction_event.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a> option;</code></td></tr><tr id="type-reaction_event.emoji" class="anchored"><td class="def field"><a href="#type-reaction_event.emoji" class="anchor"></a><code>emoji : <a href="../Emoji/index.html#type-partial_emoji">Emoji.partial_emoji</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-reaction_event_of_sexp"><a href="#val-reaction_event_of_sexp" class="anchor"></a><code><span class="keyword">val </span>reaction_event_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-reaction_event">reaction_event</a></code></dt><dt class="spec value" id="val-sexp_of_reaction_event"><a href="#val-sexp_of_reaction_event" class="anchor"></a><code><span class="keyword">val </span>sexp_of_reaction_event : <a href="index.html#type-reaction_event">reaction_event</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-reaction_event_to_yojson"><a href="#val-reaction_event_to_yojson" class="anchor"></a><code><span class="keyword">val </span>reaction_event_to_yojson : <a href="index.html#type-reaction_event">reaction_event</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-reaction_event_of_yojson"><a href="#val-reaction_event_of_yojson" class="anchor"></a><code><span class="keyword">val </span>reaction_event_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-reaction_event">reaction_event</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-reaction_event_of_yojson_exn"><a href="#val-reaction_event_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>reaction_event_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-reaction_event">reaction_event</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.count" class="anchored"><td class="def field"><a href="#type-t.count" class="anchor"></a><code>count : int;</code></td></tr><tr id="type-t.emoji" class="anchored"><td class="def field"><a href="#type-t.emoji" class="anchor"></a><code>emoji : <a href="../Emoji/index.html#type-t">Emoji.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/Rl/RouteMap/index.html b/docs/disml/Disml/Rl/RouteMap/index.html index 5a17234..4320fdb 100644 --- a/docs/disml/Disml/Rl/RouteMap/index.html +++ b/docs/disml/Disml/Rl/RouteMap/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>RouteMap (disml.Disml.Rl.RouteMap)</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> » <a href="../index.html">Rl</a> » RouteMap</nav><h1>Module <code>Rl.RouteMap</code></h1></header><div class="spec module" id="module-Key"><a href="#module-Key" class="anchor"></a><code><span class="keyword">module </span><a href="Key/index.html">Key</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="spec module" id="module-Tree"><a href="#module-Tree" class="anchor"></a><code><span class="keyword">module </span><a href="Tree/index.html">Tree</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>'a t</code><code><span class="keyword"> = </span>(<a href="Key/index.html#type-t">Key.t</a>, <span class="type-var">'a</span>, <a href="Key/index.html#type-comparator_witness">Key.comparator_witness</a>) Core_kernel__.Map_intf.Map.t</code></dt></dl><dl><dt class="spec value" id="val-compare"><a href="#val-compare" class="anchor"></a><code><span class="keyword">val </span>compare : (<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <span>-></span> Core_kernel__.Import.int) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> Core_kernel__.Import.int</code></dt><dt class="spec value" id="val-empty"><a href="#val-empty" class="anchor"></a><code><span class="keyword">val </span>empty : <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-singleton"><a href="#val-singleton" class="anchor"></a><code><span class="keyword">val </span>singleton : <a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_alist"><a href="#val-of_alist" class="anchor"></a><code><span class="keyword">val </span>of_alist : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list <span>-></span> [ `Duplicate_key of <a href="Key/index.html#type-t">Key.t</a><span class="keyword"> | </span>`Ok of <span class="type-var">'a</span> <a href="index.html#type-t">t</a> ]</code></dt><dt class="spec value" id="val-of_alist_or_error"><a href="#val-of_alist_or_error" class="anchor"></a><code><span class="keyword">val </span>of_alist_or_error : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> Base__.Or_error.t</code></dt><dt class="spec value" id="val-of_alist_exn"><a href="#val-of_alist_exn" class="anchor"></a><code><span class="keyword">val </span>of_alist_exn : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_alist_multi"><a href="#val-of_alist_multi" class="anchor"></a><code><span class="keyword">val </span>of_alist_multi : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list <span>-></span> <span class="type-var">'a</span> list <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_alist_fold"><a href="#val-of_alist_fold" class="anchor"></a><code><span class="keyword">val </span>of_alist_fold : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list <span>-></span> init:<span class="type-var">'b</span> <span>-></span> f:(<span class="type-var">'b</span> <span>-></span> <span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span>) <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_alist_reduce"><a href="#val-of_alist_reduce" class="anchor"></a><code><span class="keyword">val </span>of_alist_reduce : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span>) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_sorted_array"><a href="#val-of_sorted_array" class="anchor"></a><code><span class="keyword">val </span>of_sorted_array : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) array <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> Base__.Or_error.t</code></dt><dt class="spec value" id="val-of_sorted_array_unchecked"><a href="#val-of_sorted_array_unchecked" class="anchor"></a><code><span class="keyword">val </span>of_sorted_array_unchecked : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) array <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_increasing_iterator_unchecked"><a href="#val-of_increasing_iterator_unchecked" class="anchor"></a><code><span class="keyword">val </span>of_increasing_iterator_unchecked : len:int <span>-></span> f:(int <span>-></span> <a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_increasing_sequence"><a href="#val-of_increasing_sequence" class="anchor"></a><code><span class="keyword">val </span>of_increasing_sequence : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) Base__.Sequence.t <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> Base__.Or_error.t</code></dt><dt class="spec value" id="val-of_iteri"><a href="#val-of_iteri" class="anchor"></a><code><span class="keyword">val </span>of_iteri : iteri:(f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'v</span> <span>-></span> unit) <span>-></span> unit) <span>-></span> [ `Duplicate_key of <a href="Key/index.html#type-t">Key.t</a><span class="keyword"> | </span>`Ok of <span class="type-var">'v</span> <a href="index.html#type-t">t</a> ]</code></dt><dt class="spec value" id="val-of_tree"><a href="#val-of_tree" class="anchor"></a><code><span class="keyword">val </span>of_tree : <span class="type-var">'a</span> <a href="Tree/index.html#type-t">Tree.t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_hashtbl_exn"><a href="#val-of_hashtbl_exn" class="anchor"></a><code><span class="keyword">val </span>of_hashtbl_exn : (<a href="Key/index.html#type-t">Key.t</a>, <span class="type-var">'a</span>) Core_kernel__.Hashtbl.t <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-gen"><a href="#val-gen" class="anchor"></a><code><span class="keyword">val </span>gen : <a href="Key/index.html#type-t">Key.t</a> Core_kernel__.Quickcheck.Generator.t <span>-></span> <span class="type-var">'a</span> Core_kernel__.Quickcheck.Generator.t <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> Core_kernel__.Quickcheck.Generator.t</code></dt><dt class="spec value" id="val-invariants"><a href="#val-invariants" class="anchor"></a><code><span class="keyword">val </span>invariants : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> bool</code></dt><dt class="spec value" id="val-is_empty"><a href="#val-is_empty" class="anchor"></a><code><span class="keyword">val </span>is_empty : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> bool</code></dt><dt class="spec value" id="val-length"><a href="#val-length" class="anchor"></a><code><span class="keyword">val </span>length : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> int</code></dt><dt class="spec value" id="val-add"><a href="#val-add" class="anchor"></a><code><span class="keyword">val </span>add : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> Base__.Map_intf.Or_duplicate.t</code></dt><dt class="spec value" id="val-add_exn"><a href="#val-add_exn" class="anchor"></a><code><span class="keyword">val </span>add_exn : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-set"><a href="#val-set" class="anchor"></a><code><span class="keyword">val </span>set : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-add_multi"><a href="#val-add_multi" class="anchor"></a><code><span class="keyword">val </span>add_multi : <span class="type-var">'a</span> list <a href="index.html#type-t">t</a> <span>-></span> key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> list <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-remove_multi"><a href="#val-remove_multi" class="anchor"></a><code><span class="keyword">val </span>remove_multi : <span class="type-var">'a</span> list <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span> list <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-find_multi"><a href="#val-find_multi" class="anchor"></a><code><span class="keyword">val </span>find_multi : <span class="type-var">'a</span> list <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span> list</code></dt><dt class="spec value" id="val-change"><a href="#val-change" class="anchor"></a><code><span class="keyword">val </span>change : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> f:(<span class="type-var">'a</span> option <span>-></span> <span class="type-var">'a</span> option) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-update"><a href="#val-update" class="anchor"></a><code><span class="keyword">val </span>update : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> f:(<span class="type-var">'a</span> option <span>-></span> <span class="type-var">'a</span>) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-find"><a href="#val-find" class="anchor"></a><code><span class="keyword">val </span>find : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span> option</code></dt><dt class="spec value" id="val-find_exn"><a href="#val-find_exn" class="anchor"></a><code><span class="keyword">val </span>find_exn : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span></code></dt><dt class="spec value" id="val-remove"><a href="#val-remove" class="anchor"></a><code><span class="keyword">val </span>remove : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-mem"><a href="#val-mem" class="anchor"></a><code><span class="keyword">val </span>mem : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> bool</code></dt><dt class="spec value" id="val-iter_keys"><a href="#val-iter_keys" class="anchor"></a><code><span class="keyword">val </span>iter_keys : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<a href="Key/index.html#type-t">Key.t</a> <span>-></span> unit) <span>-></span> unit</code></dt><dt class="spec value" id="val-iter"><a href="#val-iter" class="anchor"></a><code><span class="keyword">val </span>iter : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> unit) <span>-></span> unit</code></dt><dt class="spec value" id="val-iteri"><a href="#val-iteri" class="anchor"></a><code><span class="keyword">val </span>iteri : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> unit) <span>-></span> unit</code></dt><dt class="spec value" id="val-iter2"><a href="#val-iter2" class="anchor"></a><code><span class="keyword">val </span>iter2 : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:[ `Both of <span class="type-var">'a</span><span class="keyword"> * </span><span class="type-var">'b</span><span class="keyword"> | </span>`Left of <span class="type-var">'a</span><span class="keyword"> | </span>`Right of <span class="type-var">'b</span> ] <span>-></span> unit) <span>-></span> unit</code></dt><dt class="spec value" id="val-map"><a href="#val-map" class="anchor"></a><code><span class="keyword">val </span>map : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span>) <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-mapi"><a href="#val-mapi" class="anchor"></a><code><span class="keyword">val </span>mapi : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span>) <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-fold"><a href="#val-fold" class="anchor"></a><code><span class="keyword">val </span>fold : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> init:<span class="type-var">'b</span> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span> <span>-></span> <span class="type-var">'b</span>) <span>-></span> <span class="type-var">'b</span></code></dt><dt class="spec value" id="val-fold_right"><a href="#val-fold_right" class="anchor"></a><code><span class="keyword">val </span>fold_right : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> init:<span class="type-var">'b</span> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span> <span>-></span> <span class="type-var">'b</span>) <span>-></span> <span class="type-var">'b</span></code></dt><dt class="spec value" id="val-fold2"><a href="#val-fold2" class="anchor"></a><code><span class="keyword">val </span>fold2 : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a> <span>-></span> init:<span class="type-var">'c</span> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:[ `Both of <span class="type-var">'a</span><span class="keyword"> * </span><span class="type-var">'b</span><span class="keyword"> | </span>`Left of <span class="type-var">'a</span><span class="keyword"> | </span>`Right of <span class="type-var">'b</span> ] <span>-></span> <span class="type-var">'c</span> <span>-></span> <span class="type-var">'c</span>) <span>-></span> <span class="type-var">'c</span></code></dt><dt class="spec value" id="val-filter_keys"><a href="#val-filter_keys" class="anchor"></a><code><span class="keyword">val </span>filter_keys : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<a href="Key/index.html#type-t">Key.t</a> <span>-></span> bool) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-filter"><a href="#val-filter" class="anchor"></a><code><span class="keyword">val </span>filter : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-filteri"><a href="#val-filteri" class="anchor"></a><code><span class="keyword">val </span>filteri : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-filter_map"><a href="#val-filter_map" class="anchor"></a><code><span class="keyword">val </span>filter_map : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span> option) <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-filter_mapi"><a href="#val-filter_mapi" class="anchor"></a><code><span class="keyword">val </span>filter_mapi : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span> option) <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-partition_mapi"><a href="#val-partition_mapi" class="anchor"></a><code><span class="keyword">val </span>partition_mapi : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> [ `Fst of <span class="type-var">'b</span><span class="keyword"> | </span>`Snd of <span class="type-var">'c</span> ]) <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a><span class="keyword"> * </span><span class="type-var">'c</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-partition_map"><a href="#val-partition_map" class="anchor"></a><code><span class="keyword">val </span>partition_map : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> [ `Fst of <span class="type-var">'b</span><span class="keyword"> | </span>`Snd of <span class="type-var">'c</span> ]) <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a><span class="keyword"> * </span><span class="type-var">'c</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-partitioni_tf"><a href="#val-partitioni_tf" class="anchor"></a><code><span class="keyword">val </span>partitioni_tf : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a><span class="keyword"> * </span><span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-partition_tf"><a href="#val-partition_tf" class="anchor"></a><code><span class="keyword">val </span>partition_tf : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a><span class="keyword"> * </span><span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-compare_direct"><a href="#val-compare_direct" class="anchor"></a><code><span class="keyword">val </span>compare_direct : (<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <span>-></span> int) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> int</code></dt><dt class="spec value" id="val-equal"><a href="#val-equal" class="anchor"></a><code><span class="keyword">val </span>equal : (<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <span>-></span> bool) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> bool</code></dt><dt class="spec value" id="val-keys"><a href="#val-keys" class="anchor"></a><code><span class="keyword">val </span>keys : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> list</code></dt><dt class="spec value" id="val-data"><a href="#val-data" class="anchor"></a><code><span class="keyword">val </span>data : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'a</span> list</code></dt><dt class="spec value" id="val-to_alist"><a href="#val-to_alist" class="anchor"></a><code><span class="keyword">val </span>to_alist : ?⁠key_order:[ `Decreasing<span class="keyword"> | </span>`Increasing ] <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list</code></dt><dt class="spec value" id="val-validate"><a href="#val-validate" class="anchor"></a><code><span class="keyword">val </span>validate : name:(<a href="Key/index.html#type-t">Key.t</a> <span>-></span> string) <span>-></span> <span class="type-var">'a</span> Base__.Validate.check <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> Base__.Validate.check</code></dt><dt class="spec value" id="val-merge"><a href="#val-merge" class="anchor"></a><code><span class="keyword">val </span>merge : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> [ `Both of <span class="type-var">'a</span><span class="keyword"> * </span><span class="type-var">'b</span><span class="keyword"> | </span>`Left of <span class="type-var">'a</span><span class="keyword"> | </span>`Right of <span class="type-var">'b</span> ] <span>-></span> <span class="type-var">'c</span> option) <span>-></span> <span class="type-var">'c</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-symmetric_diff"><a href="#val-symmetric_diff" class="anchor"></a><code><span class="keyword">val </span>symmetric_diff : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> data_equal:(<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <span>-></span> bool) <span>-></span> (<a href="Key/index.html#type-t">Key.t</a>, <span class="type-var">'a</span>) Base__.Map_intf.Symmetric_diff_element.t Base__.Sequence.t</code></dt><dt class="spec value" id="val-min_elt"><a href="#val-min_elt" class="anchor"></a><code><span class="keyword">val </span>min_elt : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) option</code></dt><dt class="spec value" id="val-min_elt_exn"><a href="#val-min_elt_exn" class="anchor"></a><code><span class="keyword">val </span>min_elt_exn : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span></code></dt><dt class="spec value" id="val-max_elt"><a href="#val-max_elt" class="anchor"></a><code><span class="keyword">val </span>max_elt : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) option</code></dt><dt class="spec value" id="val-max_elt_exn"><a href="#val-max_elt_exn" class="anchor"></a><code><span class="keyword">val </span>max_elt_exn : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span></code></dt><dt class="spec value" id="val-for_all"><a href="#val-for_all" class="anchor"></a><code><span class="keyword">val </span>for_all : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> bool</code></dt><dt class="spec value" id="val-for_alli"><a href="#val-for_alli" class="anchor"></a><code><span class="keyword">val </span>for_alli : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> bool</code></dt><dt class="spec value" id="val-exists"><a href="#val-exists" class="anchor"></a><code><span class="keyword">val </span>exists : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> bool</code></dt><dt class="spec value" id="val-existsi"><a href="#val-existsi" class="anchor"></a><code><span class="keyword">val </span>existsi : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> bool</code></dt><dt class="spec value" id="val-count"><a href="#val-count" class="anchor"></a><code><span class="keyword">val </span>count : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> int</code></dt><dt class="spec value" id="val-counti"><a href="#val-counti" class="anchor"></a><code><span class="keyword">val </span>counti : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> int</code></dt><dt class="spec value" id="val-split"><a href="#val-split" class="anchor"></a><code><span class="keyword">val </span>split : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a><span class="keyword"> * </span>(<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) option<span class="keyword"> * </span><span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-append"><a href="#val-append" class="anchor"></a><code><span class="keyword">val </span>append : lower_part:<span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> upper_part:<span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> [ `Ok of <span class="type-var">'a</span> <a href="index.html#type-t">t</a><span class="keyword"> | </span>`Overlapping_key_ranges ]</code></dt><dt class="spec value" id="val-subrange"><a href="#val-subrange" class="anchor"></a><code><span class="keyword">val </span>subrange : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> lower_bound:<a href="Key/index.html#type-t">Key.t</a> Base__.Maybe_bound.t <span>-></span> upper_bound:<a href="Key/index.html#type-t">Key.t</a> Base__.Maybe_bound.t <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-fold_range_inclusive"><a href="#val-fold_range_inclusive" class="anchor"></a><code><span class="keyword">val </span>fold_range_inclusive : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> min:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> max:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> init:<span class="type-var">'b</span> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span> <span>-></span> <span class="type-var">'b</span>) <span>-></span> <span class="type-var">'b</span></code></dt><dt class="spec value" id="val-range_to_alist"><a href="#val-range_to_alist" class="anchor"></a><code><span class="keyword">val </span>range_to_alist : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> min:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> max:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list</code></dt><dt class="spec value" id="val-closest_key"><a href="#val-closest_key" class="anchor"></a><code><span class="keyword">val </span>closest_key : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> [ `Greater_or_equal_to<span class="keyword"> | </span>`Greater_than<span class="keyword"> | </span>`Less_or_equal_to<span class="keyword"> | </span>`Less_than ] <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) option</code></dt><dt class="spec value" id="val-nth"><a href="#val-nth" class="anchor"></a><code><span class="keyword">val </span>nth : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> int <span>-></span> (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) option</code></dt><dt class="spec value" id="val-nth_exn"><a href="#val-nth_exn" class="anchor"></a><code><span class="keyword">val </span>nth_exn : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> int <span>-></span> <a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span></code></dt><dt class="spec value" id="val-rank"><a href="#val-rank" class="anchor"></a><code><span class="keyword">val </span>rank : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> int option</code></dt><dt class="spec value" id="val-to_tree"><a href="#val-to_tree" class="anchor"></a><code><span class="keyword">val </span>to_tree : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'a</span> <a href="Tree/index.html#type-t">Tree.t</a></code></dt><dt class="spec value" id="val-to_sequence"><a href="#val-to_sequence" class="anchor"></a><code><span class="keyword">val </span>to_sequence : ?⁠order:[ `Decreasing_key<span class="keyword"> | </span>`Increasing_key ] <span>-></span> ?⁠keys_greater_or_equal_to:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> ?⁠keys_less_or_equal_to:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) Base__.Sequence.t</code></dt><dt class="spec value" id="val-obs"><a href="#val-obs" class="anchor"></a><code><span class="keyword">val </span>obs : <a href="Key/index.html#type-t">Key.t</a> Core_kernel__.Quickcheck.Observer.t <span>-></span> <span class="type-var">'v</span> Core_kernel__.Quickcheck.Observer.t <span>-></span> <span class="type-var">'v</span> <a href="index.html#type-t">t</a> Core_kernel__.Quickcheck.Observer.t</code></dt><dt class="spec value" id="val-shrinker"><a href="#val-shrinker" class="anchor"></a><code><span class="keyword">val </span>shrinker : <a href="Key/index.html#type-t">Key.t</a> Core_kernel__.Quickcheck.Shrinker.t <span>-></span> <span class="type-var">'v</span> Core_kernel__.Quickcheck.Shrinker.t <span>-></span> <span class="type-var">'v</span> <a href="index.html#type-t">t</a> Core_kernel__.Quickcheck.Shrinker.t</code></dt></dl><div class="spec module" id="module-Provide_of_sexp"><a href="#module-Provide_of_sexp" class="anchor"></a><code><span class="keyword">module </span><a href="Provide_of_sexp/index.html">Provide_of_sexp</a> : <span class="keyword">functor</span> (<a href="Provide_of_sexp/argument-1-Key/index.html">Key</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span>) <span>-></span> <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="spec module" id="module-Provide_bin_io"><a href="#module-Provide_bin_io" class="anchor"></a><code><span class="keyword">module </span><a href="Provide_bin_io/index.html">Provide_bin_io</a> : <span class="keyword">functor</span> (<a href="Provide_bin_io/argument-1-Key/index.html">Key</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span>) <span>-></span> <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="spec module" id="module-Provide_hash"><a href="#module-Provide_hash" class="anchor"></a><code><span class="keyword">module </span><a href="Provide_hash/index.html">Provide_hash</a> : <span class="keyword">functor</span> (<a href="Provide_hash/argument-1-Key/index.html">Key</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span>) <span>-></span> <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><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 : (Base__.Ppx_sexp_conv_lib.Sexp.t <span>-></span> <span class="type-var">'a</span>) <span>-></span> Base__.Ppx_sexp_conv_lib.Sexp.t <span>-></span> <span class="type-var">'a</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 : (<span class="type-var">'a</span> <span>-></span> Base__.Ppx_sexp_conv_lib.Sexp.t) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> Base__.Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>RouteMap (disml.Disml.Rl.RouteMap)</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> » <a href="../index.html">Rl</a> » RouteMap</nav><h1>Module <code>Rl.RouteMap</code></h1><p>Type for mapping route -> <a href="../index.html#type-rl"><code>rl</code></a>.</p></header><div class="spec module" id="module-Key"><a href="#module-Key" class="anchor"></a><code><span class="keyword">module </span><a href="Key/index.html">Key</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="spec module" id="module-Tree"><a href="#module-Tree" class="anchor"></a><code><span class="keyword">module </span><a href="Tree/index.html">Tree</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>'a t</code><code><span class="keyword"> = </span>(<a href="Key/index.html#type-t">Key.t</a>, <span class="type-var">'a</span>, <a href="Key/index.html#type-comparator_witness">Key.comparator_witness</a>) Core_kernel__.Map_intf.Map.t</code></dt></dl><dl><dt class="spec value" id="val-compare"><a href="#val-compare" class="anchor"></a><code><span class="keyword">val </span>compare : (<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <span>-></span> Core_kernel__.Import.int) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> Core_kernel__.Import.int</code></dt><dt class="spec value" id="val-empty"><a href="#val-empty" class="anchor"></a><code><span class="keyword">val </span>empty : <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-singleton"><a href="#val-singleton" class="anchor"></a><code><span class="keyword">val </span>singleton : <a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_alist"><a href="#val-of_alist" class="anchor"></a><code><span class="keyword">val </span>of_alist : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list <span>-></span> [ `Duplicate_key of <a href="Key/index.html#type-t">Key.t</a><span class="keyword"> | </span>`Ok of <span class="type-var">'a</span> <a href="index.html#type-t">t</a> ]</code></dt><dt class="spec value" id="val-of_alist_or_error"><a href="#val-of_alist_or_error" class="anchor"></a><code><span class="keyword">val </span>of_alist_or_error : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> Base__.Or_error.t</code></dt><dt class="spec value" id="val-of_alist_exn"><a href="#val-of_alist_exn" class="anchor"></a><code><span class="keyword">val </span>of_alist_exn : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_alist_multi"><a href="#val-of_alist_multi" class="anchor"></a><code><span class="keyword">val </span>of_alist_multi : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list <span>-></span> <span class="type-var">'a</span> list <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_alist_fold"><a href="#val-of_alist_fold" class="anchor"></a><code><span class="keyword">val </span>of_alist_fold : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list <span>-></span> init:<span class="type-var">'b</span> <span>-></span> f:(<span class="type-var">'b</span> <span>-></span> <span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span>) <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_alist_reduce"><a href="#val-of_alist_reduce" class="anchor"></a><code><span class="keyword">val </span>of_alist_reduce : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span>) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_sorted_array"><a href="#val-of_sorted_array" class="anchor"></a><code><span class="keyword">val </span>of_sorted_array : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) array <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> Base__.Or_error.t</code></dt><dt class="spec value" id="val-of_sorted_array_unchecked"><a href="#val-of_sorted_array_unchecked" class="anchor"></a><code><span class="keyword">val </span>of_sorted_array_unchecked : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) array <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_increasing_iterator_unchecked"><a href="#val-of_increasing_iterator_unchecked" class="anchor"></a><code><span class="keyword">val </span>of_increasing_iterator_unchecked : len:int <span>-></span> f:(int <span>-></span> <a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_increasing_sequence"><a href="#val-of_increasing_sequence" class="anchor"></a><code><span class="keyword">val </span>of_increasing_sequence : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) Base__.Sequence.t <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> Base__.Or_error.t</code></dt><dt class="spec value" id="val-of_iteri"><a href="#val-of_iteri" class="anchor"></a><code><span class="keyword">val </span>of_iteri : iteri:(f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'v</span> <span>-></span> unit) <span>-></span> unit) <span>-></span> [ `Duplicate_key of <a href="Key/index.html#type-t">Key.t</a><span class="keyword"> | </span>`Ok of <span class="type-var">'v</span> <a href="index.html#type-t">t</a> ]</code></dt><dt class="spec value" id="val-of_tree"><a href="#val-of_tree" class="anchor"></a><code><span class="keyword">val </span>of_tree : <span class="type-var">'a</span> <a href="Tree/index.html#type-t">Tree.t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_hashtbl_exn"><a href="#val-of_hashtbl_exn" class="anchor"></a><code><span class="keyword">val </span>of_hashtbl_exn : (<a href="Key/index.html#type-t">Key.t</a>, <span class="type-var">'a</span>) Core_kernel__.Hashtbl.t <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-gen"><a href="#val-gen" class="anchor"></a><code><span class="keyword">val </span>gen : <a href="Key/index.html#type-t">Key.t</a> Core_kernel__.Quickcheck.Generator.t <span>-></span> <span class="type-var">'a</span> Core_kernel__.Quickcheck.Generator.t <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> Core_kernel__.Quickcheck.Generator.t</code></dt><dt class="spec value" id="val-invariants"><a href="#val-invariants" class="anchor"></a><code><span class="keyword">val </span>invariants : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> bool</code></dt><dt class="spec value" id="val-is_empty"><a href="#val-is_empty" class="anchor"></a><code><span class="keyword">val </span>is_empty : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> bool</code></dt><dt class="spec value" id="val-length"><a href="#val-length" class="anchor"></a><code><span class="keyword">val </span>length : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> int</code></dt><dt class="spec value" id="val-add"><a href="#val-add" class="anchor"></a><code><span class="keyword">val </span>add : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> Base__.Map_intf.Or_duplicate.t</code></dt><dt class="spec value" id="val-add_exn"><a href="#val-add_exn" class="anchor"></a><code><span class="keyword">val </span>add_exn : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-set"><a href="#val-set" class="anchor"></a><code><span class="keyword">val </span>set : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-add_multi"><a href="#val-add_multi" class="anchor"></a><code><span class="keyword">val </span>add_multi : <span class="type-var">'a</span> list <a href="index.html#type-t">t</a> <span>-></span> key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> list <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-remove_multi"><a href="#val-remove_multi" class="anchor"></a><code><span class="keyword">val </span>remove_multi : <span class="type-var">'a</span> list <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span> list <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-find_multi"><a href="#val-find_multi" class="anchor"></a><code><span class="keyword">val </span>find_multi : <span class="type-var">'a</span> list <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span> list</code></dt><dt class="spec value" id="val-change"><a href="#val-change" class="anchor"></a><code><span class="keyword">val </span>change : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> f:(<span class="type-var">'a</span> option <span>-></span> <span class="type-var">'a</span> option) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-update"><a href="#val-update" class="anchor"></a><code><span class="keyword">val </span>update : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> f:(<span class="type-var">'a</span> option <span>-></span> <span class="type-var">'a</span>) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-find"><a href="#val-find" class="anchor"></a><code><span class="keyword">val </span>find : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span> option</code></dt><dt class="spec value" id="val-find_exn"><a href="#val-find_exn" class="anchor"></a><code><span class="keyword">val </span>find_exn : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span></code></dt><dt class="spec value" id="val-remove"><a href="#val-remove" class="anchor"></a><code><span class="keyword">val </span>remove : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-mem"><a href="#val-mem" class="anchor"></a><code><span class="keyword">val </span>mem : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> bool</code></dt><dt class="spec value" id="val-iter_keys"><a href="#val-iter_keys" class="anchor"></a><code><span class="keyword">val </span>iter_keys : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<a href="Key/index.html#type-t">Key.t</a> <span>-></span> unit) <span>-></span> unit</code></dt><dt class="spec value" id="val-iter"><a href="#val-iter" class="anchor"></a><code><span class="keyword">val </span>iter : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> unit) <span>-></span> unit</code></dt><dt class="spec value" id="val-iteri"><a href="#val-iteri" class="anchor"></a><code><span class="keyword">val </span>iteri : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> unit) <span>-></span> unit</code></dt><dt class="spec value" id="val-iter2"><a href="#val-iter2" class="anchor"></a><code><span class="keyword">val </span>iter2 : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:[ `Both of <span class="type-var">'a</span><span class="keyword"> * </span><span class="type-var">'b</span><span class="keyword"> | </span>`Left of <span class="type-var">'a</span><span class="keyword"> | </span>`Right of <span class="type-var">'b</span> ] <span>-></span> unit) <span>-></span> unit</code></dt><dt class="spec value" id="val-map"><a href="#val-map" class="anchor"></a><code><span class="keyword">val </span>map : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span>) <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-mapi"><a href="#val-mapi" class="anchor"></a><code><span class="keyword">val </span>mapi : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span>) <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-fold"><a href="#val-fold" class="anchor"></a><code><span class="keyword">val </span>fold : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> init:<span class="type-var">'b</span> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span> <span>-></span> <span class="type-var">'b</span>) <span>-></span> <span class="type-var">'b</span></code></dt><dt class="spec value" id="val-fold_right"><a href="#val-fold_right" class="anchor"></a><code><span class="keyword">val </span>fold_right : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> init:<span class="type-var">'b</span> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span> <span>-></span> <span class="type-var">'b</span>) <span>-></span> <span class="type-var">'b</span></code></dt><dt class="spec value" id="val-fold2"><a href="#val-fold2" class="anchor"></a><code><span class="keyword">val </span>fold2 : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a> <span>-></span> init:<span class="type-var">'c</span> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:[ `Both of <span class="type-var">'a</span><span class="keyword"> * </span><span class="type-var">'b</span><span class="keyword"> | </span>`Left of <span class="type-var">'a</span><span class="keyword"> | </span>`Right of <span class="type-var">'b</span> ] <span>-></span> <span class="type-var">'c</span> <span>-></span> <span class="type-var">'c</span>) <span>-></span> <span class="type-var">'c</span></code></dt><dt class="spec value" id="val-filter_keys"><a href="#val-filter_keys" class="anchor"></a><code><span class="keyword">val </span>filter_keys : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<a href="Key/index.html#type-t">Key.t</a> <span>-></span> bool) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-filter"><a href="#val-filter" class="anchor"></a><code><span class="keyword">val </span>filter : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-filteri"><a href="#val-filteri" class="anchor"></a><code><span class="keyword">val </span>filteri : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-filter_map"><a href="#val-filter_map" class="anchor"></a><code><span class="keyword">val </span>filter_map : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span> option) <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-filter_mapi"><a href="#val-filter_mapi" class="anchor"></a><code><span class="keyword">val </span>filter_mapi : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span> option) <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-partition_mapi"><a href="#val-partition_mapi" class="anchor"></a><code><span class="keyword">val </span>partition_mapi : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> [ `Fst of <span class="type-var">'b</span><span class="keyword"> | </span>`Snd of <span class="type-var">'c</span> ]) <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a><span class="keyword"> * </span><span class="type-var">'c</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-partition_map"><a href="#val-partition_map" class="anchor"></a><code><span class="keyword">val </span>partition_map : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> [ `Fst of <span class="type-var">'b</span><span class="keyword"> | </span>`Snd of <span class="type-var">'c</span> ]) <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a><span class="keyword"> * </span><span class="type-var">'c</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-partitioni_tf"><a href="#val-partitioni_tf" class="anchor"></a><code><span class="keyword">val </span>partitioni_tf : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a><span class="keyword"> * </span><span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-partition_tf"><a href="#val-partition_tf" class="anchor"></a><code><span class="keyword">val </span>partition_tf : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a><span class="keyword"> * </span><span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-compare_direct"><a href="#val-compare_direct" class="anchor"></a><code><span class="keyword">val </span>compare_direct : (<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <span>-></span> int) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> int</code></dt><dt class="spec value" id="val-equal"><a href="#val-equal" class="anchor"></a><code><span class="keyword">val </span>equal : (<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <span>-></span> bool) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> bool</code></dt><dt class="spec value" id="val-keys"><a href="#val-keys" class="anchor"></a><code><span class="keyword">val </span>keys : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> list</code></dt><dt class="spec value" id="val-data"><a href="#val-data" class="anchor"></a><code><span class="keyword">val </span>data : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'a</span> list</code></dt><dt class="spec value" id="val-to_alist"><a href="#val-to_alist" class="anchor"></a><code><span class="keyword">val </span>to_alist : ?⁠key_order:[ `Decreasing<span class="keyword"> | </span>`Increasing ] <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list</code></dt><dt class="spec value" id="val-validate"><a href="#val-validate" class="anchor"></a><code><span class="keyword">val </span>validate : name:(<a href="Key/index.html#type-t">Key.t</a> <span>-></span> string) <span>-></span> <span class="type-var">'a</span> Base__.Validate.check <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> Base__.Validate.check</code></dt><dt class="spec value" id="val-merge"><a href="#val-merge" class="anchor"></a><code><span class="keyword">val </span>merge : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> [ `Both of <span class="type-var">'a</span><span class="keyword"> * </span><span class="type-var">'b</span><span class="keyword"> | </span>`Left of <span class="type-var">'a</span><span class="keyword"> | </span>`Right of <span class="type-var">'b</span> ] <span>-></span> <span class="type-var">'c</span> option) <span>-></span> <span class="type-var">'c</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-symmetric_diff"><a href="#val-symmetric_diff" class="anchor"></a><code><span class="keyword">val </span>symmetric_diff : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> data_equal:(<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <span>-></span> bool) <span>-></span> (<a href="Key/index.html#type-t">Key.t</a>, <span class="type-var">'a</span>) Base__.Map_intf.Symmetric_diff_element.t Base__.Sequence.t</code></dt><dt class="spec value" id="val-min_elt"><a href="#val-min_elt" class="anchor"></a><code><span class="keyword">val </span>min_elt : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) option</code></dt><dt class="spec value" id="val-min_elt_exn"><a href="#val-min_elt_exn" class="anchor"></a><code><span class="keyword">val </span>min_elt_exn : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span></code></dt><dt class="spec value" id="val-max_elt"><a href="#val-max_elt" class="anchor"></a><code><span class="keyword">val </span>max_elt : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) option</code></dt><dt class="spec value" id="val-max_elt_exn"><a href="#val-max_elt_exn" class="anchor"></a><code><span class="keyword">val </span>max_elt_exn : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span></code></dt><dt class="spec value" id="val-for_all"><a href="#val-for_all" class="anchor"></a><code><span class="keyword">val </span>for_all : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> bool</code></dt><dt class="spec value" id="val-for_alli"><a href="#val-for_alli" class="anchor"></a><code><span class="keyword">val </span>for_alli : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> bool</code></dt><dt class="spec value" id="val-exists"><a href="#val-exists" class="anchor"></a><code><span class="keyword">val </span>exists : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> bool</code></dt><dt class="spec value" id="val-existsi"><a href="#val-existsi" class="anchor"></a><code><span class="keyword">val </span>existsi : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> bool</code></dt><dt class="spec value" id="val-count"><a href="#val-count" class="anchor"></a><code><span class="keyword">val </span>count : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> int</code></dt><dt class="spec value" id="val-counti"><a href="#val-counti" class="anchor"></a><code><span class="keyword">val </span>counti : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> int</code></dt><dt class="spec value" id="val-split"><a href="#val-split" class="anchor"></a><code><span class="keyword">val </span>split : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a><span class="keyword"> * </span>(<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) option<span class="keyword"> * </span><span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-append"><a href="#val-append" class="anchor"></a><code><span class="keyword">val </span>append : lower_part:<span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> upper_part:<span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> [ `Ok of <span class="type-var">'a</span> <a href="index.html#type-t">t</a><span class="keyword"> | </span>`Overlapping_key_ranges ]</code></dt><dt class="spec value" id="val-subrange"><a href="#val-subrange" class="anchor"></a><code><span class="keyword">val </span>subrange : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> lower_bound:<a href="Key/index.html#type-t">Key.t</a> Base__.Maybe_bound.t <span>-></span> upper_bound:<a href="Key/index.html#type-t">Key.t</a> Base__.Maybe_bound.t <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-fold_range_inclusive"><a href="#val-fold_range_inclusive" class="anchor"></a><code><span class="keyword">val </span>fold_range_inclusive : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> min:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> max:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> init:<span class="type-var">'b</span> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span> <span>-></span> <span class="type-var">'b</span>) <span>-></span> <span class="type-var">'b</span></code></dt><dt class="spec value" id="val-range_to_alist"><a href="#val-range_to_alist" class="anchor"></a><code><span class="keyword">val </span>range_to_alist : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> min:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> max:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list</code></dt><dt class="spec value" id="val-closest_key"><a href="#val-closest_key" class="anchor"></a><code><span class="keyword">val </span>closest_key : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> [ `Greater_or_equal_to<span class="keyword"> | </span>`Greater_than<span class="keyword"> | </span>`Less_or_equal_to<span class="keyword"> | </span>`Less_than ] <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) option</code></dt><dt class="spec value" id="val-nth"><a href="#val-nth" class="anchor"></a><code><span class="keyword">val </span>nth : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> int <span>-></span> (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) option</code></dt><dt class="spec value" id="val-nth_exn"><a href="#val-nth_exn" class="anchor"></a><code><span class="keyword">val </span>nth_exn : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> int <span>-></span> <a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span></code></dt><dt class="spec value" id="val-rank"><a href="#val-rank" class="anchor"></a><code><span class="keyword">val </span>rank : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> int option</code></dt><dt class="spec value" id="val-to_tree"><a href="#val-to_tree" class="anchor"></a><code><span class="keyword">val </span>to_tree : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'a</span> <a href="Tree/index.html#type-t">Tree.t</a></code></dt><dt class="spec value" id="val-to_sequence"><a href="#val-to_sequence" class="anchor"></a><code><span class="keyword">val </span>to_sequence : ?⁠order:[ `Decreasing_key<span class="keyword"> | </span>`Increasing_key ] <span>-></span> ?⁠keys_greater_or_equal_to:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> ?⁠keys_less_or_equal_to:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) Base__.Sequence.t</code></dt><dt class="spec value" id="val-obs"><a href="#val-obs" class="anchor"></a><code><span class="keyword">val </span>obs : <a href="Key/index.html#type-t">Key.t</a> Core_kernel__.Quickcheck.Observer.t <span>-></span> <span class="type-var">'v</span> Core_kernel__.Quickcheck.Observer.t <span>-></span> <span class="type-var">'v</span> <a href="index.html#type-t">t</a> Core_kernel__.Quickcheck.Observer.t</code></dt><dt class="spec value" id="val-shrinker"><a href="#val-shrinker" class="anchor"></a><code><span class="keyword">val </span>shrinker : <a href="Key/index.html#type-t">Key.t</a> Core_kernel__.Quickcheck.Shrinker.t <span>-></span> <span class="type-var">'v</span> Core_kernel__.Quickcheck.Shrinker.t <span>-></span> <span class="type-var">'v</span> <a href="index.html#type-t">t</a> Core_kernel__.Quickcheck.Shrinker.t</code></dt></dl><div class="spec module" id="module-Provide_of_sexp"><a href="#module-Provide_of_sexp" class="anchor"></a><code><span class="keyword">module </span><a href="Provide_of_sexp/index.html">Provide_of_sexp</a> : <span class="keyword">functor</span> (<a href="Provide_of_sexp/argument-1-Key/index.html">Key</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span>) <span>-></span> <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="spec module" id="module-Provide_bin_io"><a href="#module-Provide_bin_io" class="anchor"></a><code><span class="keyword">module </span><a href="Provide_bin_io/index.html">Provide_bin_io</a> : <span class="keyword">functor</span> (<a href="Provide_bin_io/argument-1-Key/index.html">Key</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span>) <span>-></span> <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="spec module" id="module-Provide_hash"><a href="#module-Provide_hash" class="anchor"></a><code><span class="keyword">module </span><a href="Provide_hash/index.html">Provide_hash</a> : <span class="keyword">functor</span> (<a href="Provide_hash/argument-1-Key/index.html">Key</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span>) <span>-></span> <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><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 : (Base__.Ppx_sexp_conv_lib.Sexp.t <span>-></span> <span class="type-var">'a</span>) <span>-></span> Base__.Ppx_sexp_conv_lib.Sexp.t <span>-></span> <span class="type-var">'a</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 : (<span class="type-var">'a</span> <span>-></span> Base__.Ppx_sexp_conv_lib.Sexp.t) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> Base__.Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/Rl/index.html b/docs/disml/Disml/Rl/index.html index f54ccda..a4527ce 100644 --- a/docs/disml/Disml/Rl/index.html +++ b/docs/disml/Disml/Rl/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Rl (disml.Disml.Rl)</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> » Rl</nav><h1>Module <code>Disml.Rl</code></h1></header><div class="spec module" id="module-RouteMap"><a href="#module-RouteMap" class="anchor"></a><code><span class="keyword">module </span><a href="RouteMap/index.html">RouteMap</a> : <span class="keyword">module type of </span><span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><dl><dt class="spec type" id="type-rl"><a href="#type-rl" class="anchor"></a><code><span class="keyword">type </span>rl</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-rl.limit" class="anchored"><td class="def field"><a href="#type-rl.limit" class="anchor"></a><code>limit : int;</code></td></tr><tr id="type-rl.remaining" class="anchored"><td class="def field"><a href="#type-rl.remaining" class="anchor"></a><code>remaining : int;</code></td></tr><tr id="type-rl.reset" class="anchored"><td class="def field"><a href="#type-rl.reset" class="anchor"></a><code>reset : int;</code></td></tr></table><code>}</code></dt><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>(<a href="index.html#type-rl">rl</a>, Core.read_write) Async.Mvar.t <a href="RouteMap/index.html#type-t">RouteMap.t</a></code></dt></dl><dl><dt class="spec value" id="val-rl_of_header"><a href="#val-rl_of_header" class="anchor"></a><code><span class="keyword">val </span>rl_of_header : Cohttp.Header.t <span>-></span> <a href="index.html#type-rl">rl</a> option</code></dt><dt class="spec value" id="val-default"><a href="#val-default" class="anchor"></a><code><span class="keyword">val </span>default : <a href="index.html#type-rl">rl</a></code></dt><dt class="spec value" id="val-empty"><a href="#val-empty" class="anchor"></a><code><span class="keyword">val </span>empty : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-update"><a href="#val-update" class="anchor"></a><code><span class="keyword">val </span>update : <span class="type-var">'a</span> <a href="RouteMap/index.html#type-t">RouteMap.t</a> <span>-></span> string <span>-></span> f:(<span class="type-var">'a</span> option <span>-></span> <span class="type-var">'a</span>) <span>-></span> <span class="type-var">'a</span> <a href="RouteMap/index.html#type-t">RouteMap.t</a></code></dt><dt class="spec value" id="val-find"><a href="#val-find" class="anchor"></a><code><span class="keyword">val </span>find : <span class="type-var">'a</span> <a href="RouteMap/index.html#type-t">RouteMap.t</a> <span>-></span> string <span>-></span> <span class="type-var">'a</span> option</code></dt><dt class="spec value" id="val-find_exn"><a href="#val-find_exn" class="anchor"></a><code><span class="keyword">val </span>find_exn : <span class="type-var">'a</span> <a href="RouteMap/index.html#type-t">RouteMap.t</a> <span>-></span> string <span>-></span> <span class="type-var">'a</span></code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Rl (disml.Disml.Rl)</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> » Rl</nav><h1>Module <code>Disml.Rl</code></h1></header><aside><p>Internal ratelimit route mapping.</p></aside><dl><dt class="spec module" id="module-RouteMap"><a href="#module-RouteMap" class="anchor"></a><code><span class="keyword">module </span><a href="RouteMap/index.html">RouteMap</a> : <span class="keyword">module type of </span><span class="keyword">sig</span> ... <span class="keyword">end</span></code></dt><dd><p>Type for mapping route -> <a href="index.html#type-rl"><code>rl</code></a>.</p></dd></dl><dl><dt class="spec type" id="type-rl"><a href="#type-rl" class="anchor"></a><code><span class="keyword">type </span>rl</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-rl.limit" class="anchored"><td class="def field"><a href="#type-rl.limit" class="anchor"></a><code>limit : int;</code></td></tr><tr id="type-rl.remaining" class="anchored"><td class="def field"><a href="#type-rl.remaining" class="anchor"></a><code>remaining : int;</code></td></tr><tr id="type-rl.reset" class="anchored"><td class="def field"><a href="#type-rl.reset" class="anchor"></a><code>reset : int;</code></td></tr></table><code>}</code></dt><dd><p>Type representing ratelimit information.</p></dd></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>(<a href="index.html#type-rl">rl</a>, Core.read_write) Async.Mvar.t <a href="RouteMap/index.html#type-t">RouteMap.t</a></code></dt><dd><p>Type representing the specific case of <a href="RouteMap/index.html"><code>RouteMap</code></a>.</p></dd></dl><dl><dt class="spec value" id="val-rl_of_header"><a href="#val-rl_of_header" class="anchor"></a><code><span class="keyword">val </span>rl_of_header : Cohttp.Header.t <span>-></span> <a href="index.html#type-rl">rl</a> option</code></dt><dd><p>Converts Cohttp header data into ratelimit information.</p><dl><dt>returns</dt><dd><p>Some of ratelimit information or None on bad headers</p></dd></dl></dd></dl><dl><dt class="spec value" id="val-default"><a href="#val-default" class="anchor"></a><code><span class="keyword">val </span>default : <a href="index.html#type-rl">rl</a></code></dt><dd><p>Default for type rl. Used for prepopulating routes.</p></dd></dl><dl><dt class="spec value" id="val-empty"><a href="#val-empty" class="anchor"></a><code><span class="keyword">val </span>empty : <a href="index.html#type-t">t</a></code></dt><dd><p>Empty ratelimit route map.</p></dd></dl><dl><dt class="spec value" id="val-update"><a href="#val-update" class="anchor"></a><code><span class="keyword">val </span>update : <span class="type-var">'a</span> <a href="RouteMap/index.html#type-t">RouteMap.t</a> <span>-></span> string <span>-></span> f:(<span class="type-var">'a</span> option <span>-></span> <span class="type-var">'a</span>) <span>-></span> <span class="type-var">'a</span> <a href="RouteMap/index.html#type-t">RouteMap.t</a></code></dt><dd><p>Analogous to <a href="RouteMap/index.html#val-update"><code>RouteMap.update</code></a>.</p></dd></dl><dl><dt class="spec value" id="val-find"><a href="#val-find" class="anchor"></a><code><span class="keyword">val </span>find : <span class="type-var">'a</span> <a href="RouteMap/index.html#type-t">RouteMap.t</a> <span>-></span> string <span>-></span> <span class="type-var">'a</span> option</code></dt><dd><p>Analogous to <a href="RouteMap/index.html#val-find"><code>RouteMap.find</code></a>.</p></dd></dl><dl><dt class="spec value" id="val-find_exn"><a href="#val-find_exn" class="anchor"></a><code><span class="keyword">val </span>find_exn : <span class="type-var">'a</span> <a href="RouteMap/index.html#type-t">RouteMap.t</a> <span>-></span> string <span>-></span> <span class="type-var">'a</span></code></dt><dd><p>Analogous to <a href="RouteMap/index.html#val-find_exn"><code>RouteMap.find_exn</code></a>.</p></dd></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/Role/index.html b/docs/disml/Disml/Role/index.html index 278706d..c1aa27a 100644 --- a/docs/disml/Disml/Role/index.html +++ b/docs/disml/Disml/Role/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Role (disml.Disml.Role)</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> » Role</nav><h1>Module <code>Disml.Role</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-Role_t">Role_t</a></code></span></summary><aside></aside><dl><dt class="spec type" id="type-role"><a href="#type-role" class="anchor"></a><code><span class="keyword">type </span>role</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-role.id" class="anchored"><td class="def field"><a href="#type-role.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-role.name" class="anchored"><td class="def field"><a href="#type-role.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-role.colour" class="anchored"><td class="def field"><a href="#type-role.colour" class="anchor"></a><code>colour : int;</code></td></tr><tr id="type-role.hoist" class="anchored"><td class="def field"><a href="#type-role.hoist" class="anchor"></a><code>hoist : bool;</code></td></tr><tr id="type-role.position" class="anchored"><td class="def field"><a href="#type-role.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-role.permissions" class="anchored"><td class="def field"><a href="#type-role.permissions" class="anchor"></a><code>permissions : int;</code></td></tr><tr id="type-role.managed" class="anchored"><td class="def field"><a href="#type-role.managed" class="anchor"></a><code>managed : bool;</code></td></tr><tr id="type-role.mentionable" class="anchored"><td class="def field"><a href="#type-role.mentionable" class="anchor"></a><code>mentionable : bool;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-role_of_sexp"><a href="#val-role_of_sexp" class="anchor"></a><code><span class="keyword">val </span>role_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-role">role</a></code></dt><dt class="spec value" id="val-sexp_of_role"><a href="#val-sexp_of_role" class="anchor"></a><code><span class="keyword">val </span>sexp_of_role : <a href="index.html#type-role">role</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-role_to_yojson"><a href="#val-role_to_yojson" class="anchor"></a><code><span class="keyword">val </span>role_to_yojson : <a href="index.html#type-role">role</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-role_of_yojson"><a href="#val-role_of_yojson" class="anchor"></a><code><span class="keyword">val </span>role_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-role">role</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-role">role</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-role">role</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-role_of_yojson_exn"><a href="#val-role_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>role_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-role">role</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-role">role</a></code></dt></dl><dl><dt class="spec type" id="type-role_update"><a href="#type-role_update" class="anchor"></a><code><span class="keyword">type </span>role_update</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-role_update.role" class="anchored"><td class="def field"><a href="#type-role_update.role" class="anchor"></a><code>role : <a href="index.html#type-role">role</a>;</code></td></tr><tr id="type-role_update.guild_id" class="anchored"><td class="def field"><a href="#type-role_update.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-role_update_of_sexp"><a href="#val-role_update_of_sexp" class="anchor"></a><code><span class="keyword">val </span>role_update_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-role_update">role_update</a></code></dt><dt class="spec value" id="val-sexp_of_role_update"><a href="#val-sexp_of_role_update" class="anchor"></a><code><span class="keyword">val </span>sexp_of_role_update : <a href="index.html#type-role_update">role_update</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-role_update_to_yojson"><a href="#val-role_update_to_yojson" class="anchor"></a><code><span class="keyword">val </span>role_update_to_yojson : <a href="index.html#type-role_update">role_update</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-role_update_of_yojson"><a href="#val-role_update_of_yojson" class="anchor"></a><code><span class="keyword">val </span>role_update_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-role_update">role_update</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-role_update">role_update</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-role_update">role_update</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-role_update_of_yojson_exn"><a href="#val-role_update_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>role_update_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-role_update">role_update</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-role_update">role_update</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.colour" class="anchored"><td class="def field"><a href="#type-t.colour" class="anchor"></a><code>colour : int;</code></td></tr><tr id="type-t.hoist" class="anchored"><td class="def field"><a href="#type-t.hoist" class="anchor"></a><code>hoist : bool;</code></td></tr><tr id="type-t.position" class="anchored"><td class="def field"><a href="#type-t.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-t.permissions" class="anchored"><td class="def field"><a href="#type-t.permissions" class="anchor"></a><code>permissions : int;</code></td></tr><tr id="type-t.managed" class="anchored"><td class="def field"><a href="#type-t.managed" class="anchor"></a><code>managed : bool;</code></td></tr><tr id="type-t.mentionable" class="anchored"><td class="def field"><a href="#type-t.mentionable" class="anchor"></a><code>mentionable : bool;</code></td></tr><tr id="type-t.guild_id" class="anchored"><td class="def field"><a href="#type-t.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</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 : guild_id:<a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> <a href="index.html#type-role">role</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-allow_mention"><a href="#val-allow_mention" class="anchor"></a><code><span class="keyword">val </span>allow_mention : <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-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> Yojson.Safe.json Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-disallow_mention"><a href="#val-disallow_mention" class="anchor"></a><code><span class="keyword">val </span>disallow_mention : <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-hoist"><a href="#val-hoist" class="anchor"></a><code><span class="keyword">val </span>hoist : <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-set_colour"><a href="#val-set_colour" class="anchor"></a><code><span class="keyword">val </span>set_colour : colour:int <span>-></span> <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-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> Yojson.Safe.json Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-unhoist"><a href="#val-unhoist" class="anchor"></a><code><span class="keyword">val </span>unhoist : <a href="index.html#type-t">t</a> <span>-></span> Yojson.Safe.json Async.Deferred.Or_error.t</code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Role (disml.Disml.Role)</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> » Role</nav><h1>Module <code>Disml.Role</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-Role_t">Role_t</a></code></span></summary><aside></aside><dl><dt class="spec type" id="type-role"><a href="#type-role" class="anchor"></a><code><span class="keyword">type </span>role</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-role.id" class="anchored"><td class="def field"><a href="#type-role.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-role.name" class="anchored"><td class="def field"><a href="#type-role.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-role.colour" class="anchored"><td class="def field"><a href="#type-role.colour" class="anchor"></a><code>colour : int;</code></td></tr><tr id="type-role.hoist" class="anchored"><td class="def field"><a href="#type-role.hoist" class="anchor"></a><code>hoist : bool;</code></td></tr><tr id="type-role.position" class="anchored"><td class="def field"><a href="#type-role.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-role.permissions" class="anchored"><td class="def field"><a href="#type-role.permissions" class="anchor"></a><code>permissions : int;</code></td></tr><tr id="type-role.managed" class="anchored"><td class="def field"><a href="#type-role.managed" class="anchor"></a><code>managed : bool;</code></td></tr><tr id="type-role.mentionable" class="anchored"><td class="def field"><a href="#type-role.mentionable" class="anchor"></a><code>mentionable : bool;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-role_of_sexp"><a href="#val-role_of_sexp" class="anchor"></a><code><span class="keyword">val </span>role_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-role">role</a></code></dt><dt class="spec value" id="val-sexp_of_role"><a href="#val-sexp_of_role" class="anchor"></a><code><span class="keyword">val </span>sexp_of_role : <a href="index.html#type-role">role</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-role_to_yojson"><a href="#val-role_to_yojson" class="anchor"></a><code><span class="keyword">val </span>role_to_yojson : <a href="index.html#type-role">role</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-role_of_yojson"><a href="#val-role_of_yojson" class="anchor"></a><code><span class="keyword">val </span>role_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-role">role</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-role_of_yojson_exn"><a href="#val-role_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>role_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-role">role</a></code></dt></dl><dl><dt class="spec type" id="type-role_update"><a href="#type-role_update" class="anchor"></a><code><span class="keyword">type </span>role_update</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-role_update.role" class="anchored"><td class="def field"><a href="#type-role_update.role" class="anchor"></a><code>role : <a href="index.html#type-role">role</a>;</code></td></tr><tr id="type-role_update.guild_id" class="anchored"><td class="def field"><a href="#type-role_update.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-role_update_of_sexp"><a href="#val-role_update_of_sexp" class="anchor"></a><code><span class="keyword">val </span>role_update_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-role_update">role_update</a></code></dt><dt class="spec value" id="val-sexp_of_role_update"><a href="#val-sexp_of_role_update" class="anchor"></a><code><span class="keyword">val </span>sexp_of_role_update : <a href="index.html#type-role_update">role_update</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-role_update_to_yojson"><a href="#val-role_update_to_yojson" class="anchor"></a><code><span class="keyword">val </span>role_update_to_yojson : <a href="index.html#type-role_update">role_update</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-role_update_of_yojson"><a href="#val-role_update_of_yojson" class="anchor"></a><code><span class="keyword">val </span>role_update_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-role_update">role_update</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-role_update_of_yojson_exn"><a href="#val-role_update_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>role_update_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-role_update">role_update</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.colour" class="anchored"><td class="def field"><a href="#type-t.colour" class="anchor"></a><code>colour : int;</code></td></tr><tr id="type-t.hoist" class="anchored"><td class="def field"><a href="#type-t.hoist" class="anchor"></a><code>hoist : bool;</code></td></tr><tr id="type-t.position" class="anchored"><td class="def field"><a href="#type-t.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-t.permissions" class="anchored"><td class="def field"><a href="#type-t.permissions" class="anchor"></a><code>permissions : int;</code></td></tr><tr id="type-t.managed" class="anchored"><td class="def field"><a href="#type-t.managed" class="anchor"></a><code>managed : bool;</code></td></tr><tr id="type-t.mentionable" class="anchored"><td class="def field"><a href="#type-t.mentionable" class="anchor"></a><code>mentionable : bool;</code></td></tr><tr id="type-t.guild_id" class="anchored"><td class="def field"><a href="#type-t.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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-wrap"><a href="#val-wrap" class="anchor"></a><code><span class="keyword">val </span>wrap : guild_id:<a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> <a href="index.html#type-role">role</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-allow_mention"><a href="#val-allow_mention" class="anchor"></a><code><span class="keyword">val </span>allow_mention : <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-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> Yojson.Safe.json Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-disallow_mention"><a href="#val-disallow_mention" class="anchor"></a><code><span class="keyword">val </span>disallow_mention : <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-hoist"><a href="#val-hoist" class="anchor"></a><code><span class="keyword">val </span>hoist : <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-set_colour"><a href="#val-set_colour" class="anchor"></a><code><span class="keyword">val </span>set_colour : colour:int <span>-></span> <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-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> Yojson.Safe.json Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-unhoist"><a href="#val-unhoist" class="anchor"></a><code><span class="keyword">val </span>unhoist : <a href="index.html#type-t">t</a> <span>-></span> Yojson.Safe.json Async.Deferred.Or_error.t</code></dt></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/Role_t/index.html b/docs/disml/Disml/Role_t/index.html index 3af6846..96ad007 100644 --- a/docs/disml/Disml/Role_t/index.html +++ b/docs/disml/Disml/Role_t/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Role_t (disml.Disml.Role_t)</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> » Role_t</nav><h1>Module <code>Disml.Role_t</code></h1></header><dl><dt class="spec type" id="type-role"><a href="#type-role" class="anchor"></a><code><span class="keyword">type </span>role</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-role.id" class="anchored"><td class="def field"><a href="#type-role.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-role.name" class="anchored"><td class="def field"><a href="#type-role.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-role.colour" class="anchored"><td class="def field"><a href="#type-role.colour" class="anchor"></a><code>colour : int;</code></td></tr><tr id="type-role.hoist" class="anchored"><td class="def field"><a href="#type-role.hoist" class="anchor"></a><code>hoist : bool;</code></td></tr><tr id="type-role.position" class="anchored"><td class="def field"><a href="#type-role.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-role.permissions" class="anchored"><td class="def field"><a href="#type-role.permissions" class="anchor"></a><code>permissions : int;</code></td></tr><tr id="type-role.managed" class="anchored"><td class="def field"><a href="#type-role.managed" class="anchor"></a><code>managed : bool;</code></td></tr><tr id="type-role.mentionable" class="anchored"><td class="def field"><a href="#type-role.mentionable" class="anchor"></a><code>mentionable : bool;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-role_of_sexp"><a href="#val-role_of_sexp" class="anchor"></a><code><span class="keyword">val </span>role_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-role">role</a></code></dt><dt class="spec value" id="val-sexp_of_role"><a href="#val-sexp_of_role" class="anchor"></a><code><span class="keyword">val </span>sexp_of_role : <a href="index.html#type-role">role</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-role_to_yojson"><a href="#val-role_to_yojson" class="anchor"></a><code><span class="keyword">val </span>role_to_yojson : <a href="index.html#type-role">role</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-role_of_yojson"><a href="#val-role_of_yojson" class="anchor"></a><code><span class="keyword">val </span>role_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-role">role</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-role">role</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-role">role</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-role_of_yojson_exn"><a href="#val-role_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>role_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-role">role</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-role">role</a></code></dt></dl><dl><dt class="spec type" id="type-role_update"><a href="#type-role_update" class="anchor"></a><code><span class="keyword">type </span>role_update</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-role_update.role" class="anchored"><td class="def field"><a href="#type-role_update.role" class="anchor"></a><code>role : <a href="index.html#type-role">role</a>;</code></td></tr><tr id="type-role_update.guild_id" class="anchored"><td class="def field"><a href="#type-role_update.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-role_update_of_sexp"><a href="#val-role_update_of_sexp" class="anchor"></a><code><span class="keyword">val </span>role_update_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-role_update">role_update</a></code></dt><dt class="spec value" id="val-sexp_of_role_update"><a href="#val-sexp_of_role_update" class="anchor"></a><code><span class="keyword">val </span>sexp_of_role_update : <a href="index.html#type-role_update">role_update</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-role_update_to_yojson"><a href="#val-role_update_to_yojson" class="anchor"></a><code><span class="keyword">val </span>role_update_to_yojson : <a href="index.html#type-role_update">role_update</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-role_update_of_yojson"><a href="#val-role_update_of_yojson" class="anchor"></a><code><span class="keyword">val </span>role_update_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-role_update">role_update</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-role_update">role_update</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-role_update">role_update</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-role_update_of_yojson_exn"><a href="#val-role_update_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>role_update_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-role_update">role_update</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-role_update">role_update</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.colour" class="anchored"><td class="def field"><a href="#type-t.colour" class="anchor"></a><code>colour : int;</code></td></tr><tr id="type-t.hoist" class="anchored"><td class="def field"><a href="#type-t.hoist" class="anchor"></a><code>hoist : bool;</code></td></tr><tr id="type-t.position" class="anchored"><td class="def field"><a href="#type-t.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-t.permissions" class="anchored"><td class="def field"><a href="#type-t.permissions" class="anchor"></a><code>permissions : int;</code></td></tr><tr id="type-t.managed" class="anchored"><td class="def field"><a href="#type-t.managed" class="anchor"></a><code>managed : bool;</code></td></tr><tr id="type-t.mentionable" class="anchored"><td class="def field"><a href="#type-t.mentionable" class="anchor"></a><code>mentionable : bool;</code></td></tr><tr id="type-t.guild_id" class="anchored"><td class="def field"><a href="#type-t.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</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 : guild_id:<a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> <a href="index.html#type-role">role</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Role_t (disml.Disml.Role_t)</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> » Role_t</nav><h1>Module <code>Disml.Role_t</code></h1></header><dl><dt class="spec type" id="type-role"><a href="#type-role" class="anchor"></a><code><span class="keyword">type </span>role</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-role.id" class="anchored"><td class="def field"><a href="#type-role.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr><tr id="type-role.name" class="anchored"><td class="def field"><a href="#type-role.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-role.colour" class="anchored"><td class="def field"><a href="#type-role.colour" class="anchor"></a><code>colour : int;</code></td></tr><tr id="type-role.hoist" class="anchored"><td class="def field"><a href="#type-role.hoist" class="anchor"></a><code>hoist : bool;</code></td></tr><tr id="type-role.position" class="anchored"><td class="def field"><a href="#type-role.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-role.permissions" class="anchored"><td class="def field"><a href="#type-role.permissions" class="anchor"></a><code>permissions : int;</code></td></tr><tr id="type-role.managed" class="anchored"><td class="def field"><a href="#type-role.managed" class="anchor"></a><code>managed : bool;</code></td></tr><tr id="type-role.mentionable" class="anchored"><td class="def field"><a href="#type-role.mentionable" class="anchor"></a><code>mentionable : bool;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-role_of_sexp"><a href="#val-role_of_sexp" class="anchor"></a><code><span class="keyword">val </span>role_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-role">role</a></code></dt><dt class="spec value" id="val-sexp_of_role"><a href="#val-sexp_of_role" class="anchor"></a><code><span class="keyword">val </span>sexp_of_role : <a href="index.html#type-role">role</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-role_to_yojson"><a href="#val-role_to_yojson" class="anchor"></a><code><span class="keyword">val </span>role_to_yojson : <a href="index.html#type-role">role</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-role_of_yojson"><a href="#val-role_of_yojson" class="anchor"></a><code><span class="keyword">val </span>role_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-role">role</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-role_of_yojson_exn"><a href="#val-role_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>role_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-role">role</a></code></dt></dl><dl><dt class="spec type" id="type-role_update"><a href="#type-role_update" class="anchor"></a><code><span class="keyword">type </span>role_update</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-role_update.role" class="anchored"><td class="def field"><a href="#type-role_update.role" class="anchor"></a><code>role : <a href="index.html#type-role">role</a>;</code></td></tr><tr id="type-role_update.guild_id" class="anchored"><td class="def field"><a href="#type-role_update.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-role_update_of_sexp"><a href="#val-role_update_of_sexp" class="anchor"></a><code><span class="keyword">val </span>role_update_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-role_update">role_update</a></code></dt><dt class="spec value" id="val-sexp_of_role_update"><a href="#val-sexp_of_role_update" class="anchor"></a><code><span class="keyword">val </span>sexp_of_role_update : <a href="index.html#type-role_update">role_update</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-role_update_to_yojson"><a href="#val-role_update_to_yojson" class="anchor"></a><code><span class="keyword">val </span>role_update_to_yojson : <a href="index.html#type-role_update">role_update</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-role_update_of_yojson"><a href="#val-role_update_of_yojson" class="anchor"></a><code><span class="keyword">val </span>role_update_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-role_update">role_update</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-role_update_of_yojson_exn"><a href="#val-role_update_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>role_update_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-role_update">role_update</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.colour" class="anchored"><td class="def field"><a href="#type-t.colour" class="anchor"></a><code>colour : int;</code></td></tr><tr id="type-t.hoist" class="anchored"><td class="def field"><a href="#type-t.hoist" class="anchor"></a><code>hoist : bool;</code></td></tr><tr id="type-t.position" class="anchored"><td class="def field"><a href="#type-t.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-t.permissions" class="anchored"><td class="def field"><a href="#type-t.permissions" class="anchor"></a><code>permissions : int;</code></td></tr><tr id="type-t.managed" class="anchored"><td class="def field"><a href="#type-t.managed" class="anchor"></a><code>managed : bool;</code></td></tr><tr id="type-t.mentionable" class="anchored"><td class="def field"><a href="#type-t.mentionable" class="anchor"></a><code>mentionable : bool;</code></td></tr><tr id="type-t.guild_id" class="anchored"><td class="def field"><a href="#type-t.guild_id" class="anchor"></a><code>guild_id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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-wrap"><a href="#val-wrap" class="anchor"></a><code><span class="keyword">val </span>wrap : guild_id:<a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> <a href="index.html#type-role">role</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/Sharder/Shard/index.html b/docs/disml/Disml/Sharder/Shard/index.html index 264a819..3ae7f28 100644 --- a/docs/disml/Disml/Sharder/Shard/index.html +++ b/docs/disml/Disml/Sharder/Shard/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Shard (disml.Disml.Sharder.Shard)</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> » <a href="../index.html">Sharder</a> » Shard</nav><h1>Module <code>Sharder.Shard</code></h1></header><dl><dt class="spec type" id="type-shard"><a href="#type-shard" class="anchor"></a><code><span class="keyword">type </span>shard</code></dt><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>'a t</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-t.state" class="anchored"><td class="def field"><a href="#type-t.state" class="anchor"></a><code><span class="keyword">mutable </span>state : <span class="type-var">'a</span>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-heartbeat"><a href="#val-heartbeat" class="anchor"></a><code><span class="keyword">val </span>heartbeat : <a href="index.html#type-shard">shard</a> <span>-></span> <a href="index.html#type-shard">shard</a> Async.Deferred.t</code></dt><dt class="spec value" id="val-set_status"><a href="#val-set_status" class="anchor"></a><code><span class="keyword">val </span>set_status : status:Yojson.Safe.json <span>-></span> <a href="index.html#type-shard">shard</a> <span>-></span> <a href="index.html#type-shard">shard</a> Async.Deferred.t</code></dt><dt class="spec value" id="val-request_guild_members"><a href="#val-request_guild_members" class="anchor"></a><code><span class="keyword">val </span>request_guild_members : ?⁠query:string <span>-></span> ?⁠limit:int <span>-></span> guild:<a href="../../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> <a href="index.html#type-shard">shard</a> <span>-></span> <a href="index.html#type-shard">shard</a> Async.Deferred.t</code></dt><dt class="spec value" id="val-create"><a href="#val-create" class="anchor"></a><code><span class="keyword">val </span>create : url:string <span>-></span> shards:(int<span class="keyword"> * </span>int) <span>-></span> unit <span>-></span> <a href="index.html#type-shard">shard</a> Async.Deferred.t</code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Shard (disml.Disml.Sharder.Shard)</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> » <a href="../index.html">Sharder</a> » Shard</nav><h1>Module <code>Sharder.Shard</code></h1><p>Module representing a single shard.</p></header><dl><dt class="spec type" id="type-shard"><a href="#type-shard" class="anchor"></a><code><span class="keyword">type </span>shard</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-shard.hb_interval" class="anchored"><td class="def field"><a href="#type-shard.hb_interval" class="anchor"></a><code>hb_interval : Core.Time.Span.t Async.Ivar.t;</code></td><td class="doc"><p>Time span between heartbeats, wrapped in an Ivar.</p></td></tr><tr id="type-shard.seq" class="anchored"><td class="def field"><a href="#type-shard.seq" class="anchor"></a><code>seq : int;</code></td><td class="doc"><p>Current sequence number</p></td></tr><tr id="type-shard.session" class="anchored"><td class="def field"><a href="#type-shard.session" class="anchor"></a><code>session : string option;</code></td><td class="doc"><p>Session id, if one exists.</p></td></tr><tr id="type-shard.pipe" class="anchored"><td class="def field"><a href="#type-shard.pipe" class="anchor"></a><code>pipe : Websocket_async.Frame.t Async.Pipe.Reader.t<span class="keyword"> * </span>Websocket_async.Frame.t Async.Pipe.Writer.t;</code></td><td class="doc"><p>Raw frame IO pipe used for websocket communications.</p></td></tr><tr id="type-shard.ready" class="anchored"><td class="def field"><a href="#type-shard.ready" class="anchor"></a><code>ready : unit Async.Ivar.t;</code></td><td class="doc"><p>A simple Ivar indicating if the shard has received READY.</p></td></tr><tr id="type-shard.url" class="anchored"><td class="def field"><a href="#type-shard.url" class="anchor"></a><code>url : string;</code></td><td class="doc"><p>The websocket URL in use.</p></td></tr><tr id="type-shard.id" class="anchored"><td class="def field"><a href="#type-shard.id" class="anchor"></a><code>id : int<span class="keyword"> * </span>int;</code></td><td class="doc"><p>A tuple as expected by Discord. First element is the current shard index, second element is the total shard count.</p></td></tr></table><code>}</code></dt><dd><p>Representation of the state of a shard.</p><p>Wrapper around an internal state, used to wrap <a href="index.html#type-shard"><code>shard</code></a>.</p></dd></dl><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>'a t</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-t.state" class="anchored"><td class="def field"><a href="#type-t.state" class="anchor"></a><code><span class="keyword">mutable </span>state : <span class="type-var">'a</span>;</code></td></tr></table><code>}</code></dt><dd><p>Wrapper around an internal state, used to wrap <a href="index.html#type-shard"><code>shard</code></a>.</p></dd></dl><dl><dt class="spec value" id="val-heartbeat"><a href="#val-heartbeat" class="anchor"></a><code><span class="keyword">val </span>heartbeat : <a href="index.html#type-shard">shard</a> <span>-></span> <a href="index.html#type-shard">shard</a> Async.Deferred.t</code></dt><dd><p>Send a heartbeat to Discord. This is handled automatically.</p></dd></dl><dl><dt class="spec value" id="val-set_status"><a href="#val-set_status" class="anchor"></a><code><span class="keyword">val </span>set_status : status:Yojson.Safe.json <span>-></span> <a href="index.html#type-shard">shard</a> <span>-></span> <a href="index.html#type-shard">shard</a> Async.Deferred.t</code></dt><dd><p>Set the status of the shard.</p></dd></dl><dl><dt class="spec value" id="val-request_guild_members"><a href="#val-request_guild_members" class="anchor"></a><code><span class="keyword">val </span>request_guild_members : ?⁠query:string <span>-></span> ?⁠limit:int <span>-></span> guild:<a href="../../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> <a href="index.html#type-shard">shard</a> <span>-></span> <a href="index.html#type-shard">shard</a> Async.Deferred.t</code></dt><dd><p>Request guild members for the shard's guild. Causes dispatch of multiple <a href="../../Dispatch/index.html#val-members_chunk"><span>member chunk</span></a> events.</p></dd></dl><dl><dt class="spec value" id="val-create"><a href="#val-create" class="anchor"></a><code><span class="keyword">val </span>create : url:string <span>-></span> shards:(int<span class="keyword"> * </span>int) <span>-></span> unit <span>-></span> <a href="index.html#type-shard">shard</a> Async.Deferred.t</code></dt><dd><p>Create a new shard</p></dd></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/Sharder/index.html b/docs/disml/Disml/Sharder/index.html index 409ecf3..c485dbd 100644 --- a/docs/disml/Disml/Sharder/index.html +++ b/docs/disml/Disml/Sharder/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Sharder (disml.Disml.Sharder)</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> » Sharder</nav><h1>Module <code>Disml.Sharder</code></h1></header><dl><dt class="spec exception" id="exception-Invalid_Payload"><a href="#exception-Invalid_Payload" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">Invalid_Payload</span></code></dt><dt class="spec exception" id="exception-Failure_to_Establish_Heartbeat"><a href="#exception-Failure_to_Establish_Heartbeat" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">Failure_to_Establish_Heartbeat</span></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></dt></dl><dl><dt class="spec value" id="val-start"><a href="#val-start" class="anchor"></a><code><span class="keyword">val </span>start : ?⁠count:int <span>-></span> unit <span>-></span> <a href="index.html#type-t">t</a> Async.Deferred.t</code></dt></dl><div class="spec module" id="module-Shard"><a href="#module-Shard" class="anchor"></a><code><span class="keyword">module </span><a href="Shard/index.html">Shard</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><dl><dt class="spec value" id="val-set_status"><a href="#val-set_status" class="anchor"></a><code><span class="keyword">val </span>set_status : status:Yojson.Safe.json <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Shard/index.html#type-shard">Shard.shard</a> list Async.Deferred.t</code></dt><dt class="spec value" id="val-set_status_with"><a href="#val-set_status_with" class="anchor"></a><code><span class="keyword">val </span>set_status_with : f:(<a href="Shard/index.html#type-shard">Shard.shard</a> <span>-></span> Yojson.Safe.json) <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Shard/index.html#type-shard">Shard.shard</a> list Async.Deferred.t</code></dt><dt class="spec value" id="val-request_guild_members"><a href="#val-request_guild_members" class="anchor"></a><code><span class="keyword">val </span>request_guild_members : ?⁠query:string <span>-></span> ?⁠limit:int <span>-></span> guild:<a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Shard/index.html#type-shard">Shard.shard</a> list Async.Deferred.t</code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Sharder (disml.Disml.Sharder)</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> » Sharder</nav><h1>Module <code>Disml.Sharder</code></h1></header><aside><p>Internal sharding manager. Most of this is accessed through <a href="../Client/index.html"><code>Client</code></a>.</p></aside><dl><dt class="spec exception" id="exception-Invalid_Payload"><a href="#exception-Invalid_Payload" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">Invalid_Payload</span></code></dt><dt class="spec exception" id="exception-Failure_to_Establish_Heartbeat"><a href="#exception-Failure_to_Establish_Heartbeat" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">Failure_to_Establish_Heartbeat</span></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></dt></dl><dl><dt class="spec value" id="val-start"><a href="#val-start" class="anchor"></a><code><span class="keyword">val </span>start : ?⁠count:int <span>-></span> unit <span>-></span> <a href="index.html#type-t">t</a> Async.Deferred.t</code></dt><dd><p>Start the Sharder. This is called by <a href="../Client/index.html#val-start"><code>Client.start</code></a>.</p></dd></dl><dl><dt class="spec module" id="module-Shard"><a href="#module-Shard" class="anchor"></a><code><span class="keyword">module </span><a href="Shard/index.html">Shard</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></dt><dd><p>Module representing a single shard.</p></dd></dl><dl><dt class="spec value" id="val-set_status"><a href="#val-set_status" class="anchor"></a><code><span class="keyword">val </span>set_status : status:Yojson.Safe.json <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Shard/index.html#type-shard">Shard.shard</a> list Async.Deferred.t</code></dt><dd><p>Calls <a href="Shard/index.html#val-set_status"><code>Shard.set_status</code></a> for each shard registered with the sharder.</p></dd></dl><dl><dt class="spec value" id="val-set_status_with"><a href="#val-set_status_with" class="anchor"></a><code><span class="keyword">val </span>set_status_with : f:(<a href="Shard/index.html#type-shard">Shard.shard</a> <span>-></span> Yojson.Safe.json) <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Shard/index.html#type-shard">Shard.shard</a> list Async.Deferred.t</code></dt><dd><p>Like <a href="index.html#val-set_status"><code>set_status</code></a> but takes a function with a <a href="Shard/index.html#type-shard"><span>shard</span></a> as its parameter and <span class="xref-unresolved" title="unresolved reference to "Yojson.Safe.json""><span>json</span></span> for its return.</p></dd></dl><dl><dt class="spec value" id="val-request_guild_members"><a href="#val-request_guild_members" class="anchor"></a><code><span class="keyword">val </span>request_guild_members : ?⁠query:string <span>-></span> ?⁠limit:int <span>-></span> guild:<a href="../Snowflake/index.html#type-t">Snowflake.t</a> <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Shard/index.html#type-shard">Shard.shard</a> list Async.Deferred.t</code></dt><dd><p>Calls <a href="Shard/index.html#val-request_guild_members"><code>Shard.request_guild_members</code></a> for each shard registered with the sharder.</p></dd></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/Snowflake/index.html b/docs/disml/Disml/Snowflake/index.html index 0df20e3..1d65624 100644 --- a/docs/disml/Disml/Snowflake/index.html +++ b/docs/disml/Disml/Snowflake/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Snowflake (disml.Disml.Snowflake)</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> » Snowflake</nav><h1>Module <code>Disml.Snowflake</code></h1></header><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>Core.Int.t</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-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> Core.Int.t</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> (Core.Int.t, string) Core._result</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 : Core.Int.t <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-timestamp"><a href="#val-timestamp" class="anchor"></a><code><span class="keyword">val </span>timestamp : int <span>-></span> int</code></dt><dt class="spec value" id="val-timestamp_iso"><a href="#val-timestamp_iso" class="anchor"></a><code><span class="keyword">val </span>timestamp_iso : int <span>-></span> string</code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Snowflake (disml.Disml.Snowflake)</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> » Snowflake</nav><h1>Module <code>Disml.Snowflake</code></h1></header><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>Core.Int.t</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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-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-timestamp"><a href="#val-timestamp" class="anchor"></a><code><span class="keyword">val </span>timestamp : <a href="index.html#type-t">t</a> <span>-></span> int</code></dt><dt class="spec value" id="val-timestamp_iso"><a href="#val-timestamp_iso" class="anchor"></a><code><span class="keyword">val </span>timestamp_iso : <a href="index.html#type-t">t</a> <span>-></span> string</code></dt></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/User/index.html b/docs/disml/Disml/User/index.html index 4dc4915..751caa6 100644 --- a/docs/disml/Disml/User/index.html +++ b/docs/disml/Disml/User/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>User (disml.Disml.User)</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> » User</nav><h1>Module <code>Disml.User</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-User_t">User_t</a></code></span></summary><aside></aside><dl><dt class="spec type" id="type-partial_user"><a href="#type-partial_user" class="anchor"></a><code><span class="keyword">type </span>partial_user</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-partial_user.id" class="anchored"><td class="def field"><a href="#type-partial_user.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-partial_user_of_sexp"><a href="#val-partial_user_of_sexp" class="anchor"></a><code><span class="keyword">val </span>partial_user_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-partial_user">partial_user</a></code></dt><dt class="spec value" id="val-sexp_of_partial_user"><a href="#val-sexp_of_partial_user" class="anchor"></a><code><span class="keyword">val </span>sexp_of_partial_user : <a href="index.html#type-partial_user">partial_user</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-partial_user_to_yojson"><a href="#val-partial_user_to_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_user_to_yojson : <a href="index.html#type-partial_user">partial_user</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-partial_user_of_yojson"><a href="#val-partial_user_of_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_user_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_user">partial_user</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-partial_user">partial_user</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-partial_user">partial_user</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-partial_user_of_yojson_exn"><a href="#val-partial_user_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>partial_user_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_user">partial_user</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-partial_user">partial_user</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.username" class="anchored"><td class="def field"><a href="#type-t.username" class="anchor"></a><code>username : string;</code></td></tr><tr id="type-t.discriminator" class="anchored"><td class="def field"><a href="#type-t.discriminator" class="anchor"></a><code>discriminator : string;</code></td></tr><tr id="type-t.avatar" class="anchored"><td class="def field"><a href="#type-t.avatar" class="anchor"></a><code>avatar : string option;</code></td></tr><tr id="type-t.bot" class="anchored"><td class="def field"><a href="#type-t.bot" class="anchor"></a><code>bot : bool;</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></dl></details></div></div></div><dl><dt class="spec value" id="val-tag"><a href="#val-tag" class="anchor"></a><code><span class="keyword">val </span>tag : <a href="index.html#type-t">t</a> <span>-></span> string</code></dt><dt class="spec value" id="val-mention"><a href="#val-mention" class="anchor"></a><code><span class="keyword">val </span>mention : <a href="index.html#type-t">t</a> <span>-></span> string</code></dt><dt class="spec value" id="val-default_avatar"><a href="#val-default_avatar" class="anchor"></a><code><span class="keyword">val </span>default_avatar : <a href="index.html#type-t">t</a> <span>-></span> string</code></dt><dt class="spec value" id="val-face"><a href="#val-face" class="anchor"></a><code><span class="keyword">val </span>face : <a href="index.html#type-t">t</a> <span>-></span> string</code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>User (disml.Disml.User)</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> » User</nav><h1>Module <code>Disml.User</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-User_t">User_t</a></code></span></summary><aside></aside><dl><dt class="spec type" id="type-partial_user"><a href="#type-partial_user" class="anchor"></a><code><span class="keyword">type </span>partial_user</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-partial_user.id" class="anchored"><td class="def field"><a href="#type-partial_user.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-partial_user_of_sexp"><a href="#val-partial_user_of_sexp" class="anchor"></a><code><span class="keyword">val </span>partial_user_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-partial_user">partial_user</a></code></dt><dt class="spec value" id="val-sexp_of_partial_user"><a href="#val-sexp_of_partial_user" class="anchor"></a><code><span class="keyword">val </span>sexp_of_partial_user : <a href="index.html#type-partial_user">partial_user</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-partial_user_to_yojson"><a href="#val-partial_user_to_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_user_to_yojson : <a href="index.html#type-partial_user">partial_user</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-partial_user_of_yojson"><a href="#val-partial_user_of_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_user_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_user">partial_user</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-partial_user_of_yojson_exn"><a href="#val-partial_user_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>partial_user_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_user">partial_user</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.username" class="anchored"><td class="def field"><a href="#type-t.username" class="anchor"></a><code>username : string;</code></td></tr><tr id="type-t.discriminator" class="anchored"><td class="def field"><a href="#type-t.discriminator" class="anchor"></a><code>discriminator : string;</code></td></tr><tr id="type-t.avatar" class="anchored"><td class="def field"><a href="#type-t.avatar" class="anchor"></a><code>avatar : string option;</code></td></tr><tr id="type-t.bot" class="anchored"><td class="def field"><a href="#type-t.bot" class="anchor"></a><code>bot : bool;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></dl></details></div></div></div><dl><dt class="spec value" id="val-tag"><a href="#val-tag" class="anchor"></a><code><span class="keyword">val </span>tag : <a href="index.html#type-t">t</a> <span>-></span> string</code></dt><dt class="spec value" id="val-mention"><a href="#val-mention" class="anchor"></a><code><span class="keyword">val </span>mention : <a href="index.html#type-t">t</a> <span>-></span> string</code></dt><dt class="spec value" id="val-default_avatar"><a href="#val-default_avatar" class="anchor"></a><code><span class="keyword">val </span>default_avatar : <a href="index.html#type-t">t</a> <span>-></span> string</code></dt><dt class="spec value" id="val-face"><a href="#val-face" class="anchor"></a><code><span class="keyword">val </span>face : <a href="index.html#type-t">t</a> <span>-></span> string</code></dt></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml/User_t/index.html b/docs/disml/Disml/User_t/index.html index 4a0a315..e800d5b 100644 --- a/docs/disml/Disml/User_t/index.html +++ b/docs/disml/Disml/User_t/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>User_t (disml.Disml.User_t)</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> » User_t</nav><h1>Module <code>Disml.User_t</code></h1></header><dl><dt class="spec type" id="type-partial_user"><a href="#type-partial_user" class="anchor"></a><code><span class="keyword">type </span>partial_user</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-partial_user.id" class="anchored"><td class="def field"><a href="#type-partial_user.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-partial_user_of_sexp"><a href="#val-partial_user_of_sexp" class="anchor"></a><code><span class="keyword">val </span>partial_user_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-partial_user">partial_user</a></code></dt><dt class="spec value" id="val-sexp_of_partial_user"><a href="#val-sexp_of_partial_user" class="anchor"></a><code><span class="keyword">val </span>sexp_of_partial_user : <a href="index.html#type-partial_user">partial_user</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-partial_user_to_yojson"><a href="#val-partial_user_to_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_user_to_yojson : <a href="index.html#type-partial_user">partial_user</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-partial_user_of_yojson"><a href="#val-partial_user_of_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_user_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_user">partial_user</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-partial_user">partial_user</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-partial_user">partial_user</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-partial_user_of_yojson_exn"><a href="#val-partial_user_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>partial_user_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_user">partial_user</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-partial_user">partial_user</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.username" class="anchored"><td class="def field"><a href="#type-t.username" class="anchor"></a><code>username : string;</code></td></tr><tr id="type-t.discriminator" class="anchored"><td class="def field"><a href="#type-t.discriminator" class="anchor"></a><code>discriminator : string;</code></td></tr><tr id="type-t.avatar" class="anchored"><td class="def field"><a href="#type-t.avatar" class="anchor"></a><code>avatar : string option;</code></td></tr><tr id="type-t.bot" class="anchored"><td class="def field"><a href="#type-t.bot" class="anchor"></a><code>bot : bool;</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></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>User_t (disml.Disml.User_t)</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> » User_t</nav><h1>Module <code>Disml.User_t</code></h1></header><dl><dt class="spec type" id="type-partial_user"><a href="#type-partial_user" class="anchor"></a><code><span class="keyword">type </span>partial_user</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-partial_user.id" class="anchored"><td class="def field"><a href="#type-partial_user.id" class="anchor"></a><code>id : <a href="../Snowflake/index.html#type-t">Snowflake.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-partial_user_of_sexp"><a href="#val-partial_user_of_sexp" class="anchor"></a><code><span class="keyword">val </span>partial_user_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-partial_user">partial_user</a></code></dt><dt class="spec value" id="val-sexp_of_partial_user"><a href="#val-sexp_of_partial_user" class="anchor"></a><code><span class="keyword">val </span>sexp_of_partial_user : <a href="index.html#type-partial_user">partial_user</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-partial_user_to_yojson"><a href="#val-partial_user_to_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_user_to_yojson : <a href="index.html#type-partial_user">partial_user</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-partial_user_of_yojson"><a href="#val-partial_user_of_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_user_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_user">partial_user</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-partial_user_of_yojson_exn"><a href="#val-partial_user_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>partial_user_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_user">partial_user</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.username" class="anchored"><td class="def field"><a href="#type-t.username" class="anchor"></a><code>username : string;</code></td></tr><tr id="type-t.discriminator" class="anchored"><td class="def field"><a href="#type-t.discriminator" class="anchor"></a><code>discriminator : string;</code></td></tr><tr id="type-t.avatar" class="anchored"><td class="def field"><a href="#type-t.avatar" class="anchor"></a><code>avatar : string option;</code></td></tr><tr id="type-t.bot" class="anchored"><td class="def field"><a href="#type-t.bot" class="anchor"></a><code>bot : bool;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Activity/index.html b/docs/disml/Disml__Activity/index.html index e5dadb0..641b8a4 100644 --- a/docs/disml/Disml__Activity/index.html +++ b/docs/disml/Disml__Activity/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Activity (disml.Disml__Activity)</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> » Disml__Activity</nav><h1>Module <code>Disml__Activity</code></h1></header><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.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.kind" class="anchored"><td class="def field"><a href="#type-t.kind" class="anchor"></a><code>kind : int;</code></td></tr><tr id="type-t.url" class="anchored"><td class="def field"><a href="#type-t.url" class="anchor"></a><code>url : string;</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></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Activity (disml.Disml__Activity)</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> » Disml__Activity</nav><h1>Module <code>Disml__Activity</code></h1></header><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.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.kind" class="anchored"><td class="def field"><a href="#type-t.kind" class="anchor"></a><code>kind : int;</code></td></tr><tr id="type-t.url" class="anchored"><td class="def field"><a href="#type-t.url" class="anchor"></a><code>url : string;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Attachment/index.html b/docs/disml/Disml__Attachment/index.html index 8f8d225..38086fe 100644 --- a/docs/disml/Disml__Attachment/index.html +++ b/docs/disml/Disml__Attachment/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Attachment (disml.Disml__Attachment)</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> » Disml__Attachment</nav><h1>Module <code>Disml__Attachment</code></h1></header><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="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-t.filename" class="anchored"><td class="def field"><a href="#type-t.filename" class="anchor"></a><code>filename : string;</code></td></tr><tr id="type-t.size" class="anchored"><td class="def field"><a href="#type-t.size" class="anchor"></a><code>size : int;</code></td></tr><tr id="type-t.url" class="anchored"><td class="def field"><a href="#type-t.url" class="anchor"></a><code>url : string;</code></td></tr><tr id="type-t.proxy_url" class="anchored"><td class="def field"><a href="#type-t.proxy_url" class="anchor"></a><code>proxy_url : string;</code></td></tr><tr id="type-t.height" class="anchored"><td class="def field"><a href="#type-t.height" class="anchor"></a><code>height : int;</code></td></tr><tr id="type-t.width" class="anchored"><td class="def field"><a href="#type-t.width" class="anchor"></a><code>width : int;</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></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Attachment (disml.Disml__Attachment)</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> » Disml__Attachment</nav><h1>Module <code>Disml__Attachment</code></h1></header><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="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-t.filename" class="anchored"><td class="def field"><a href="#type-t.filename" class="anchor"></a><code>filename : string;</code></td></tr><tr id="type-t.size" class="anchored"><td class="def field"><a href="#type-t.size" class="anchor"></a><code>size : int;</code></td></tr><tr id="type-t.url" class="anchored"><td class="def field"><a href="#type-t.url" class="anchor"></a><code>url : string;</code></td></tr><tr id="type-t.proxy_url" class="anchored"><td class="def field"><a href="#type-t.proxy_url" class="anchor"></a><code>proxy_url : string;</code></td></tr><tr id="type-t.height" class="anchored"><td class="def field"><a href="#type-t.height" class="anchor"></a><code>height : int;</code></td></tr><tr id="type-t.width" class="anchored"><td class="def field"><a href="#type-t.width" class="anchor"></a><code>width : int;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Ban/index.html b/docs/disml/Disml__Ban/index.html index 63cc6c0..282fb66 100644 --- a/docs/disml/Disml__Ban/index.html +++ b/docs/disml/Disml__Ban/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Ban (disml.Disml__Ban)</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> » Disml__Ban</nav><h1>Module <code>Disml__Ban</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="../Disml/index.html#module-Ban_t">Disml.Ban_t</a></code></span></summary><aside></aside><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.reason" class="anchored"><td class="def field"><a href="#type-t.reason" class="anchor"></a><code>reason : string;</code></td></tr><tr id="type-t.user" class="anchored"><td class="def field"><a href="#type-t.user" class="anchor"></a><code>user : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a>;</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></dl></details></div></div></div></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Ban (disml.Disml__Ban)</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> » Disml__Ban</nav><h1>Module <code>Disml__Ban</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="../Disml/index.html#module-Ban_t">Disml.Ban_t</a></code></span></summary><aside></aside><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.reason" class="anchored"><td class="def field"><a href="#type-t.reason" class="anchor"></a><code>reason : string;</code></td></tr><tr id="type-t.user" class="anchored"><td class="def field"><a href="#type-t.user" class="anchor"></a><code>user : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></dl></details></div></div></div></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Ban_t/index.html b/docs/disml/Disml__Ban_t/index.html index 428a2bb..fa62235 100644 --- a/docs/disml/Disml__Ban_t/index.html +++ b/docs/disml/Disml__Ban_t/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Ban_t (disml.Disml__Ban_t)</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> » Disml__Ban_t</nav><h1>Module <code>Disml__Ban_t</code></h1></header><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.reason" class="anchored"><td class="def field"><a href="#type-t.reason" class="anchor"></a><code>reason : string;</code></td></tr><tr id="type-t.user" class="anchored"><td class="def field"><a href="#type-t.user" class="anchor"></a><code>user : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a>;</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></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Ban_t (disml.Disml__Ban_t)</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> » Disml__Ban_t</nav><h1>Module <code>Disml__Ban_t</code></h1></header><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.reason" class="anchored"><td class="def field"><a href="#type-t.reason" class="anchor"></a><code>reason : string;</code></td></tr><tr id="type-t.user" class="anchored"><td class="def field"><a href="#type-t.user" class="anchor"></a><code>user : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Channel/index.html b/docs/disml/Disml__Channel/index.html index 2f17db2..d6bedf1 100644 --- a/docs/disml/Disml__Channel/index.html +++ b/docs/disml/Disml__Channel/index.html @@ -1,2 +1,10 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Channel (disml.Disml__Channel)</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> » Disml__Channel</nav><h1>Module <code>Disml__Channel</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="../Disml/index.html#module-Channel_t">Disml.Channel_t</a></code></span></summary><aside></aside><dl><dt class="spec exception" id="exception-Invalid_channel"><a href="#exception-Invalid_channel" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">Invalid_channel</span><span class="keyword"> of </span>Yojson.Safe.json</code></dt></dl><dl><dt class="spec type" id="type-group"><a href="#type-group" class="anchor"></a><code><span class="keyword">type </span>group</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-group.id" class="anchored"><td class="def field"><a href="#type-group.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-group.last_message_id" class="anchored"><td class="def field"><a href="#type-group.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-group.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-group.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr><tr id="type-group.icon" class="anchored"><td class="def field"><a href="#type-group.icon" class="anchor"></a><code>icon : string option;</code></td></tr><tr id="type-group.name" class="anchored"><td class="def field"><a href="#type-group.name" class="anchor"></a><code>name : string option;</code></td></tr><tr id="type-group.owner_id" class="anchored"><td class="def field"><a href="#type-group.owner_id" class="anchor"></a><code>owner_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-group.recipients" class="anchored"><td class="def field"><a href="#type-group.recipients" class="anchor"></a><code>recipients : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a> list;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-group_of_sexp"><a href="#val-group_of_sexp" class="anchor"></a><code><span class="keyword">val </span>group_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-group">group</a></code></dt><dt class="spec value" id="val-sexp_of_group"><a href="#val-sexp_of_group" class="anchor"></a><code><span class="keyword">val </span>sexp_of_group : <a href="index.html#type-group">group</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-group_to_yojson"><a href="#val-group_to_yojson" class="anchor"></a><code><span class="keyword">val </span>group_to_yojson : <a href="index.html#type-group">group</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-group_of_yojson"><a href="#val-group_of_yojson" class="anchor"></a><code><span class="keyword">val </span>group_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-group">group</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-group">group</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-group">group</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-group_of_yojson_exn"><a href="#val-group_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>group_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-group">group</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-group">group</a></code></dt></dl><dl><dt class="spec type" id="type-dm"><a href="#type-dm" class="anchor"></a><code><span class="keyword">type </span>dm</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-dm.id" class="anchored"><td class="def field"><a href="#type-dm.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-dm.last_message_id" class="anchored"><td class="def field"><a href="#type-dm.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-dm.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-dm.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-dm_of_sexp"><a href="#val-dm_of_sexp" class="anchor"></a><code><span class="keyword">val </span>dm_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-dm">dm</a></code></dt><dt class="spec value" id="val-sexp_of_dm"><a href="#val-sexp_of_dm" class="anchor"></a><code><span class="keyword">val </span>sexp_of_dm : <a href="index.html#type-dm">dm</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-dm_to_yojson"><a href="#val-dm_to_yojson" class="anchor"></a><code><span class="keyword">val </span>dm_to_yojson : <a href="index.html#type-dm">dm</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-dm_of_yojson"><a href="#val-dm_of_yojson" class="anchor"></a><code><span class="keyword">val </span>dm_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-dm">dm</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-dm">dm</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-dm">dm</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-dm_of_yojson_exn"><a href="#val-dm_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>dm_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-dm">dm</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-dm">dm</a></code></dt></dl><dl><dt class="spec type" id="type-guild_text"><a href="#type-guild_text" class="anchor"></a><code><span class="keyword">type </span>guild_text</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-guild_text.id" class="anchored"><td class="def field"><a href="#type-guild_text.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-guild_text.last_message_id" class="anchored"><td class="def field"><a href="#type-guild_text.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-guild_text.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-guild_text.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr><tr id="type-guild_text.category_id" class="anchored"><td class="def field"><a href="#type-guild_text.category_id" class="anchor"></a><code>category_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-guild_text.guild_id" class="anchored"><td class="def field"><a href="#type-guild_text.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-guild_text.name" class="anchored"><td class="def field"><a href="#type-guild_text.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-guild_text.position" class="anchored"><td class="def field"><a href="#type-guild_text.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-guild_text.topic" class="anchored"><td class="def field"><a href="#type-guild_text.topic" class="anchor"></a><code>topic : string option;</code></td></tr><tr id="type-guild_text.nsfw" class="anchored"><td class="def field"><a href="#type-guild_text.nsfw" class="anchor"></a><code>nsfw : bool;</code></td></tr><tr id="type-guild_text.slow_mode_timeout" class="anchored"><td class="def field"><a href="#type-guild_text.slow_mode_timeout" class="anchor"></a><code>slow_mode_timeout : int option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-guild_text_of_sexp"><a href="#val-guild_text_of_sexp" class="anchor"></a><code><span class="keyword">val </span>guild_text_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-guild_text">guild_text</a></code></dt><dt class="spec value" id="val-sexp_of_guild_text"><a href="#val-sexp_of_guild_text" class="anchor"></a><code><span class="keyword">val </span>sexp_of_guild_text : <a href="index.html#type-guild_text">guild_text</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-guild_text_to_yojson"><a href="#val-guild_text_to_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_text_to_yojson : <a href="index.html#type-guild_text">guild_text</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-guild_text_of_yojson"><a href="#val-guild_text_of_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_text_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_text">guild_text</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-guild_text">guild_text</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-guild_text">guild_text</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-guild_text_of_yojson_exn"><a href="#val-guild_text_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>guild_text_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_text">guild_text</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-guild_text">guild_text</a></code></dt></dl><dl><dt class="spec type" id="type-guild_voice"><a href="#type-guild_voice" class="anchor"></a><code><span class="keyword">type </span>guild_voice</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-guild_voice.id" class="anchored"><td class="def field"><a href="#type-guild_voice.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-guild_voice.category_id" class="anchored"><td class="def field"><a href="#type-guild_voice.category_id" class="anchor"></a><code>category_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-guild_voice.guild_id" class="anchored"><td class="def field"><a href="#type-guild_voice.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-guild_voice.name" class="anchored"><td class="def field"><a href="#type-guild_voice.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-guild_voice.position" class="anchored"><td class="def field"><a href="#type-guild_voice.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-guild_voice.user_limit" class="anchored"><td class="def field"><a href="#type-guild_voice.user_limit" class="anchor"></a><code>user_limit : int;</code></td></tr><tr id="type-guild_voice.bitrate" class="anchored"><td class="def field"><a href="#type-guild_voice.bitrate" class="anchor"></a><code>bitrate : int option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-guild_voice_of_sexp"><a href="#val-guild_voice_of_sexp" class="anchor"></a><code><span class="keyword">val </span>guild_voice_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-guild_voice">guild_voice</a></code></dt><dt class="spec value" id="val-sexp_of_guild_voice"><a href="#val-sexp_of_guild_voice" class="anchor"></a><code><span class="keyword">val </span>sexp_of_guild_voice : <a href="index.html#type-guild_voice">guild_voice</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-guild_voice_to_yojson"><a href="#val-guild_voice_to_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_voice_to_yojson : <a href="index.html#type-guild_voice">guild_voice</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-guild_voice_of_yojson"><a href="#val-guild_voice_of_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_voice_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_voice">guild_voice</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-guild_voice">guild_voice</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-guild_voice">guild_voice</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-guild_voice_of_yojson_exn"><a href="#val-guild_voice_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>guild_voice_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_voice">guild_voice</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-guild_voice">guild_voice</a></code></dt></dl><dl><dt class="spec type" id="type-category"><a href="#type-category" class="anchor"></a><code><span class="keyword">type </span>category</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-category.id" class="anchored"><td class="def field"><a href="#type-category.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-category.guild_id" class="anchored"><td class="def field"><a href="#type-category.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-category.position" class="anchored"><td class="def field"><a href="#type-category.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-category.name" class="anchored"><td class="def field"><a href="#type-category.name" class="anchor"></a><code>name : string;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-category_of_sexp"><a href="#val-category_of_sexp" class="anchor"></a><code><span class="keyword">val </span>category_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-category">category</a></code></dt><dt class="spec value" id="val-sexp_of_category"><a href="#val-sexp_of_category" class="anchor"></a><code><span class="keyword">val </span>sexp_of_category : <a href="index.html#type-category">category</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-category_to_yojson"><a href="#val-category_to_yojson" class="anchor"></a><code><span class="keyword">val </span>category_to_yojson : <a href="index.html#type-category">category</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-category_of_yojson"><a href="#val-category_of_yojson" class="anchor"></a><code><span class="keyword">val </span>category_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-category">category</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-category">category</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-category">category</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-category_of_yojson_exn"><a href="#val-category_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>category_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-category">category</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-category">category</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><table class="variant"><tr id="type-t.Group" class="anchored"><td class="def constructor"><a href="#type-t.Group" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Group</span><span class="keyword"> of </span><a href="index.html#type-group">group</a></code></td></tr><tr id="type-t.Private" class="anchored"><td class="def constructor"><a href="#type-t.Private" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Private</span><span class="keyword"> of </span><a href="index.html#type-dm">dm</a></code></td></tr><tr id="type-t.GuildText" class="anchored"><td class="def constructor"><a href="#type-t.GuildText" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GuildText</span><span class="keyword"> of </span><a href="index.html#type-guild_text">guild_text</a></code></td></tr><tr id="type-t.GuildVoice" class="anchored"><td class="def constructor"><a href="#type-t.GuildVoice" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GuildVoice</span><span class="keyword"> of </span><a href="index.html#type-guild_voice">guild_voice</a></code></td></tr><tr id="type-t.Category" class="anchored"><td class="def constructor"><a href="#type-t.Category" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Category</span><span class="keyword"> of </span><a href="index.html#type-category">category</a></code></td></tr></table></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></dl><dl><dt class="spec type" id="type-channel_wrapper"><a href="#type-channel_wrapper" class="anchor"></a><code><span class="keyword">type </span>channel_wrapper</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-channel_wrapper.id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-channel_wrapper.kind" class="anchored"><td class="def field"><a href="#type-channel_wrapper.kind" class="anchor"></a><code>kind : int;</code></td></tr><tr id="type-channel_wrapper.guild_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.position" class="anchored"><td class="def field"><a href="#type-channel_wrapper.position" class="anchor"></a><code>position : int option;</code></td></tr><tr id="type-channel_wrapper.name" class="anchored"><td class="def field"><a href="#type-channel_wrapper.name" class="anchor"></a><code>name : string option;</code></td></tr><tr id="type-channel_wrapper.topic" class="anchored"><td class="def field"><a href="#type-channel_wrapper.topic" class="anchor"></a><code>topic : string option;</code></td></tr><tr id="type-channel_wrapper.nsfw" class="anchored"><td class="def field"><a href="#type-channel_wrapper.nsfw" class="anchor"></a><code>nsfw : bool option;</code></td></tr><tr id="type-channel_wrapper.last_message_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.bitrate" class="anchored"><td class="def field"><a href="#type-channel_wrapper.bitrate" class="anchor"></a><code>bitrate : int option;</code></td></tr><tr id="type-channel_wrapper.user_limit" class="anchored"><td class="def field"><a href="#type-channel_wrapper.user_limit" class="anchor"></a><code>user_limit : int option;</code></td></tr><tr id="type-channel_wrapper.slow_mode_timeout" class="anchored"><td class="def field"><a href="#type-channel_wrapper.slow_mode_timeout" class="anchor"></a><code>slow_mode_timeout : int option;</code></td></tr><tr id="type-channel_wrapper.recipients" class="anchored"><td class="def field"><a href="#type-channel_wrapper.recipients" class="anchor"></a><code>recipients : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a> list option;</code></td></tr><tr id="type-channel_wrapper.icon" class="anchored"><td class="def field"><a href="#type-channel_wrapper.icon" class="anchor"></a><code>icon : string option;</code></td></tr><tr id="type-channel_wrapper.owner_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.owner_id" class="anchor"></a><code>owner_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.application_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.application_id" class="anchor"></a><code>application_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.category_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.category_id" class="anchor"></a><code>category_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-channel_wrapper.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-channel_wrapper_of_sexp"><a href="#val-channel_wrapper_of_sexp" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-channel_wrapper">channel_wrapper</a></code></dt><dt class="spec value" id="val-sexp_of_channel_wrapper"><a href="#val-sexp_of_channel_wrapper" class="anchor"></a><code><span class="keyword">val </span>sexp_of_channel_wrapper : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-channel_wrapper_to_yojson"><a href="#val-channel_wrapper_to_yojson" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_to_yojson : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-channel_wrapper_of_yojson"><a href="#val-channel_wrapper_of_yojson" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-channel_wrapper">channel_wrapper</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-channel_wrapper">channel_wrapper</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-channel_wrapper">channel_wrapper</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-channel_wrapper_of_yojson_exn"><a href="#val-channel_wrapper_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-channel_wrapper">channel_wrapper</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-channel_wrapper">channel_wrapper</a></code></dt><dt class="spec value" id="val-unwrap_as_guild_text"><a href="#val-unwrap_as_guild_text" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_guild_text : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-guild_text">guild_text</a></code></dt><dt class="spec value" id="val-unwrap_as_guild_voice"><a href="#val-unwrap_as_guild_voice" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_guild_voice : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-guild_voice">guild_voice</a></code></dt><dt class="spec value" id="val-unwrap_as_dm"><a href="#val-unwrap_as_dm" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_dm : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-dm">dm</a></code></dt><dt class="spec value" id="val-unwrap_as_group"><a href="#val-unwrap_as_group" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_group : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-group">group</a></code></dt><dt class="spec value" id="val-unwrap_as_category"><a href="#val-unwrap_as_category" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_category : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-category">category</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-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-get_id"><a href="#val-get_id" class="anchor"></a><code><span class="keyword">val </span>get_id : <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a></code></dt></dl></details></div></div></div><dl><dt class="spec value" id="val-say"><a href="#val-say" class="anchor"></a><code><span class="keyword">val </span>say : content:string <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Message_t/index.html#type-t">Disml.Message_t.t</a> Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-send_message"><a href="#val-send_message" class="anchor"></a><code><span class="keyword">val </span>send_message : ?⁠embed:Yojson.Safe.json <span>-></span> ?⁠content:string <span>-></span> ?⁠file:string <span>-></span> ?⁠tts:bool <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Message_t/index.html#type-t">Disml.Message_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_message"><a href="#val-get_message" class="anchor"></a><code><span class="keyword">val </span>get_message : id:<a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Message_t/index.html#type-t">Disml.Message_t.t</a> Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-get_messages"><a href="#val-get_messages" class="anchor"></a><code><span class="keyword">val </span>get_messages : ?⁠mode:[ `Before<span class="keyword"> | </span>`After<span class="keyword"> | </span>`Around ] <span>-></span> ?⁠id:<a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> ?⁠limit:int <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Message_t/index.html#type-t">Disml.Message_t.t</a> list Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-broadcast_typing"><a href="#val-broadcast_typing" class="anchor"></a><code><span class="keyword">val </span>broadcast_typing : <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_pins"><a href="#val-get_pins" class="anchor"></a><code><span class="keyword">val </span>get_pins : <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Message_t/index.html#type-t">Disml.Message_t.t</a> list Async.Deferred.Or_error.t</code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Channel (disml.Disml__Channel)</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> » Disml__Channel</nav><h1>Module <code>Disml__Channel</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="../Disml/index.html#module-Channel_t">Disml.Channel_t</a></code></span></summary><aside></aside><dl><dt class="spec exception" id="exception-Invalid_channel"><a href="#exception-Invalid_channel" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">Invalid_channel</span><span class="keyword"> of </span>Yojson.Safe.json</code></dt></dl><dl><dt class="spec type" id="type-group"><a href="#type-group" class="anchor"></a><code><span class="keyword">type </span>group</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-group.id" class="anchored"><td class="def field"><a href="#type-group.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-group.last_message_id" class="anchored"><td class="def field"><a href="#type-group.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-group.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-group.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr><tr id="type-group.icon" class="anchored"><td class="def field"><a href="#type-group.icon" class="anchor"></a><code>icon : string option;</code></td></tr><tr id="type-group.name" class="anchored"><td class="def field"><a href="#type-group.name" class="anchor"></a><code>name : string option;</code></td></tr><tr id="type-group.owner_id" class="anchored"><td class="def field"><a href="#type-group.owner_id" class="anchor"></a><code>owner_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-group.recipients" class="anchored"><td class="def field"><a href="#type-group.recipients" class="anchor"></a><code>recipients : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a> list;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-group_of_sexp"><a href="#val-group_of_sexp" class="anchor"></a><code><span class="keyword">val </span>group_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-group">group</a></code></dt><dt class="spec value" id="val-sexp_of_group"><a href="#val-sexp_of_group" class="anchor"></a><code><span class="keyword">val </span>sexp_of_group : <a href="index.html#type-group">group</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-group_to_yojson"><a href="#val-group_to_yojson" class="anchor"></a><code><span class="keyword">val </span>group_to_yojson : <a href="index.html#type-group">group</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-group_of_yojson"><a href="#val-group_of_yojson" class="anchor"></a><code><span class="keyword">val </span>group_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-group">group</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-group_of_yojson_exn"><a href="#val-group_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>group_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-group">group</a></code></dt></dl><dl><dt class="spec type" id="type-dm"><a href="#type-dm" class="anchor"></a><code><span class="keyword">type </span>dm</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-dm.id" class="anchored"><td class="def field"><a href="#type-dm.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-dm.last_message_id" class="anchored"><td class="def field"><a href="#type-dm.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-dm.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-dm.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-dm_of_sexp"><a href="#val-dm_of_sexp" class="anchor"></a><code><span class="keyword">val </span>dm_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-dm">dm</a></code></dt><dt class="spec value" id="val-sexp_of_dm"><a href="#val-sexp_of_dm" class="anchor"></a><code><span class="keyword">val </span>sexp_of_dm : <a href="index.html#type-dm">dm</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-dm_to_yojson"><a href="#val-dm_to_yojson" class="anchor"></a><code><span class="keyword">val </span>dm_to_yojson : <a href="index.html#type-dm">dm</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-dm_of_yojson"><a href="#val-dm_of_yojson" class="anchor"></a><code><span class="keyword">val </span>dm_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-dm">dm</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-dm_of_yojson_exn"><a href="#val-dm_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>dm_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-dm">dm</a></code></dt></dl><dl><dt class="spec type" id="type-guild_text"><a href="#type-guild_text" class="anchor"></a><code><span class="keyword">type </span>guild_text</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-guild_text.id" class="anchored"><td class="def field"><a href="#type-guild_text.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-guild_text.last_message_id" class="anchored"><td class="def field"><a href="#type-guild_text.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-guild_text.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-guild_text.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr><tr id="type-guild_text.category_id" class="anchored"><td class="def field"><a href="#type-guild_text.category_id" class="anchor"></a><code>category_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-guild_text.guild_id" class="anchored"><td class="def field"><a href="#type-guild_text.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-guild_text.name" class="anchored"><td class="def field"><a href="#type-guild_text.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-guild_text.position" class="anchored"><td class="def field"><a href="#type-guild_text.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-guild_text.topic" class="anchored"><td class="def field"><a href="#type-guild_text.topic" class="anchor"></a><code>topic : string option;</code></td></tr><tr id="type-guild_text.nsfw" class="anchored"><td class="def field"><a href="#type-guild_text.nsfw" class="anchor"></a><code>nsfw : bool;</code></td></tr><tr id="type-guild_text.slow_mode_timeout" class="anchored"><td class="def field"><a href="#type-guild_text.slow_mode_timeout" class="anchor"></a><code>slow_mode_timeout : int option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-guild_text_of_sexp"><a href="#val-guild_text_of_sexp" class="anchor"></a><code><span class="keyword">val </span>guild_text_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-guild_text">guild_text</a></code></dt><dt class="spec value" id="val-sexp_of_guild_text"><a href="#val-sexp_of_guild_text" class="anchor"></a><code><span class="keyword">val </span>sexp_of_guild_text : <a href="index.html#type-guild_text">guild_text</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-guild_text_to_yojson"><a href="#val-guild_text_to_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_text_to_yojson : <a href="index.html#type-guild_text">guild_text</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-guild_text_of_yojson"><a href="#val-guild_text_of_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_text_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_text">guild_text</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-guild_text_of_yojson_exn"><a href="#val-guild_text_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>guild_text_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_text">guild_text</a></code></dt></dl><dl><dt class="spec type" id="type-guild_voice"><a href="#type-guild_voice" class="anchor"></a><code><span class="keyword">type </span>guild_voice</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-guild_voice.id" class="anchored"><td class="def field"><a href="#type-guild_voice.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-guild_voice.category_id" class="anchored"><td class="def field"><a href="#type-guild_voice.category_id" class="anchor"></a><code>category_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-guild_voice.guild_id" class="anchored"><td class="def field"><a href="#type-guild_voice.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-guild_voice.name" class="anchored"><td class="def field"><a href="#type-guild_voice.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-guild_voice.position" class="anchored"><td class="def field"><a href="#type-guild_voice.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-guild_voice.user_limit" class="anchored"><td class="def field"><a href="#type-guild_voice.user_limit" class="anchor"></a><code>user_limit : int;</code></td></tr><tr id="type-guild_voice.bitrate" class="anchored"><td class="def field"><a href="#type-guild_voice.bitrate" class="anchor"></a><code>bitrate : int option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-guild_voice_of_sexp"><a href="#val-guild_voice_of_sexp" class="anchor"></a><code><span class="keyword">val </span>guild_voice_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-guild_voice">guild_voice</a></code></dt><dt class="spec value" id="val-sexp_of_guild_voice"><a href="#val-sexp_of_guild_voice" class="anchor"></a><code><span class="keyword">val </span>sexp_of_guild_voice : <a href="index.html#type-guild_voice">guild_voice</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-guild_voice_to_yojson"><a href="#val-guild_voice_to_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_voice_to_yojson : <a href="index.html#type-guild_voice">guild_voice</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-guild_voice_of_yojson"><a href="#val-guild_voice_of_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_voice_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_voice">guild_voice</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-guild_voice_of_yojson_exn"><a href="#val-guild_voice_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>guild_voice_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_voice">guild_voice</a></code></dt></dl><dl><dt class="spec type" id="type-category"><a href="#type-category" class="anchor"></a><code><span class="keyword">type </span>category</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-category.id" class="anchored"><td class="def field"><a href="#type-category.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-category.guild_id" class="anchored"><td class="def field"><a href="#type-category.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-category.position" class="anchored"><td class="def field"><a href="#type-category.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-category.name" class="anchored"><td class="def field"><a href="#type-category.name" class="anchor"></a><code>name : string;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-category_of_sexp"><a href="#val-category_of_sexp" class="anchor"></a><code><span class="keyword">val </span>category_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-category">category</a></code></dt><dt class="spec value" id="val-sexp_of_category"><a href="#val-sexp_of_category" class="anchor"></a><code><span class="keyword">val </span>sexp_of_category : <a href="index.html#type-category">category</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-category_to_yojson"><a href="#val-category_to_yojson" class="anchor"></a><code><span class="keyword">val </span>category_to_yojson : <a href="index.html#type-category">category</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-category_of_yojson"><a href="#val-category_of_yojson" class="anchor"></a><code><span class="keyword">val </span>category_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-category">category</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-category_of_yojson_exn"><a href="#val-category_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>category_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-category">category</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><table class="variant"><tr id="type-t.Group" class="anchored"><td class="def constructor"><a href="#type-t.Group" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Group</span><span class="keyword"> of </span><a href="index.html#type-group">group</a></code></td></tr><tr id="type-t.Private" class="anchored"><td class="def constructor"><a href="#type-t.Private" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Private</span><span class="keyword"> of </span><a href="index.html#type-dm">dm</a></code></td></tr><tr id="type-t.GuildText" class="anchored"><td class="def constructor"><a href="#type-t.GuildText" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GuildText</span><span class="keyword"> of </span><a href="index.html#type-guild_text">guild_text</a></code></td></tr><tr id="type-t.GuildVoice" class="anchored"><td class="def constructor"><a href="#type-t.GuildVoice" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GuildVoice</span><span class="keyword"> of </span><a href="index.html#type-guild_voice">guild_voice</a></code></td></tr><tr id="type-t.Category" class="anchored"><td class="def constructor"><a href="#type-t.Category" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Category</span><span class="keyword"> of </span><a href="index.html#type-category">category</a></code></td></tr></table></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></dl><dl><dt class="spec type" id="type-channel_wrapper"><a href="#type-channel_wrapper" class="anchor"></a><code><span class="keyword">type </span>channel_wrapper</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-channel_wrapper.id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-channel_wrapper.kind" class="anchored"><td class="def field"><a href="#type-channel_wrapper.kind" class="anchor"></a><code>kind : int;</code></td></tr><tr id="type-channel_wrapper.guild_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.position" class="anchored"><td class="def field"><a href="#type-channel_wrapper.position" class="anchor"></a><code>position : int option;</code></td></tr><tr id="type-channel_wrapper.name" class="anchored"><td class="def field"><a href="#type-channel_wrapper.name" class="anchor"></a><code>name : string option;</code></td></tr><tr id="type-channel_wrapper.topic" class="anchored"><td class="def field"><a href="#type-channel_wrapper.topic" class="anchor"></a><code>topic : string option;</code></td></tr><tr id="type-channel_wrapper.nsfw" class="anchored"><td class="def field"><a href="#type-channel_wrapper.nsfw" class="anchor"></a><code>nsfw : bool option;</code></td></tr><tr id="type-channel_wrapper.last_message_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.bitrate" class="anchored"><td class="def field"><a href="#type-channel_wrapper.bitrate" class="anchor"></a><code>bitrate : int option;</code></td></tr><tr id="type-channel_wrapper.user_limit" class="anchored"><td class="def field"><a href="#type-channel_wrapper.user_limit" class="anchor"></a><code>user_limit : int option;</code></td></tr><tr id="type-channel_wrapper.slow_mode_timeout" class="anchored"><td class="def field"><a href="#type-channel_wrapper.slow_mode_timeout" class="anchor"></a><code>slow_mode_timeout : int option;</code></td></tr><tr id="type-channel_wrapper.recipients" class="anchored"><td class="def field"><a href="#type-channel_wrapper.recipients" class="anchor"></a><code>recipients : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a> list option;</code></td></tr><tr id="type-channel_wrapper.icon" class="anchored"><td class="def field"><a href="#type-channel_wrapper.icon" class="anchor"></a><code>icon : string option;</code></td></tr><tr id="type-channel_wrapper.owner_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.owner_id" class="anchor"></a><code>owner_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.application_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.application_id" class="anchor"></a><code>application_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.category_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.category_id" class="anchor"></a><code>category_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-channel_wrapper.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-channel_wrapper_of_sexp"><a href="#val-channel_wrapper_of_sexp" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-channel_wrapper">channel_wrapper</a></code></dt><dt class="spec value" id="val-sexp_of_channel_wrapper"><a href="#val-sexp_of_channel_wrapper" class="anchor"></a><code><span class="keyword">val </span>sexp_of_channel_wrapper : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-channel_wrapper_to_yojson"><a href="#val-channel_wrapper_to_yojson" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_to_yojson : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-channel_wrapper_of_yojson"><a href="#val-channel_wrapper_of_yojson" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-channel_wrapper">channel_wrapper</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-channel_wrapper_of_yojson_exn"><a href="#val-channel_wrapper_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-channel_wrapper">channel_wrapper</a></code></dt><dt class="spec value" id="val-unwrap_as_guild_text"><a href="#val-unwrap_as_guild_text" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_guild_text : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-guild_text">guild_text</a></code></dt><dt class="spec value" id="val-unwrap_as_guild_voice"><a href="#val-unwrap_as_guild_voice" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_guild_voice : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-guild_voice">guild_voice</a></code></dt><dt class="spec value" id="val-unwrap_as_dm"><a href="#val-unwrap_as_dm" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_dm : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-dm">dm</a></code></dt><dt class="spec value" id="val-unwrap_as_group"><a href="#val-unwrap_as_group" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_group : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-group">group</a></code></dt><dt class="spec value" id="val-unwrap_as_category"><a href="#val-unwrap_as_category" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_category : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-category">category</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-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-get_id"><a href="#val-get_id" class="anchor"></a><code><span class="keyword">val </span>get_id : <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a></code></dt></dl></details></div></div></div><dl><dt class="spec exception" id="exception-Invalid_message"><a href="#exception-Invalid_message" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">Invalid_message</span></code></dt><dt class="spec exception" id="exception-No_message_found"><a href="#exception-No_message_found" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">No_message_found</span></code></dt></dl><dl><dt class="spec value" id="val-say"><a href="#val-say" class="anchor"></a><code><span class="keyword">val </span>say : content:string <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Message_t/index.html#type-t">Disml.Message_t.t</a> Async.Deferred.Or_error.t</code></dt><dd><p>Simple version of send_message that only takes <code>~content</code></p></dd></dl><dl><dt class="spec value" id="val-send_message"><a href="#val-send_message" class="anchor"></a><code><span class="keyword">val </span>send_message : ?⁠embed:<a href="../Disml/Embed/index.html#type-t">Disml.Embed.t</a> <span>-></span> ?⁠content:string <span>-></span> ?⁠file:string <span>-></span> ?⁠tts:bool <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Message_t/index.html#type-t">Disml.Message_t.t</a> Async.Deferred.Or_error.t</code></dt><dd><p>Advanced message sending.</p><p>Raises <span class="xref-unresolved" title="unresolved reference to "Channel.Invalid_message""><code>Channel</code>.Invalid_message</span> if one of content or embed is not set.</p><h3 id="examples"><a href="#examples" class="anchor"></a>Examples</h3><pre><code class="ml">open Core +open Disml + +let check_command (msg : Message.t) = + if String.is_prefix ~prefix:"!hello" msg.content then + let embed = { Embed.default with title = Some "Hello World!" } in + Channel.send_message ~embed msg.channel >>> ignore + +Client.message_create := check_command</code></pre></dd></dl><dl><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_message"><a href="#val-get_message" class="anchor"></a><code><span class="keyword">val </span>get_message : id:<a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Message_t/index.html#type-t">Disml.Message_t.t</a> Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-get_messages"><a href="#val-get_messages" class="anchor"></a><code><span class="keyword">val </span>get_messages : ?⁠mode:[ `Before<span class="keyword"> | </span>`After<span class="keyword"> | </span>`Around ] <span>-></span> ?⁠id:<a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> ?⁠limit:int <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Message_t/index.html#type-t">Disml.Message_t.t</a> list Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-broadcast_typing"><a href="#val-broadcast_typing" class="anchor"></a><code><span class="keyword">val </span>broadcast_typing : <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_pins"><a href="#val-get_pins" class="anchor"></a><code><span class="keyword">val </span>get_pins : <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Message_t/index.html#type-t">Disml.Message_t.t</a> list Async.Deferred.Or_error.t</code></dt></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Channel_t/index.html b/docs/disml/Disml__Channel_t/index.html index a3199ac..5bf4191 100644 --- a/docs/disml/Disml__Channel_t/index.html +++ b/docs/disml/Disml__Channel_t/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Channel_t (disml.Disml__Channel_t)</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> » Disml__Channel_t</nav><h1>Module <code>Disml__Channel_t</code></h1></header><dl><dt class="spec exception" id="exception-Invalid_channel"><a href="#exception-Invalid_channel" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">Invalid_channel</span><span class="keyword"> of </span>Yojson.Safe.json</code></dt></dl><dl><dt class="spec type" id="type-group"><a href="#type-group" class="anchor"></a><code><span class="keyword">type </span>group</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-group.id" class="anchored"><td class="def field"><a href="#type-group.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-group.last_message_id" class="anchored"><td class="def field"><a href="#type-group.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-group.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-group.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr><tr id="type-group.icon" class="anchored"><td class="def field"><a href="#type-group.icon" class="anchor"></a><code>icon : string option;</code></td></tr><tr id="type-group.name" class="anchored"><td class="def field"><a href="#type-group.name" class="anchor"></a><code>name : string option;</code></td></tr><tr id="type-group.owner_id" class="anchored"><td class="def field"><a href="#type-group.owner_id" class="anchor"></a><code>owner_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-group.recipients" class="anchored"><td class="def field"><a href="#type-group.recipients" class="anchor"></a><code>recipients : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a> list;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-group_of_sexp"><a href="#val-group_of_sexp" class="anchor"></a><code><span class="keyword">val </span>group_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-group">group</a></code></dt><dt class="spec value" id="val-sexp_of_group"><a href="#val-sexp_of_group" class="anchor"></a><code><span class="keyword">val </span>sexp_of_group : <a href="index.html#type-group">group</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-group_to_yojson"><a href="#val-group_to_yojson" class="anchor"></a><code><span class="keyword">val </span>group_to_yojson : <a href="index.html#type-group">group</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-group_of_yojson"><a href="#val-group_of_yojson" class="anchor"></a><code><span class="keyword">val </span>group_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-group">group</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-group">group</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-group">group</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-group_of_yojson_exn"><a href="#val-group_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>group_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-group">group</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-group">group</a></code></dt></dl><dl><dt class="spec type" id="type-dm"><a href="#type-dm" class="anchor"></a><code><span class="keyword">type </span>dm</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-dm.id" class="anchored"><td class="def field"><a href="#type-dm.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-dm.last_message_id" class="anchored"><td class="def field"><a href="#type-dm.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-dm.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-dm.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-dm_of_sexp"><a href="#val-dm_of_sexp" class="anchor"></a><code><span class="keyword">val </span>dm_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-dm">dm</a></code></dt><dt class="spec value" id="val-sexp_of_dm"><a href="#val-sexp_of_dm" class="anchor"></a><code><span class="keyword">val </span>sexp_of_dm : <a href="index.html#type-dm">dm</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-dm_to_yojson"><a href="#val-dm_to_yojson" class="anchor"></a><code><span class="keyword">val </span>dm_to_yojson : <a href="index.html#type-dm">dm</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-dm_of_yojson"><a href="#val-dm_of_yojson" class="anchor"></a><code><span class="keyword">val </span>dm_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-dm">dm</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-dm">dm</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-dm">dm</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-dm_of_yojson_exn"><a href="#val-dm_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>dm_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-dm">dm</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-dm">dm</a></code></dt></dl><dl><dt class="spec type" id="type-guild_text"><a href="#type-guild_text" class="anchor"></a><code><span class="keyword">type </span>guild_text</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-guild_text.id" class="anchored"><td class="def field"><a href="#type-guild_text.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-guild_text.last_message_id" class="anchored"><td class="def field"><a href="#type-guild_text.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-guild_text.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-guild_text.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr><tr id="type-guild_text.category_id" class="anchored"><td class="def field"><a href="#type-guild_text.category_id" class="anchor"></a><code>category_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-guild_text.guild_id" class="anchored"><td class="def field"><a href="#type-guild_text.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-guild_text.name" class="anchored"><td class="def field"><a href="#type-guild_text.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-guild_text.position" class="anchored"><td class="def field"><a href="#type-guild_text.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-guild_text.topic" class="anchored"><td class="def field"><a href="#type-guild_text.topic" class="anchor"></a><code>topic : string option;</code></td></tr><tr id="type-guild_text.nsfw" class="anchored"><td class="def field"><a href="#type-guild_text.nsfw" class="anchor"></a><code>nsfw : bool;</code></td></tr><tr id="type-guild_text.slow_mode_timeout" class="anchored"><td class="def field"><a href="#type-guild_text.slow_mode_timeout" class="anchor"></a><code>slow_mode_timeout : int option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-guild_text_of_sexp"><a href="#val-guild_text_of_sexp" class="anchor"></a><code><span class="keyword">val </span>guild_text_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-guild_text">guild_text</a></code></dt><dt class="spec value" id="val-sexp_of_guild_text"><a href="#val-sexp_of_guild_text" class="anchor"></a><code><span class="keyword">val </span>sexp_of_guild_text : <a href="index.html#type-guild_text">guild_text</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-guild_text_to_yojson"><a href="#val-guild_text_to_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_text_to_yojson : <a href="index.html#type-guild_text">guild_text</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-guild_text_of_yojson"><a href="#val-guild_text_of_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_text_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_text">guild_text</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-guild_text">guild_text</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-guild_text">guild_text</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-guild_text_of_yojson_exn"><a href="#val-guild_text_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>guild_text_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_text">guild_text</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-guild_text">guild_text</a></code></dt></dl><dl><dt class="spec type" id="type-guild_voice"><a href="#type-guild_voice" class="anchor"></a><code><span class="keyword">type </span>guild_voice</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-guild_voice.id" class="anchored"><td class="def field"><a href="#type-guild_voice.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-guild_voice.category_id" class="anchored"><td class="def field"><a href="#type-guild_voice.category_id" class="anchor"></a><code>category_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-guild_voice.guild_id" class="anchored"><td class="def field"><a href="#type-guild_voice.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-guild_voice.name" class="anchored"><td class="def field"><a href="#type-guild_voice.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-guild_voice.position" class="anchored"><td class="def field"><a href="#type-guild_voice.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-guild_voice.user_limit" class="anchored"><td class="def field"><a href="#type-guild_voice.user_limit" class="anchor"></a><code>user_limit : int;</code></td></tr><tr id="type-guild_voice.bitrate" class="anchored"><td class="def field"><a href="#type-guild_voice.bitrate" class="anchor"></a><code>bitrate : int option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-guild_voice_of_sexp"><a href="#val-guild_voice_of_sexp" class="anchor"></a><code><span class="keyword">val </span>guild_voice_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-guild_voice">guild_voice</a></code></dt><dt class="spec value" id="val-sexp_of_guild_voice"><a href="#val-sexp_of_guild_voice" class="anchor"></a><code><span class="keyword">val </span>sexp_of_guild_voice : <a href="index.html#type-guild_voice">guild_voice</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-guild_voice_to_yojson"><a href="#val-guild_voice_to_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_voice_to_yojson : <a href="index.html#type-guild_voice">guild_voice</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-guild_voice_of_yojson"><a href="#val-guild_voice_of_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_voice_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_voice">guild_voice</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-guild_voice">guild_voice</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-guild_voice">guild_voice</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-guild_voice_of_yojson_exn"><a href="#val-guild_voice_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>guild_voice_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_voice">guild_voice</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-guild_voice">guild_voice</a></code></dt></dl><dl><dt class="spec type" id="type-category"><a href="#type-category" class="anchor"></a><code><span class="keyword">type </span>category</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-category.id" class="anchored"><td class="def field"><a href="#type-category.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-category.guild_id" class="anchored"><td class="def field"><a href="#type-category.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-category.position" class="anchored"><td class="def field"><a href="#type-category.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-category.name" class="anchored"><td class="def field"><a href="#type-category.name" class="anchor"></a><code>name : string;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-category_of_sexp"><a href="#val-category_of_sexp" class="anchor"></a><code><span class="keyword">val </span>category_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-category">category</a></code></dt><dt class="spec value" id="val-sexp_of_category"><a href="#val-sexp_of_category" class="anchor"></a><code><span class="keyword">val </span>sexp_of_category : <a href="index.html#type-category">category</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-category_to_yojson"><a href="#val-category_to_yojson" class="anchor"></a><code><span class="keyword">val </span>category_to_yojson : <a href="index.html#type-category">category</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-category_of_yojson"><a href="#val-category_of_yojson" class="anchor"></a><code><span class="keyword">val </span>category_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-category">category</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-category">category</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-category">category</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-category_of_yojson_exn"><a href="#val-category_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>category_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-category">category</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-category">category</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><table class="variant"><tr id="type-t.Group" class="anchored"><td class="def constructor"><a href="#type-t.Group" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Group</span><span class="keyword"> of </span><a href="index.html#type-group">group</a></code></td></tr><tr id="type-t.Private" class="anchored"><td class="def constructor"><a href="#type-t.Private" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Private</span><span class="keyword"> of </span><a href="index.html#type-dm">dm</a></code></td></tr><tr id="type-t.GuildText" class="anchored"><td class="def constructor"><a href="#type-t.GuildText" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GuildText</span><span class="keyword"> of </span><a href="index.html#type-guild_text">guild_text</a></code></td></tr><tr id="type-t.GuildVoice" class="anchored"><td class="def constructor"><a href="#type-t.GuildVoice" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GuildVoice</span><span class="keyword"> of </span><a href="index.html#type-guild_voice">guild_voice</a></code></td></tr><tr id="type-t.Category" class="anchored"><td class="def constructor"><a href="#type-t.Category" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Category</span><span class="keyword"> of </span><a href="index.html#type-category">category</a></code></td></tr></table></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></dl><dl><dt class="spec type" id="type-channel_wrapper"><a href="#type-channel_wrapper" class="anchor"></a><code><span class="keyword">type </span>channel_wrapper</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-channel_wrapper.id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-channel_wrapper.kind" class="anchored"><td class="def field"><a href="#type-channel_wrapper.kind" class="anchor"></a><code>kind : int;</code></td></tr><tr id="type-channel_wrapper.guild_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.position" class="anchored"><td class="def field"><a href="#type-channel_wrapper.position" class="anchor"></a><code>position : int option;</code></td></tr><tr id="type-channel_wrapper.name" class="anchored"><td class="def field"><a href="#type-channel_wrapper.name" class="anchor"></a><code>name : string option;</code></td></tr><tr id="type-channel_wrapper.topic" class="anchored"><td class="def field"><a href="#type-channel_wrapper.topic" class="anchor"></a><code>topic : string option;</code></td></tr><tr id="type-channel_wrapper.nsfw" class="anchored"><td class="def field"><a href="#type-channel_wrapper.nsfw" class="anchor"></a><code>nsfw : bool option;</code></td></tr><tr id="type-channel_wrapper.last_message_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.bitrate" class="anchored"><td class="def field"><a href="#type-channel_wrapper.bitrate" class="anchor"></a><code>bitrate : int option;</code></td></tr><tr id="type-channel_wrapper.user_limit" class="anchored"><td class="def field"><a href="#type-channel_wrapper.user_limit" class="anchor"></a><code>user_limit : int option;</code></td></tr><tr id="type-channel_wrapper.slow_mode_timeout" class="anchored"><td class="def field"><a href="#type-channel_wrapper.slow_mode_timeout" class="anchor"></a><code>slow_mode_timeout : int option;</code></td></tr><tr id="type-channel_wrapper.recipients" class="anchored"><td class="def field"><a href="#type-channel_wrapper.recipients" class="anchor"></a><code>recipients : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a> list option;</code></td></tr><tr id="type-channel_wrapper.icon" class="anchored"><td class="def field"><a href="#type-channel_wrapper.icon" class="anchor"></a><code>icon : string option;</code></td></tr><tr id="type-channel_wrapper.owner_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.owner_id" class="anchor"></a><code>owner_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.application_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.application_id" class="anchor"></a><code>application_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.category_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.category_id" class="anchor"></a><code>category_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-channel_wrapper.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-channel_wrapper_of_sexp"><a href="#val-channel_wrapper_of_sexp" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-channel_wrapper">channel_wrapper</a></code></dt><dt class="spec value" id="val-sexp_of_channel_wrapper"><a href="#val-sexp_of_channel_wrapper" class="anchor"></a><code><span class="keyword">val </span>sexp_of_channel_wrapper : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-channel_wrapper_to_yojson"><a href="#val-channel_wrapper_to_yojson" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_to_yojson : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-channel_wrapper_of_yojson"><a href="#val-channel_wrapper_of_yojson" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-channel_wrapper">channel_wrapper</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-channel_wrapper">channel_wrapper</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-channel_wrapper">channel_wrapper</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-channel_wrapper_of_yojson_exn"><a href="#val-channel_wrapper_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-channel_wrapper">channel_wrapper</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-channel_wrapper">channel_wrapper</a></code></dt><dt class="spec value" id="val-unwrap_as_guild_text"><a href="#val-unwrap_as_guild_text" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_guild_text : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-guild_text">guild_text</a></code></dt><dt class="spec value" id="val-unwrap_as_guild_voice"><a href="#val-unwrap_as_guild_voice" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_guild_voice : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-guild_voice">guild_voice</a></code></dt><dt class="spec value" id="val-unwrap_as_dm"><a href="#val-unwrap_as_dm" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_dm : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-dm">dm</a></code></dt><dt class="spec value" id="val-unwrap_as_group"><a href="#val-unwrap_as_group" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_group : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-group">group</a></code></dt><dt class="spec value" id="val-unwrap_as_category"><a href="#val-unwrap_as_category" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_category : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-category">category</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-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-get_id"><a href="#val-get_id" class="anchor"></a><code><span class="keyword">val </span>get_id : <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a></code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Channel_t (disml.Disml__Channel_t)</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> » Disml__Channel_t</nav><h1>Module <code>Disml__Channel_t</code></h1></header><dl><dt class="spec exception" id="exception-Invalid_channel"><a href="#exception-Invalid_channel" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">Invalid_channel</span><span class="keyword"> of </span>Yojson.Safe.json</code></dt></dl><dl><dt class="spec type" id="type-group"><a href="#type-group" class="anchor"></a><code><span class="keyword">type </span>group</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-group.id" class="anchored"><td class="def field"><a href="#type-group.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-group.last_message_id" class="anchored"><td class="def field"><a href="#type-group.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-group.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-group.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr><tr id="type-group.icon" class="anchored"><td class="def field"><a href="#type-group.icon" class="anchor"></a><code>icon : string option;</code></td></tr><tr id="type-group.name" class="anchored"><td class="def field"><a href="#type-group.name" class="anchor"></a><code>name : string option;</code></td></tr><tr id="type-group.owner_id" class="anchored"><td class="def field"><a href="#type-group.owner_id" class="anchor"></a><code>owner_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-group.recipients" class="anchored"><td class="def field"><a href="#type-group.recipients" class="anchor"></a><code>recipients : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a> list;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-group_of_sexp"><a href="#val-group_of_sexp" class="anchor"></a><code><span class="keyword">val </span>group_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-group">group</a></code></dt><dt class="spec value" id="val-sexp_of_group"><a href="#val-sexp_of_group" class="anchor"></a><code><span class="keyword">val </span>sexp_of_group : <a href="index.html#type-group">group</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-group_to_yojson"><a href="#val-group_to_yojson" class="anchor"></a><code><span class="keyword">val </span>group_to_yojson : <a href="index.html#type-group">group</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-group_of_yojson"><a href="#val-group_of_yojson" class="anchor"></a><code><span class="keyword">val </span>group_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-group">group</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-group_of_yojson_exn"><a href="#val-group_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>group_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-group">group</a></code></dt></dl><dl><dt class="spec type" id="type-dm"><a href="#type-dm" class="anchor"></a><code><span class="keyword">type </span>dm</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-dm.id" class="anchored"><td class="def field"><a href="#type-dm.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-dm.last_message_id" class="anchored"><td class="def field"><a href="#type-dm.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-dm.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-dm.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-dm_of_sexp"><a href="#val-dm_of_sexp" class="anchor"></a><code><span class="keyword">val </span>dm_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-dm">dm</a></code></dt><dt class="spec value" id="val-sexp_of_dm"><a href="#val-sexp_of_dm" class="anchor"></a><code><span class="keyword">val </span>sexp_of_dm : <a href="index.html#type-dm">dm</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-dm_to_yojson"><a href="#val-dm_to_yojson" class="anchor"></a><code><span class="keyword">val </span>dm_to_yojson : <a href="index.html#type-dm">dm</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-dm_of_yojson"><a href="#val-dm_of_yojson" class="anchor"></a><code><span class="keyword">val </span>dm_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-dm">dm</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-dm_of_yojson_exn"><a href="#val-dm_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>dm_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-dm">dm</a></code></dt></dl><dl><dt class="spec type" id="type-guild_text"><a href="#type-guild_text" class="anchor"></a><code><span class="keyword">type </span>guild_text</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-guild_text.id" class="anchored"><td class="def field"><a href="#type-guild_text.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-guild_text.last_message_id" class="anchored"><td class="def field"><a href="#type-guild_text.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-guild_text.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-guild_text.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr><tr id="type-guild_text.category_id" class="anchored"><td class="def field"><a href="#type-guild_text.category_id" class="anchor"></a><code>category_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-guild_text.guild_id" class="anchored"><td class="def field"><a href="#type-guild_text.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-guild_text.name" class="anchored"><td class="def field"><a href="#type-guild_text.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-guild_text.position" class="anchored"><td class="def field"><a href="#type-guild_text.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-guild_text.topic" class="anchored"><td class="def field"><a href="#type-guild_text.topic" class="anchor"></a><code>topic : string option;</code></td></tr><tr id="type-guild_text.nsfw" class="anchored"><td class="def field"><a href="#type-guild_text.nsfw" class="anchor"></a><code>nsfw : bool;</code></td></tr><tr id="type-guild_text.slow_mode_timeout" class="anchored"><td class="def field"><a href="#type-guild_text.slow_mode_timeout" class="anchor"></a><code>slow_mode_timeout : int option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-guild_text_of_sexp"><a href="#val-guild_text_of_sexp" class="anchor"></a><code><span class="keyword">val </span>guild_text_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-guild_text">guild_text</a></code></dt><dt class="spec value" id="val-sexp_of_guild_text"><a href="#val-sexp_of_guild_text" class="anchor"></a><code><span class="keyword">val </span>sexp_of_guild_text : <a href="index.html#type-guild_text">guild_text</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-guild_text_to_yojson"><a href="#val-guild_text_to_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_text_to_yojson : <a href="index.html#type-guild_text">guild_text</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-guild_text_of_yojson"><a href="#val-guild_text_of_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_text_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_text">guild_text</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-guild_text_of_yojson_exn"><a href="#val-guild_text_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>guild_text_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_text">guild_text</a></code></dt></dl><dl><dt class="spec type" id="type-guild_voice"><a href="#type-guild_voice" class="anchor"></a><code><span class="keyword">type </span>guild_voice</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-guild_voice.id" class="anchored"><td class="def field"><a href="#type-guild_voice.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-guild_voice.category_id" class="anchored"><td class="def field"><a href="#type-guild_voice.category_id" class="anchor"></a><code>category_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-guild_voice.guild_id" class="anchored"><td class="def field"><a href="#type-guild_voice.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-guild_voice.name" class="anchored"><td class="def field"><a href="#type-guild_voice.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-guild_voice.position" class="anchored"><td class="def field"><a href="#type-guild_voice.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-guild_voice.user_limit" class="anchored"><td class="def field"><a href="#type-guild_voice.user_limit" class="anchor"></a><code>user_limit : int;</code></td></tr><tr id="type-guild_voice.bitrate" class="anchored"><td class="def field"><a href="#type-guild_voice.bitrate" class="anchor"></a><code>bitrate : int option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-guild_voice_of_sexp"><a href="#val-guild_voice_of_sexp" class="anchor"></a><code><span class="keyword">val </span>guild_voice_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-guild_voice">guild_voice</a></code></dt><dt class="spec value" id="val-sexp_of_guild_voice"><a href="#val-sexp_of_guild_voice" class="anchor"></a><code><span class="keyword">val </span>sexp_of_guild_voice : <a href="index.html#type-guild_voice">guild_voice</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-guild_voice_to_yojson"><a href="#val-guild_voice_to_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_voice_to_yojson : <a href="index.html#type-guild_voice">guild_voice</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-guild_voice_of_yojson"><a href="#val-guild_voice_of_yojson" class="anchor"></a><code><span class="keyword">val </span>guild_voice_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_voice">guild_voice</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-guild_voice_of_yojson_exn"><a href="#val-guild_voice_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>guild_voice_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-guild_voice">guild_voice</a></code></dt></dl><dl><dt class="spec type" id="type-category"><a href="#type-category" class="anchor"></a><code><span class="keyword">type </span>category</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-category.id" class="anchored"><td class="def field"><a href="#type-category.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-category.guild_id" class="anchored"><td class="def field"><a href="#type-category.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-category.position" class="anchored"><td class="def field"><a href="#type-category.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-category.name" class="anchored"><td class="def field"><a href="#type-category.name" class="anchor"></a><code>name : string;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-category_of_sexp"><a href="#val-category_of_sexp" class="anchor"></a><code><span class="keyword">val </span>category_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-category">category</a></code></dt><dt class="spec value" id="val-sexp_of_category"><a href="#val-sexp_of_category" class="anchor"></a><code><span class="keyword">val </span>sexp_of_category : <a href="index.html#type-category">category</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-category_to_yojson"><a href="#val-category_to_yojson" class="anchor"></a><code><span class="keyword">val </span>category_to_yojson : <a href="index.html#type-category">category</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-category_of_yojson"><a href="#val-category_of_yojson" class="anchor"></a><code><span class="keyword">val </span>category_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-category">category</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-category_of_yojson_exn"><a href="#val-category_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>category_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-category">category</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><table class="variant"><tr id="type-t.Group" class="anchored"><td class="def constructor"><a href="#type-t.Group" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Group</span><span class="keyword"> of </span><a href="index.html#type-group">group</a></code></td></tr><tr id="type-t.Private" class="anchored"><td class="def constructor"><a href="#type-t.Private" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Private</span><span class="keyword"> of </span><a href="index.html#type-dm">dm</a></code></td></tr><tr id="type-t.GuildText" class="anchored"><td class="def constructor"><a href="#type-t.GuildText" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GuildText</span><span class="keyword"> of </span><a href="index.html#type-guild_text">guild_text</a></code></td></tr><tr id="type-t.GuildVoice" class="anchored"><td class="def constructor"><a href="#type-t.GuildVoice" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GuildVoice</span><span class="keyword"> of </span><a href="index.html#type-guild_voice">guild_voice</a></code></td></tr><tr id="type-t.Category" class="anchored"><td class="def constructor"><a href="#type-t.Category" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Category</span><span class="keyword"> of </span><a href="index.html#type-category">category</a></code></td></tr></table></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></dl><dl><dt class="spec type" id="type-channel_wrapper"><a href="#type-channel_wrapper" class="anchor"></a><code><span class="keyword">type </span>channel_wrapper</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-channel_wrapper.id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-channel_wrapper.kind" class="anchored"><td class="def field"><a href="#type-channel_wrapper.kind" class="anchor"></a><code>kind : int;</code></td></tr><tr id="type-channel_wrapper.guild_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.position" class="anchored"><td class="def field"><a href="#type-channel_wrapper.position" class="anchor"></a><code>position : int option;</code></td></tr><tr id="type-channel_wrapper.name" class="anchored"><td class="def field"><a href="#type-channel_wrapper.name" class="anchor"></a><code>name : string option;</code></td></tr><tr id="type-channel_wrapper.topic" class="anchored"><td class="def field"><a href="#type-channel_wrapper.topic" class="anchor"></a><code>topic : string option;</code></td></tr><tr id="type-channel_wrapper.nsfw" class="anchored"><td class="def field"><a href="#type-channel_wrapper.nsfw" class="anchor"></a><code>nsfw : bool option;</code></td></tr><tr id="type-channel_wrapper.last_message_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.last_message_id" class="anchor"></a><code>last_message_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.bitrate" class="anchored"><td class="def field"><a href="#type-channel_wrapper.bitrate" class="anchor"></a><code>bitrate : int option;</code></td></tr><tr id="type-channel_wrapper.user_limit" class="anchored"><td class="def field"><a href="#type-channel_wrapper.user_limit" class="anchor"></a><code>user_limit : int option;</code></td></tr><tr id="type-channel_wrapper.slow_mode_timeout" class="anchored"><td class="def field"><a href="#type-channel_wrapper.slow_mode_timeout" class="anchor"></a><code>slow_mode_timeout : int option;</code></td></tr><tr id="type-channel_wrapper.recipients" class="anchored"><td class="def field"><a href="#type-channel_wrapper.recipients" class="anchor"></a><code>recipients : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a> list option;</code></td></tr><tr id="type-channel_wrapper.icon" class="anchored"><td class="def field"><a href="#type-channel_wrapper.icon" class="anchor"></a><code>icon : string option;</code></td></tr><tr id="type-channel_wrapper.owner_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.owner_id" class="anchor"></a><code>owner_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.application_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.application_id" class="anchor"></a><code>application_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.category_id" class="anchored"><td class="def field"><a href="#type-channel_wrapper.category_id" class="anchor"></a><code>category_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-channel_wrapper.last_pin_timestamp" class="anchored"><td class="def field"><a href="#type-channel_wrapper.last_pin_timestamp" class="anchor"></a><code>last_pin_timestamp : string option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-channel_wrapper_of_sexp"><a href="#val-channel_wrapper_of_sexp" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-channel_wrapper">channel_wrapper</a></code></dt><dt class="spec value" id="val-sexp_of_channel_wrapper"><a href="#val-sexp_of_channel_wrapper" class="anchor"></a><code><span class="keyword">val </span>sexp_of_channel_wrapper : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-channel_wrapper_to_yojson"><a href="#val-channel_wrapper_to_yojson" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_to_yojson : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-channel_wrapper_of_yojson"><a href="#val-channel_wrapper_of_yojson" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-channel_wrapper">channel_wrapper</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-channel_wrapper_of_yojson_exn"><a href="#val-channel_wrapper_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>channel_wrapper_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-channel_wrapper">channel_wrapper</a></code></dt><dt class="spec value" id="val-unwrap_as_guild_text"><a href="#val-unwrap_as_guild_text" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_guild_text : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-guild_text">guild_text</a></code></dt><dt class="spec value" id="val-unwrap_as_guild_voice"><a href="#val-unwrap_as_guild_voice" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_guild_voice : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-guild_voice">guild_voice</a></code></dt><dt class="spec value" id="val-unwrap_as_dm"><a href="#val-unwrap_as_dm" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_dm : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-dm">dm</a></code></dt><dt class="spec value" id="val-unwrap_as_group"><a href="#val-unwrap_as_group" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_group : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-group">group</a></code></dt><dt class="spec value" id="val-unwrap_as_category"><a href="#val-unwrap_as_category" class="anchor"></a><code><span class="keyword">val </span>unwrap_as_category : <a href="index.html#type-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-category">category</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-channel_wrapper">channel_wrapper</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-get_id"><a href="#val-get_id" class="anchor"></a><code><span class="keyword">val </span>get_id : <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a></code></dt></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Client/index.html b/docs/disml/Disml__Client/index.html index c5b95af..b959c75 100644 --- a/docs/disml/Disml__Client/index.html +++ b/docs/disml/Disml__Client/index.html @@ -1,2 +1,17 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Client (disml.Disml__Client)</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> » Disml__Client</nav><h1>Module <code>Disml__Client</code></h1></header><div><div class="spec include"><div class="doc"><details open="open"><summary><span class="def"><code><span class="keyword">include </span><a href="../Disml/index.html#module-Client_options">Disml.Client_options</a></code></span></summary><aside></aside><dl><dt class="spec value" id="val-token"><a href="#val-token" class="anchor"></a><code><span class="keyword">val </span>token : string Stdlib.ref</code></dt></dl></details></div></div></div><div><div class="spec include"><div class="doc"><details open="open"><summary><span class="def"><code><span class="keyword">include </span><a href="../Disml/index.html#module-Dispatch">Disml.Dispatch</a></code></span></summary><aside></aside><dl><dt class="spec value" id="val-hello"><a href="#val-hello" class="anchor"></a><code><span class="keyword">val </span>hello : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when connecting to the gateway, most users will have no use for this.</p></dd></dl><dl><dt class="spec value" id="val-ready"><a href="#val-ready" class="anchor"></a><code><span class="keyword">val </span>ready : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when each shard receives READY from discord after identifying on the gateway. Other event dispatch is received after this.</p></dd></dl><dl><dt class="spec value" id="val-resumed"><a href="#val-resumed" class="anchor"></a><code><span class="keyword">val </span>resumed : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when successfully reconnecting to the gateway.</p></dd></dl><dl><dt class="spec value" id="val-invalid_session"><a href="#val-invalid_session" class="anchor"></a><code><span class="keyword">val </span>invalid_session : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when Discord decides a session is invalid, much like <span class="xref-unresolved" title="unresolved reference to "Client.hello""><code>Client</code>.hello</span> this is not very useful for most people.</p></dd></dl><dl><dt class="spec value" id="val-channel_create"><a href="#val-channel_create" class="anchor"></a><code><span class="keyword">val </span>channel_create : (<a href="../Disml/Channel_t/index.html#type-t">Disml.Channel_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a channel is created which is visible to the bot.</p></dd></dl><dl><dt class="spec value" id="val-channel_update"><a href="#val-channel_update" class="anchor"></a><code><span class="keyword">val </span>channel_update : (<a href="../Disml/Channel_t/index.html#type-t">Disml.Channel_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a channel visible to the bot is changed.</p></dd></dl><dl><dt class="spec value" id="val-channel_delete"><a href="#val-channel_delete" class="anchor"></a><code><span class="keyword">val </span>channel_delete : (<a href="../Disml/Channel_t/index.html#type-t">Disml.Channel_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a channel visible to the bot is deleted.</p></dd></dl><dl><dt class="spec value" id="val-channel_pins_update"><a href="#val-channel_pins_update" class="anchor"></a><code><span class="keyword">val </span>channel_pins_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when messages are pinned or unpinned from a a channel.</p></dd></dl><dl><dt class="spec value" id="val-guild_create"><a href="#val-guild_create" class="anchor"></a><code><span class="keyword">val </span>guild_create : (<a href="../Disml/Guild_t/index.html#type-t">Disml.Guild_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when the bot joins a guild, and during startup.</p></dd></dl><dl><dt class="spec value" id="val-guild_update"><a href="#val-guild_update" class="anchor"></a><code><span class="keyword">val </span>guild_update : (<a href="../Disml/Guild_t/index.html#type-t">Disml.Guild_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a guild the bot is in is edited.</p></dd></dl><dl><dt class="spec value" id="val-guild_delete"><a href="#val-guild_delete" class="anchor"></a><code><span class="keyword">val </span>guild_delete : (<a href="../Disml/Guild_t/index.html#type-t">Disml.Guild_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when the bot is removed from a guild.</p></dd></dl><dl><dt class="spec value" id="val-member_ban"><a href="#val-member_ban" class="anchor"></a><code><span class="keyword">val </span>member_ban : (<a href="../Disml/Ban_t/index.html#type-t">Disml.Ban_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member is banned.</p></dd></dl><dl><dt class="spec value" id="val-member_unban"><a href="#val-member_unban" class="anchor"></a><code><span class="keyword">val </span>member_unban : (<a href="../Disml/Ban_t/index.html#type-t">Disml.Ban_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member is unbanned.</p></dd></dl><dl><dt class="spec value" id="val-guild_emojis_update"><a href="#val-guild_emojis_update" class="anchor"></a><code><span class="keyword">val </span>guild_emojis_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when emojis are added or removed from a guild.</p></dd></dl><dl><dt class="spec value" id="val-integrations_update"><a href="#val-integrations_update" class="anchor"></a><code><span class="keyword">val </span>integrations_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a guild's integrations are updated.</p></dd></dl><dl><dt class="spec value" id="val-member_join"><a href="#val-member_join" class="anchor"></a><code><span class="keyword">val </span>member_join : (<a href="../Disml/Member_t/index.html#type-t">Disml.Member_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member joins a guild.</p></dd></dl><dl><dt class="spec value" id="val-member_leave"><a href="#val-member_leave" class="anchor"></a><code><span class="keyword">val </span>member_leave : (<a href="../Disml/Member_t/index.html#type-member_wrapper">Disml.Member_t.member_wrapper</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member leaves a guild. Is Dispatched alongside <span class="xref-unresolved" title="unresolved reference to "Client.member_ban""><code>Client</code>.member_ban</span> when a user is banned.</p></dd></dl><dl><dt class="spec value" id="val-member_update"><a href="#val-member_update" class="anchor"></a><code><span class="keyword">val </span>member_update : (<a href="../Disml/Member_t/index.html#type-member_update">Disml.Member_t.member_update</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member object is updated.</p></dd></dl><dl><dt class="spec value" id="val-members_chunk"><a href="#val-members_chunk" class="anchor"></a><code><span class="keyword">val </span>members_chunk : (<a href="../Disml/Member_t/index.html#type-t">Disml.Member_t.t</a> list <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when requesting guild members through <span class="xref-unresolved" title="unresolved reference to "Client.request_guild_members""><code>Client</code>.request_guild_members</span></p></dd></dl><dl><dt class="spec value" id="val-role_create"><a href="#val-role_create" class="anchor"></a><code><span class="keyword">val </span>role_create : (<a href="../Disml/Role_t/index.html#type-t">Disml.Role_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a role is created.</p></dd></dl><dl><dt class="spec value" id="val-role_update"><a href="#val-role_update" class="anchor"></a><code><span class="keyword">val </span>role_update : (<a href="../Disml/Role_t/index.html#type-t">Disml.Role_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a role is edited.</p></dd></dl><dl><dt class="spec value" id="val-role_delete"><a href="#val-role_delete" class="anchor"></a><code><span class="keyword">val </span>role_delete : (<a href="../Disml/Role_t/index.html#type-t">Disml.Role_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a role is deleted.</p></dd></dl><dl><dt class="spec value" id="val-message_create"><a href="#val-message_create" class="anchor"></a><code><span class="keyword">val </span>message_create : (<a href="../Disml/Message_t/index.html#type-t">Disml.Message_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a message is sent.</p></dd></dl><dl><dt class="spec value" id="val-message_update"><a href="#val-message_update" class="anchor"></a><code><span class="keyword">val </span>message_update : (<a href="../Disml/Message_t/index.html#type-message_update">Disml.Message_t.message_update</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a message is edited. This does not necessarily mean the content changed.</p></dd></dl><dl><dt class="spec value" id="val-message_delete"><a href="#val-message_delete" class="anchor"></a><code><span class="keyword">val </span>message_delete : (<a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a message is deleted.</p></dd></dl><dl><dt class="spec value" id="val-message_bulk_delete"><a href="#val-message_bulk_delete" class="anchor"></a><code><span class="keyword">val </span>message_bulk_delete : (<a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when messages are bulk deleted.</p></dd></dl><dl><dt class="spec value" id="val-reaction_add"><a href="#val-reaction_add" class="anchor"></a><code><span class="keyword">val </span>reaction_add : (<a href="../Disml/Reaction_t/index.html#type-reaction_event">Disml.Reaction_t.reaction_event</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a rection is added to a message.</p></dd></dl><dl><dt class="spec value" id="val-reaction_remove"><a href="#val-reaction_remove" class="anchor"></a><code><span class="keyword">val </span>reaction_remove : (<a href="../Disml/Reaction_t/index.html#type-reaction_event">Disml.Reaction_t.reaction_event</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a reaction is removed from a message.</p></dd></dl><dl><dt class="spec value" id="val-reaction_bulk_remove"><a href="#val-reaction_bulk_remove" class="anchor"></a><code><span class="keyword">val </span>reaction_bulk_remove : (<a href="../Disml/Reaction_t/index.html#type-t">Disml.Reaction_t.t</a> list <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when all reactions are cleared from a message.</p></dd></dl><dl><dt class="spec value" id="val-presence_update"><a href="#val-presence_update" class="anchor"></a><code><span class="keyword">val </span>presence_update : (<a href="../Disml/Presence/index.html#type-t">Disml.Presence.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a user updates their presence.</p></dd></dl><dl><dt class="spec value" id="val-typing_start"><a href="#val-typing_start" class="anchor"></a><code><span class="keyword">val </span>typing_start : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a typing indicator is displayed.</p></dd></dl><dl><dt class="spec value" id="val-user_update"><a href="#val-user_update" class="anchor"></a><code><span class="keyword">val </span>user_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when the current user is updated. You most likely want <span class="xref-unresolved" title="unresolved reference to "Client.member_update""><code>Client</code>.member_update</span> or <span class="xref-unresolved" title="unresolved reference to "Client.presence_update""><code>Client</code>.presence_update</span> instead.</p></dd></dl></details></div></div></div><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.sharder" class="anchored"><td class="def field"><a href="#type-t.sharder" class="anchor"></a><code>sharder : <a href="../Disml/Sharder/index.html#type-t">Disml.Sharder.t</a>;</code></td></tr><tr id="type-t.token" class="anchored"><td class="def field"><a href="#type-t.token" class="anchor"></a><code>token : string;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-start"><a href="#val-start" class="anchor"></a><code><span class="keyword">val </span>start : ?⁠count:int <span>-></span> string <span>-></span> <a href="index.html#type-t">t</a> Async_kernel__Deferred.t</code></dt><dt class="spec value" id="val-set_status"><a href="#val-set_status" class="anchor"></a><code><span class="keyword">val </span>set_status : status:Yojson.Safe.json <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Sharder/Shard/index.html#type-shard">Disml.Sharder.Shard.shard</a> list Async.Deferred.t</code></dt><dt class="spec value" id="val-set_status_with"><a href="#val-set_status_with" class="anchor"></a><code><span class="keyword">val </span>set_status_with : f:(<a href="../Disml/Sharder/Shard/index.html#type-shard">Disml.Sharder.Shard.shard</a> <span>-></span> Yojson.Safe.json) <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Sharder/Shard/index.html#type-shard">Disml.Sharder.Shard.shard</a> list Async.Deferred.t</code></dt><dt class="spec value" id="val-request_guild_members"><a href="#val-request_guild_members" class="anchor"></a><code><span class="keyword">val </span>request_guild_members : guild:<a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> ?⁠query:string <span>-></span> ?⁠limit:int <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Sharder/Shard/index.html#type-shard">Disml.Sharder.Shard.shard</a> list Async.Deferred.t</code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Client (disml.Disml__Client)</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> » Disml__Client</nav><h1>Module <code>Disml__Client</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="../Disml/index.html#module-Client_options">Disml.Client_options</a></code></span></summary><aside></aside><dl><dt class="spec value" id="val-token"><a href="#val-token" class="anchor"></a><code><span class="keyword">val </span>token : string Stdlib.ref</code></dt><dd><p>Token that is set when using <span class="xref-unresolved" title="unresolved reference to "Client.start""><code>Client</code>.start</span></p></dd></dl></details></div></div></div><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="../Disml/index.html#module-Dispatch">Disml.Dispatch</a></code></span></summary><aside></aside><aside><p>Used to store dispatch callbacks. Each event can only have one callback registered at a time. These should be accessed through their re-export in <code>Client</code>.</p></aside><section><header><h3 id="examples"><a href="#examples" class="anchor"></a>Examples</h3><p><code>Client.ready := (fun _ -> print_endline "Shard is Ready!")</code></p><p><code>Client.guild_create := (fun guild -> print_endline guild.name)</code></p><pre><code class="ml">open Core +open Disml + +let check_command (msg : Message.t) = + if String.is_prefix ~prefix:"!ping" msg.content then + Message.reply msg "Pong!" >>> ignore + +Client.message_create := check_command</code></pre></header><dl><dt class="spec value" id="val-hello"><a href="#val-hello" class="anchor"></a><code><span class="keyword">val </span>hello : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when connecting to the gateway, most users will have no use for this.</p></dd></dl><dl><dt class="spec value" id="val-ready"><a href="#val-ready" class="anchor"></a><code><span class="keyword">val </span>ready : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when each shard receives READY from discord after identifying on the gateway. Other event dispatch is received after this.</p></dd></dl><dl><dt class="spec value" id="val-resumed"><a href="#val-resumed" class="anchor"></a><code><span class="keyword">val </span>resumed : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when successfully reconnecting to the gateway.</p></dd></dl><dl><dt class="spec value" id="val-invalid_session"><a href="#val-invalid_session" class="anchor"></a><code><span class="keyword">val </span>invalid_session : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when Discord decides a session is invalid, much like <span class="xref-unresolved" title="unresolved reference to "Client.hello""><code>Client</code>.hello</span> this is not very useful for most people.</p></dd></dl><dl><dt class="spec value" id="val-channel_create"><a href="#val-channel_create" class="anchor"></a><code><span class="keyword">val </span>channel_create : (<a href="../Disml/Channel_t/index.html#type-t">Disml.Channel_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a channel is created which is visible to the bot.</p></dd></dl><dl><dt class="spec value" id="val-channel_update"><a href="#val-channel_update" class="anchor"></a><code><span class="keyword">val </span>channel_update : (<a href="../Disml/Channel_t/index.html#type-t">Disml.Channel_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a channel visible to the bot is changed.</p></dd></dl><dl><dt class="spec value" id="val-channel_delete"><a href="#val-channel_delete" class="anchor"></a><code><span class="keyword">val </span>channel_delete : (<a href="../Disml/Channel_t/index.html#type-t">Disml.Channel_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a channel visible to the bot is deleted.</p></dd></dl><dl><dt class="spec value" id="val-channel_pins_update"><a href="#val-channel_pins_update" class="anchor"></a><code><span class="keyword">val </span>channel_pins_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when messages are pinned or unpinned from a a channel.</p></dd></dl><dl><dt class="spec value" id="val-guild_create"><a href="#val-guild_create" class="anchor"></a><code><span class="keyword">val </span>guild_create : (<a href="../Disml/Guild_t/index.html#type-t">Disml.Guild_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when the bot joins a guild, and during startup.</p></dd></dl><dl><dt class="spec value" id="val-guild_update"><a href="#val-guild_update" class="anchor"></a><code><span class="keyword">val </span>guild_update : (<a href="../Disml/Guild_t/index.html#type-t">Disml.Guild_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a guild the bot is in is edited.</p></dd></dl><dl><dt class="spec value" id="val-guild_delete"><a href="#val-guild_delete" class="anchor"></a><code><span class="keyword">val </span>guild_delete : (<a href="../Disml/Guild_t/index.html#type-t">Disml.Guild_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when the bot is removed from a guild.</p></dd></dl><dl><dt class="spec value" id="val-member_ban"><a href="#val-member_ban" class="anchor"></a><code><span class="keyword">val </span>member_ban : (<a href="../Disml/Ban_t/index.html#type-t">Disml.Ban_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member is banned.</p></dd></dl><dl><dt class="spec value" id="val-member_unban"><a href="#val-member_unban" class="anchor"></a><code><span class="keyword">val </span>member_unban : (<a href="../Disml/Ban_t/index.html#type-t">Disml.Ban_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member is unbanned.</p></dd></dl><dl><dt class="spec value" id="val-guild_emojis_update"><a href="#val-guild_emojis_update" class="anchor"></a><code><span class="keyword">val </span>guild_emojis_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when emojis are added or removed from a guild.</p></dd></dl><dl><dt class="spec value" id="val-integrations_update"><a href="#val-integrations_update" class="anchor"></a><code><span class="keyword">val </span>integrations_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a guild's integrations are updated.</p></dd></dl><dl><dt class="spec value" id="val-member_join"><a href="#val-member_join" class="anchor"></a><code><span class="keyword">val </span>member_join : (<a href="../Disml/Member_t/index.html#type-t">Disml.Member_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member joins a guild.</p></dd></dl><dl><dt class="spec value" id="val-member_leave"><a href="#val-member_leave" class="anchor"></a><code><span class="keyword">val </span>member_leave : (<a href="../Disml/Member_t/index.html#type-member_wrapper">Disml.Member_t.member_wrapper</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member leaves a guild. Is Dispatched alongside <span class="xref-unresolved" title="unresolved reference to "Client.member_ban""><code>Client</code>.member_ban</span> when a user is banned.</p></dd></dl><dl><dt class="spec value" id="val-member_update"><a href="#val-member_update" class="anchor"></a><code><span class="keyword">val </span>member_update : (<a href="../Disml/Member_t/index.html#type-member_update">Disml.Member_t.member_update</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member object is updated.</p></dd></dl><dl><dt class="spec value" id="val-members_chunk"><a href="#val-members_chunk" class="anchor"></a><code><span class="keyword">val </span>members_chunk : (<a href="../Disml/Member_t/index.html#type-t">Disml.Member_t.t</a> list <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when requesting guild members through <span class="xref-unresolved" title="unresolved reference to "Client.request_guild_members""><code>Client</code>.request_guild_members</span></p></dd></dl><dl><dt class="spec value" id="val-role_create"><a href="#val-role_create" class="anchor"></a><code><span class="keyword">val </span>role_create : (<a href="../Disml/Role_t/index.html#type-t">Disml.Role_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a role is created.</p></dd></dl><dl><dt class="spec value" id="val-role_update"><a href="#val-role_update" class="anchor"></a><code><span class="keyword">val </span>role_update : (<a href="../Disml/Role_t/index.html#type-t">Disml.Role_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a role is edited.</p></dd></dl><dl><dt class="spec value" id="val-role_delete"><a href="#val-role_delete" class="anchor"></a><code><span class="keyword">val </span>role_delete : (<a href="../Disml/Role_t/index.html#type-t">Disml.Role_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a role is deleted.</p></dd></dl><dl><dt class="spec value" id="val-message_create"><a href="#val-message_create" class="anchor"></a><code><span class="keyword">val </span>message_create : (<a href="../Disml/Message_t/index.html#type-t">Disml.Message_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a message is sent.</p></dd></dl><dl><dt class="spec value" id="val-message_update"><a href="#val-message_update" class="anchor"></a><code><span class="keyword">val </span>message_update : (<a href="../Disml/Message_t/index.html#type-message_update">Disml.Message_t.message_update</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a message is edited. This does not necessarily mean the content changed.</p></dd></dl><dl><dt class="spec value" id="val-message_delete"><a href="#val-message_delete" class="anchor"></a><code><span class="keyword">val </span>message_delete : (<a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a message is deleted.</p></dd></dl><dl><dt class="spec value" id="val-message_bulk_delete"><a href="#val-message_bulk_delete" class="anchor"></a><code><span class="keyword">val </span>message_bulk_delete : (<a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when messages are bulk deleted.</p></dd></dl><dl><dt class="spec value" id="val-reaction_add"><a href="#val-reaction_add" class="anchor"></a><code><span class="keyword">val </span>reaction_add : (<a href="../Disml/Reaction_t/index.html#type-reaction_event">Disml.Reaction_t.reaction_event</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a rection is added to a message.</p></dd></dl><dl><dt class="spec value" id="val-reaction_remove"><a href="#val-reaction_remove" class="anchor"></a><code><span class="keyword">val </span>reaction_remove : (<a href="../Disml/Reaction_t/index.html#type-reaction_event">Disml.Reaction_t.reaction_event</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a reaction is removed from a message.</p></dd></dl><dl><dt class="spec value" id="val-reaction_bulk_remove"><a href="#val-reaction_bulk_remove" class="anchor"></a><code><span class="keyword">val </span>reaction_bulk_remove : (<a href="../Disml/Reaction_t/index.html#type-t">Disml.Reaction_t.t</a> list <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when all reactions are cleared from a message.</p></dd></dl><dl><dt class="spec value" id="val-presence_update"><a href="#val-presence_update" class="anchor"></a><code><span class="keyword">val </span>presence_update : (<a href="../Disml/Presence/index.html#type-t">Disml.Presence.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a user updates their presence.</p></dd></dl><dl><dt class="spec value" id="val-typing_start"><a href="#val-typing_start" class="anchor"></a><code><span class="keyword">val </span>typing_start : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a typing indicator is displayed.</p></dd></dl><dl><dt class="spec value" id="val-user_update"><a href="#val-user_update" class="anchor"></a><code><span class="keyword">val </span>user_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when the current user is updated. You most likely want <span class="xref-unresolved" title="unresolved reference to "Client.member_update""><code>Client</code>.member_update</span> or <span class="xref-unresolved" title="unresolved reference to "Client.presence_update""><code>Client</code>.presence_update</span> instead.</p></dd></dl></section></details></div></div></div><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.sharder" class="anchored"><td class="def field"><a href="#type-t.sharder" class="anchor"></a><code>sharder : <a href="../Disml/Sharder/index.html#type-t">Disml.Sharder.t</a>;</code></td></tr></table><code>}</code></dt><dd><p>Type of the Client, it isn't recommended to access the fields directly.</p></dd></dl><dl><dt class="spec value" id="val-start"><a href="#val-start" class="anchor"></a><code><span class="keyword">val </span>start : ?⁠count:int <span>-></span> string <span>-></span> <a href="index.html#type-t">t</a> Async.Deferred.t</code></dt><dd><p>Start the Client. This begins shard connections to Discord and event handlers should be registered prior to calling this.</p><h3 id="example"><a href="#example" class="anchor"></a>Example</h3><pre><code class="ml">open Async +open Disml + +let main () = + let token = "a valid bot token" in + Client.start ~count:5 token >>> print_endline "Client launched" + +let _ = + Scheduler.go_main ~main ()</code></pre><dl><dt>parameter ?count</dt><dd><p>Optional amount of shards to launch. Defaults to autosharding</p></dd></dl><dl><dt>parameter string</dt><dd><p>The token used for authentication</p></dd></dl><dl><dt>returns</dt><dd><p>A deferred client object</p></dd></dl></dd></dl><dl><dt class="spec value" id="val-set_status"><a href="#val-set_status" class="anchor"></a><code><span class="keyword">val </span>set_status : status:Yojson.Safe.json <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Sharder/Shard/index.html#type-shard">Disml.Sharder.Shard.shard</a> list Async.Deferred.t</code></dt><dd><p>Same as <span class="xref-unresolved" title="unresolved reference to "Sharder.set_status""><code>Sharder</code>.set_status</span> where <code>client.sharder</code> is passed.</p></dd></dl><dl><dt class="spec value" id="val-set_status_with"><a href="#val-set_status_with" class="anchor"></a><code><span class="keyword">val </span>set_status_with : f:(<a href="../Disml/Sharder/Shard/index.html#type-shard">Disml.Sharder.Shard.shard</a> <span>-></span> Yojson.Safe.json) <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Sharder/Shard/index.html#type-shard">Disml.Sharder.Shard.shard</a> list Async.Deferred.t</code></dt><dd><p>Same as <span class="xref-unresolved" title="unresolved reference to "Sharder.set_status_with""><code>Sharder</code>.set_status_with</span> where <code>client.sharder</code> is passed.</p></dd></dl><dl><dt class="spec value" id="val-request_guild_members"><a href="#val-request_guild_members" class="anchor"></a><code><span class="keyword">val </span>request_guild_members : guild:<a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> ?⁠query:string <span>-></span> ?⁠limit:int <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Sharder/Shard/index.html#type-shard">Disml.Sharder.Shard.shard</a> list Async.Deferred.t</code></dt><dd><p>Same as <span class="xref-unresolved" title="unresolved reference to "Sharder.request_guild_members""><code>Sharder</code>.request_guild_members</span> where <code>client.sharder</code> is passed.</p></dd></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Client_options/index.html b/docs/disml/Disml__Client_options/index.html index 7bcd9fc..9fd0520 100644 --- a/docs/disml/Disml__Client_options/index.html +++ b/docs/disml/Disml__Client_options/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Client_options (disml.Disml__Client_options)</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> » Disml__Client_options</nav><h1>Module <code>Disml__Client_options</code></h1></header><dl><dt class="spec value" id="val-token"><a href="#val-token" class="anchor"></a><code><span class="keyword">val </span>token : string Stdlib.ref</code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Client_options (disml.Disml__Client_options)</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> » Disml__Client_options</nav><h1>Module <code>Disml__Client_options</code></h1></header><dl><dt class="spec value" id="val-token"><a href="#val-token" class="anchor"></a><code><span class="keyword">val </span>token : string Stdlib.ref</code></dt><dd><p>Token that is set when using <span class="xref-unresolved" title="unresolved reference to "Client.start""><code>Client</code>.start</span></p></dd></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Dispatch/index.html b/docs/disml/Disml__Dispatch/index.html index d928bdf..2b401ca 100644 --- a/docs/disml/Disml__Dispatch/index.html +++ b/docs/disml/Disml__Dispatch/index.html @@ -1,2 +1,9 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Dispatch (disml.Disml__Dispatch)</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> » Disml__Dispatch</nav><h1>Module <code>Disml__Dispatch</code></h1></header><dl><dt class="spec value" id="val-hello"><a href="#val-hello" class="anchor"></a><code><span class="keyword">val </span>hello : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when connecting to the gateway, most users will have no use for this.</p></dd></dl><dl><dt class="spec value" id="val-ready"><a href="#val-ready" class="anchor"></a><code><span class="keyword">val </span>ready : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when each shard receives READY from discord after identifying on the gateway. Other event dispatch is received after this.</p></dd></dl><dl><dt class="spec value" id="val-resumed"><a href="#val-resumed" class="anchor"></a><code><span class="keyword">val </span>resumed : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when successfully reconnecting to the gateway.</p></dd></dl><dl><dt class="spec value" id="val-invalid_session"><a href="#val-invalid_session" class="anchor"></a><code><span class="keyword">val </span>invalid_session : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when Discord decides a session is invalid, much like <span class="xref-unresolved" title="unresolved reference to "Client.hello""><code>Client</code>.hello</span> this is not very useful for most people.</p></dd></dl><dl><dt class="spec value" id="val-channel_create"><a href="#val-channel_create" class="anchor"></a><code><span class="keyword">val </span>channel_create : (<a href="../Disml/Channel_t/index.html#type-t">Disml.Channel_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a channel is created which is visible to the bot.</p></dd></dl><dl><dt class="spec value" id="val-channel_update"><a href="#val-channel_update" class="anchor"></a><code><span class="keyword">val </span>channel_update : (<a href="../Disml/Channel_t/index.html#type-t">Disml.Channel_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a channel visible to the bot is changed.</p></dd></dl><dl><dt class="spec value" id="val-channel_delete"><a href="#val-channel_delete" class="anchor"></a><code><span class="keyword">val </span>channel_delete : (<a href="../Disml/Channel_t/index.html#type-t">Disml.Channel_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a channel visible to the bot is deleted.</p></dd></dl><dl><dt class="spec value" id="val-channel_pins_update"><a href="#val-channel_pins_update" class="anchor"></a><code><span class="keyword">val </span>channel_pins_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when messages are pinned or unpinned from a a channel.</p></dd></dl><dl><dt class="spec value" id="val-guild_create"><a href="#val-guild_create" class="anchor"></a><code><span class="keyword">val </span>guild_create : (<a href="../Disml/Guild_t/index.html#type-t">Disml.Guild_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when the bot joins a guild, and during startup.</p></dd></dl><dl><dt class="spec value" id="val-guild_update"><a href="#val-guild_update" class="anchor"></a><code><span class="keyword">val </span>guild_update : (<a href="../Disml/Guild_t/index.html#type-t">Disml.Guild_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a guild the bot is in is edited.</p></dd></dl><dl><dt class="spec value" id="val-guild_delete"><a href="#val-guild_delete" class="anchor"></a><code><span class="keyword">val </span>guild_delete : (<a href="../Disml/Guild_t/index.html#type-t">Disml.Guild_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when the bot is removed from a guild.</p></dd></dl><dl><dt class="spec value" id="val-member_ban"><a href="#val-member_ban" class="anchor"></a><code><span class="keyword">val </span>member_ban : (<a href="../Disml/Ban_t/index.html#type-t">Disml.Ban_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member is banned.</p></dd></dl><dl><dt class="spec value" id="val-member_unban"><a href="#val-member_unban" class="anchor"></a><code><span class="keyword">val </span>member_unban : (<a href="../Disml/Ban_t/index.html#type-t">Disml.Ban_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member is unbanned.</p></dd></dl><dl><dt class="spec value" id="val-guild_emojis_update"><a href="#val-guild_emojis_update" class="anchor"></a><code><span class="keyword">val </span>guild_emojis_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when emojis are added or removed from a guild.</p></dd></dl><dl><dt class="spec value" id="val-integrations_update"><a href="#val-integrations_update" class="anchor"></a><code><span class="keyword">val </span>integrations_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a guild's integrations are updated.</p></dd></dl><dl><dt class="spec value" id="val-member_join"><a href="#val-member_join" class="anchor"></a><code><span class="keyword">val </span>member_join : (<a href="../Disml/Member_t/index.html#type-t">Disml.Member_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member joins a guild.</p></dd></dl><dl><dt class="spec value" id="val-member_leave"><a href="#val-member_leave" class="anchor"></a><code><span class="keyword">val </span>member_leave : (<a href="../Disml/Member_t/index.html#type-member_wrapper">Disml.Member_t.member_wrapper</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member leaves a guild. Is Dispatched alongside <span class="xref-unresolved" title="unresolved reference to "Client.member_ban""><code>Client</code>.member_ban</span> when a user is banned.</p></dd></dl><dl><dt class="spec value" id="val-member_update"><a href="#val-member_update" class="anchor"></a><code><span class="keyword">val </span>member_update : (<a href="../Disml/Member_t/index.html#type-member_update">Disml.Member_t.member_update</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member object is updated.</p></dd></dl><dl><dt class="spec value" id="val-members_chunk"><a href="#val-members_chunk" class="anchor"></a><code><span class="keyword">val </span>members_chunk : (<a href="../Disml/Member_t/index.html#type-t">Disml.Member_t.t</a> list <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when requesting guild members through <span class="xref-unresolved" title="unresolved reference to "Client.request_guild_members""><code>Client</code>.request_guild_members</span></p></dd></dl><dl><dt class="spec value" id="val-role_create"><a href="#val-role_create" class="anchor"></a><code><span class="keyword">val </span>role_create : (<a href="../Disml/Role_t/index.html#type-t">Disml.Role_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a role is created.</p></dd></dl><dl><dt class="spec value" id="val-role_update"><a href="#val-role_update" class="anchor"></a><code><span class="keyword">val </span>role_update : (<a href="../Disml/Role_t/index.html#type-t">Disml.Role_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a role is edited.</p></dd></dl><dl><dt class="spec value" id="val-role_delete"><a href="#val-role_delete" class="anchor"></a><code><span class="keyword">val </span>role_delete : (<a href="../Disml/Role_t/index.html#type-t">Disml.Role_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a role is deleted.</p></dd></dl><dl><dt class="spec value" id="val-message_create"><a href="#val-message_create" class="anchor"></a><code><span class="keyword">val </span>message_create : (<a href="../Disml/Message_t/index.html#type-t">Disml.Message_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a message is sent.</p></dd></dl><dl><dt class="spec value" id="val-message_update"><a href="#val-message_update" class="anchor"></a><code><span class="keyword">val </span>message_update : (<a href="../Disml/Message_t/index.html#type-message_update">Disml.Message_t.message_update</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a message is edited. This does not necessarily mean the content changed.</p></dd></dl><dl><dt class="spec value" id="val-message_delete"><a href="#val-message_delete" class="anchor"></a><code><span class="keyword">val </span>message_delete : (<a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a message is deleted.</p></dd></dl><dl><dt class="spec value" id="val-message_bulk_delete"><a href="#val-message_bulk_delete" class="anchor"></a><code><span class="keyword">val </span>message_bulk_delete : (<a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when messages are bulk deleted.</p></dd></dl><dl><dt class="spec value" id="val-reaction_add"><a href="#val-reaction_add" class="anchor"></a><code><span class="keyword">val </span>reaction_add : (<a href="../Disml/Reaction_t/index.html#type-reaction_event">Disml.Reaction_t.reaction_event</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a rection is added to a message.</p></dd></dl><dl><dt class="spec value" id="val-reaction_remove"><a href="#val-reaction_remove" class="anchor"></a><code><span class="keyword">val </span>reaction_remove : (<a href="../Disml/Reaction_t/index.html#type-reaction_event">Disml.Reaction_t.reaction_event</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a reaction is removed from a message.</p></dd></dl><dl><dt class="spec value" id="val-reaction_bulk_remove"><a href="#val-reaction_bulk_remove" class="anchor"></a><code><span class="keyword">val </span>reaction_bulk_remove : (<a href="../Disml/Reaction_t/index.html#type-t">Disml.Reaction_t.t</a> list <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when all reactions are cleared from a message.</p></dd></dl><dl><dt class="spec value" id="val-presence_update"><a href="#val-presence_update" class="anchor"></a><code><span class="keyword">val </span>presence_update : (<a href="../Disml/Presence/index.html#type-t">Disml.Presence.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a user updates their presence.</p></dd></dl><dl><dt class="spec value" id="val-typing_start"><a href="#val-typing_start" class="anchor"></a><code><span class="keyword">val </span>typing_start : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a typing indicator is displayed.</p></dd></dl><dl><dt class="spec value" id="val-user_update"><a href="#val-user_update" class="anchor"></a><code><span class="keyword">val </span>user_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when the current user is updated. You most likely want <span class="xref-unresolved" title="unresolved reference to "Client.member_update""><code>Client</code>.member_update</span> or <span class="xref-unresolved" title="unresolved reference to "Client.presence_update""><code>Client</code>.presence_update</span> instead.</p></dd></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Dispatch (disml.Disml__Dispatch)</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> » Disml__Dispatch</nav><h1>Module <code>Disml__Dispatch</code></h1><p>Used to store dispatch callbacks. Each event can only have one callback registered at a time. These should be accessed through their re-export in <code>Client</code>.</p><h3 id="examples"><a href="#examples" class="anchor"></a>Examples</h3><p><code>Client.ready := (fun _ -> print_endline "Shard is Ready!")</code></p><p><code>Client.guild_create := (fun guild -> print_endline guild.name)</code></p><pre><code class="ml">open Core +open Disml + +let check_command (msg : Message.t) = + if String.is_prefix ~prefix:"!ping" msg.content then + Message.reply msg "Pong!" >>> ignore + +Client.message_create := check_command</code></pre></header><dl><dt class="spec value" id="val-hello"><a href="#val-hello" class="anchor"></a><code><span class="keyword">val </span>hello : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when connecting to the gateway, most users will have no use for this.</p></dd></dl><dl><dt class="spec value" id="val-ready"><a href="#val-ready" class="anchor"></a><code><span class="keyword">val </span>ready : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when each shard receives READY from discord after identifying on the gateway. Other event dispatch is received after this.</p></dd></dl><dl><dt class="spec value" id="val-resumed"><a href="#val-resumed" class="anchor"></a><code><span class="keyword">val </span>resumed : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when successfully reconnecting to the gateway.</p></dd></dl><dl><dt class="spec value" id="val-invalid_session"><a href="#val-invalid_session" class="anchor"></a><code><span class="keyword">val </span>invalid_session : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when Discord decides a session is invalid, much like <span class="xref-unresolved" title="unresolved reference to "Client.hello""><code>Client</code>.hello</span> this is not very useful for most people.</p></dd></dl><dl><dt class="spec value" id="val-channel_create"><a href="#val-channel_create" class="anchor"></a><code><span class="keyword">val </span>channel_create : (<a href="../Disml/Channel_t/index.html#type-t">Disml.Channel_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a channel is created which is visible to the bot.</p></dd></dl><dl><dt class="spec value" id="val-channel_update"><a href="#val-channel_update" class="anchor"></a><code><span class="keyword">val </span>channel_update : (<a href="../Disml/Channel_t/index.html#type-t">Disml.Channel_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a channel visible to the bot is changed.</p></dd></dl><dl><dt class="spec value" id="val-channel_delete"><a href="#val-channel_delete" class="anchor"></a><code><span class="keyword">val </span>channel_delete : (<a href="../Disml/Channel_t/index.html#type-t">Disml.Channel_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a channel visible to the bot is deleted.</p></dd></dl><dl><dt class="spec value" id="val-channel_pins_update"><a href="#val-channel_pins_update" class="anchor"></a><code><span class="keyword">val </span>channel_pins_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when messages are pinned or unpinned from a a channel.</p></dd></dl><dl><dt class="spec value" id="val-guild_create"><a href="#val-guild_create" class="anchor"></a><code><span class="keyword">val </span>guild_create : (<a href="../Disml/Guild_t/index.html#type-t">Disml.Guild_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when the bot joins a guild, and during startup.</p></dd></dl><dl><dt class="spec value" id="val-guild_update"><a href="#val-guild_update" class="anchor"></a><code><span class="keyword">val </span>guild_update : (<a href="../Disml/Guild_t/index.html#type-t">Disml.Guild_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a guild the bot is in is edited.</p></dd></dl><dl><dt class="spec value" id="val-guild_delete"><a href="#val-guild_delete" class="anchor"></a><code><span class="keyword">val </span>guild_delete : (<a href="../Disml/Guild_t/index.html#type-t">Disml.Guild_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when the bot is removed from a guild.</p></dd></dl><dl><dt class="spec value" id="val-member_ban"><a href="#val-member_ban" class="anchor"></a><code><span class="keyword">val </span>member_ban : (<a href="../Disml/Ban_t/index.html#type-t">Disml.Ban_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member is banned.</p></dd></dl><dl><dt class="spec value" id="val-member_unban"><a href="#val-member_unban" class="anchor"></a><code><span class="keyword">val </span>member_unban : (<a href="../Disml/Ban_t/index.html#type-t">Disml.Ban_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member is unbanned.</p></dd></dl><dl><dt class="spec value" id="val-guild_emojis_update"><a href="#val-guild_emojis_update" class="anchor"></a><code><span class="keyword">val </span>guild_emojis_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when emojis are added or removed from a guild.</p></dd></dl><dl><dt class="spec value" id="val-integrations_update"><a href="#val-integrations_update" class="anchor"></a><code><span class="keyword">val </span>integrations_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a guild's integrations are updated.</p></dd></dl><dl><dt class="spec value" id="val-member_join"><a href="#val-member_join" class="anchor"></a><code><span class="keyword">val </span>member_join : (<a href="../Disml/Member_t/index.html#type-t">Disml.Member_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member joins a guild.</p></dd></dl><dl><dt class="spec value" id="val-member_leave"><a href="#val-member_leave" class="anchor"></a><code><span class="keyword">val </span>member_leave : (<a href="../Disml/Member_t/index.html#type-member_wrapper">Disml.Member_t.member_wrapper</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member leaves a guild. Is Dispatched alongside <span class="xref-unresolved" title="unresolved reference to "Client.member_ban""><code>Client</code>.member_ban</span> when a user is banned.</p></dd></dl><dl><dt class="spec value" id="val-member_update"><a href="#val-member_update" class="anchor"></a><code><span class="keyword">val </span>member_update : (<a href="../Disml/Member_t/index.html#type-member_update">Disml.Member_t.member_update</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a member object is updated.</p></dd></dl><dl><dt class="spec value" id="val-members_chunk"><a href="#val-members_chunk" class="anchor"></a><code><span class="keyword">val </span>members_chunk : (<a href="../Disml/Member_t/index.html#type-t">Disml.Member_t.t</a> list <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when requesting guild members through <span class="xref-unresolved" title="unresolved reference to "Client.request_guild_members""><code>Client</code>.request_guild_members</span></p></dd></dl><dl><dt class="spec value" id="val-role_create"><a href="#val-role_create" class="anchor"></a><code><span class="keyword">val </span>role_create : (<a href="../Disml/Role_t/index.html#type-t">Disml.Role_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a role is created.</p></dd></dl><dl><dt class="spec value" id="val-role_update"><a href="#val-role_update" class="anchor"></a><code><span class="keyword">val </span>role_update : (<a href="../Disml/Role_t/index.html#type-t">Disml.Role_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a role is edited.</p></dd></dl><dl><dt class="spec value" id="val-role_delete"><a href="#val-role_delete" class="anchor"></a><code><span class="keyword">val </span>role_delete : (<a href="../Disml/Role_t/index.html#type-t">Disml.Role_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a role is deleted.</p></dd></dl><dl><dt class="spec value" id="val-message_create"><a href="#val-message_create" class="anchor"></a><code><span class="keyword">val </span>message_create : (<a href="../Disml/Message_t/index.html#type-t">Disml.Message_t.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a message is sent.</p></dd></dl><dl><dt class="spec value" id="val-message_update"><a href="#val-message_update" class="anchor"></a><code><span class="keyword">val </span>message_update : (<a href="../Disml/Message_t/index.html#type-message_update">Disml.Message_t.message_update</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a message is edited. This does not necessarily mean the content changed.</p></dd></dl><dl><dt class="spec value" id="val-message_delete"><a href="#val-message_delete" class="anchor"></a><code><span class="keyword">val </span>message_delete : (<a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a message is deleted.</p></dd></dl><dl><dt class="spec value" id="val-message_bulk_delete"><a href="#val-message_bulk_delete" class="anchor"></a><code><span class="keyword">val </span>message_bulk_delete : (<a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when messages are bulk deleted.</p></dd></dl><dl><dt class="spec value" id="val-reaction_add"><a href="#val-reaction_add" class="anchor"></a><code><span class="keyword">val </span>reaction_add : (<a href="../Disml/Reaction_t/index.html#type-reaction_event">Disml.Reaction_t.reaction_event</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a rection is added to a message.</p></dd></dl><dl><dt class="spec value" id="val-reaction_remove"><a href="#val-reaction_remove" class="anchor"></a><code><span class="keyword">val </span>reaction_remove : (<a href="../Disml/Reaction_t/index.html#type-reaction_event">Disml.Reaction_t.reaction_event</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a reaction is removed from a message.</p></dd></dl><dl><dt class="spec value" id="val-reaction_bulk_remove"><a href="#val-reaction_bulk_remove" class="anchor"></a><code><span class="keyword">val </span>reaction_bulk_remove : (<a href="../Disml/Reaction_t/index.html#type-t">Disml.Reaction_t.t</a> list <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when all reactions are cleared from a message.</p></dd></dl><dl><dt class="spec value" id="val-presence_update"><a href="#val-presence_update" class="anchor"></a><code><span class="keyword">val </span>presence_update : (<a href="../Disml/Presence/index.html#type-t">Disml.Presence.t</a> <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a user updates their presence.</p></dd></dl><dl><dt class="spec value" id="val-typing_start"><a href="#val-typing_start" class="anchor"></a><code><span class="keyword">val </span>typing_start : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when a typing indicator is displayed.</p></dd></dl><dl><dt class="spec value" id="val-user_update"><a href="#val-user_update" class="anchor"></a><code><span class="keyword">val </span>user_update : (Yojson.Safe.json <span>-></span> unit) Stdlib.ref</code></dt><dd><p>Dispatched when the current user is updated. You most likely want <span class="xref-unresolved" title="unresolved reference to "Client.member_update""><code>Client</code>.member_update</span> or <span class="xref-unresolved" title="unresolved reference to "Client.presence_update""><code>Client</code>.presence_update</span> instead.</p></dd></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Embed/index.html b/docs/disml/Disml__Embed/index.html index f62c780..9a515c7 100644 --- a/docs/disml/Disml__Embed/index.html +++ b/docs/disml/Disml__Embed/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Embed (disml.Disml__Embed)</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> » Disml__Embed</nav><h1>Module <code>Disml__Embed</code></h1></header><dl><dt class="spec type" id="type-footer"><a href="#type-footer" class="anchor"></a><code><span class="keyword">type </span>footer</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-footer.text" class="anchored"><td class="def field"><a href="#type-footer.text" class="anchor"></a><code>text : string;</code></td></tr><tr id="type-footer.icon_url" class="anchored"><td class="def field"><a href="#type-footer.icon_url" class="anchor"></a><code>icon_url : string option;</code></td></tr><tr id="type-footer.proxy_icon_url" class="anchored"><td class="def field"><a href="#type-footer.proxy_icon_url" class="anchor"></a><code>proxy_icon_url : string option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-footer_of_sexp"><a href="#val-footer_of_sexp" class="anchor"></a><code><span class="keyword">val </span>footer_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-footer">footer</a></code></dt><dt class="spec value" id="val-sexp_of_footer"><a href="#val-sexp_of_footer" class="anchor"></a><code><span class="keyword">val </span>sexp_of_footer : <a href="index.html#type-footer">footer</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-footer_to_yojson"><a href="#val-footer_to_yojson" class="anchor"></a><code><span class="keyword">val </span>footer_to_yojson : <a href="index.html#type-footer">footer</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-footer_of_yojson"><a href="#val-footer_of_yojson" class="anchor"></a><code><span class="keyword">val </span>footer_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-footer">footer</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-footer">footer</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-footer">footer</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-footer_of_yojson_exn"><a href="#val-footer_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>footer_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-footer">footer</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-footer">footer</a></code></dt></dl><dl><dt class="spec type" id="type-image"><a href="#type-image" class="anchor"></a><code><span class="keyword">type </span>image</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-image.url" class="anchored"><td class="def field"><a href="#type-image.url" class="anchor"></a><code>url : string option;</code></td></tr><tr id="type-image.proxy_url" class="anchored"><td class="def field"><a href="#type-image.proxy_url" class="anchor"></a><code>proxy_url : string option;</code></td></tr><tr id="type-image.height" class="anchored"><td class="def field"><a href="#type-image.height" class="anchor"></a><code>height : int option;</code></td></tr><tr id="type-image.width" class="anchored"><td class="def field"><a href="#type-image.width" class="anchor"></a><code>width : int option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-image_of_sexp"><a href="#val-image_of_sexp" class="anchor"></a><code><span class="keyword">val </span>image_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-image">image</a></code></dt><dt class="spec value" id="val-sexp_of_image"><a href="#val-sexp_of_image" class="anchor"></a><code><span class="keyword">val </span>sexp_of_image : <a href="index.html#type-image">image</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-image_to_yojson"><a href="#val-image_to_yojson" class="anchor"></a><code><span class="keyword">val </span>image_to_yojson : <a href="index.html#type-image">image</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-image_of_yojson"><a href="#val-image_of_yojson" class="anchor"></a><code><span class="keyword">val </span>image_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-image">image</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-image">image</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-image">image</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-image_of_yojson_exn"><a href="#val-image_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>image_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-image">image</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-image">image</a></code></dt></dl><dl><dt class="spec type" id="type-video"><a href="#type-video" class="anchor"></a><code><span class="keyword">type </span>video</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-video.url" class="anchored"><td class="def field"><a href="#type-video.url" class="anchor"></a><code>url : string option;</code></td></tr><tr id="type-video.height" class="anchored"><td class="def field"><a href="#type-video.height" class="anchor"></a><code>height : int option;</code></td></tr><tr id="type-video.width" class="anchored"><td class="def field"><a href="#type-video.width" class="anchor"></a><code>width : int option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-video_of_sexp"><a href="#val-video_of_sexp" class="anchor"></a><code><span class="keyword">val </span>video_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-video">video</a></code></dt><dt class="spec value" id="val-sexp_of_video"><a href="#val-sexp_of_video" class="anchor"></a><code><span class="keyword">val </span>sexp_of_video : <a href="index.html#type-video">video</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-video_to_yojson"><a href="#val-video_to_yojson" class="anchor"></a><code><span class="keyword">val </span>video_to_yojson : <a href="index.html#type-video">video</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-video_of_yojson"><a href="#val-video_of_yojson" class="anchor"></a><code><span class="keyword">val </span>video_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-video">video</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-video">video</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-video">video</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-video_of_yojson_exn"><a href="#val-video_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>video_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-video">video</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-video">video</a></code></dt></dl><dl><dt class="spec type" id="type-provider"><a href="#type-provider" class="anchor"></a><code><span class="keyword">type </span>provider</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-provider.name" class="anchored"><td class="def field"><a href="#type-provider.name" class="anchor"></a><code>name : string option;</code></td></tr><tr id="type-provider.url" class="anchored"><td class="def field"><a href="#type-provider.url" class="anchor"></a><code>url : string option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-provider_of_sexp"><a href="#val-provider_of_sexp" class="anchor"></a><code><span class="keyword">val </span>provider_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-provider">provider</a></code></dt><dt class="spec value" id="val-sexp_of_provider"><a href="#val-sexp_of_provider" class="anchor"></a><code><span class="keyword">val </span>sexp_of_provider : <a href="index.html#type-provider">provider</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-provider_to_yojson"><a href="#val-provider_to_yojson" class="anchor"></a><code><span class="keyword">val </span>provider_to_yojson : <a href="index.html#type-provider">provider</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-provider_of_yojson"><a href="#val-provider_of_yojson" class="anchor"></a><code><span class="keyword">val </span>provider_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-provider">provider</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-provider">provider</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-provider">provider</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-provider_of_yojson_exn"><a href="#val-provider_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>provider_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-provider">provider</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-provider">provider</a></code></dt></dl><dl><dt class="spec type" id="type-author"><a href="#type-author" class="anchor"></a><code><span class="keyword">type </span>author</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-author.name" class="anchored"><td class="def field"><a href="#type-author.name" class="anchor"></a><code>name : string option;</code></td></tr><tr id="type-author.url" class="anchored"><td class="def field"><a href="#type-author.url" class="anchor"></a><code>url : string option;</code></td></tr><tr id="type-author.icon_url" class="anchored"><td class="def field"><a href="#type-author.icon_url" class="anchor"></a><code>icon_url : string option;</code></td></tr><tr id="type-author.proxy_icon_url" class="anchored"><td class="def field"><a href="#type-author.proxy_icon_url" class="anchor"></a><code>proxy_icon_url : string option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-author_of_sexp"><a href="#val-author_of_sexp" class="anchor"></a><code><span class="keyword">val </span>author_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-author">author</a></code></dt><dt class="spec value" id="val-sexp_of_author"><a href="#val-sexp_of_author" class="anchor"></a><code><span class="keyword">val </span>sexp_of_author : <a href="index.html#type-author">author</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-author_to_yojson"><a href="#val-author_to_yojson" class="anchor"></a><code><span class="keyword">val </span>author_to_yojson : <a href="index.html#type-author">author</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-author_of_yojson"><a href="#val-author_of_yojson" class="anchor"></a><code><span class="keyword">val </span>author_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-author">author</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-author">author</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-author">author</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-author_of_yojson_exn"><a href="#val-author_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>author_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-author">author</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-author">author</a></code></dt></dl><dl><dt class="spec type" id="type-field"><a href="#type-field" class="anchor"></a><code><span class="keyword">type </span>field</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-field.name" class="anchored"><td class="def field"><a href="#type-field.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-field.value" class="anchored"><td class="def field"><a href="#type-field.value" class="anchor"></a><code>value : string;</code></td></tr><tr id="type-field.inline" class="anchored"><td class="def field"><a href="#type-field.inline" class="anchor"></a><code>inline : bool;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-field_of_sexp"><a href="#val-field_of_sexp" class="anchor"></a><code><span class="keyword">val </span>field_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-field">field</a></code></dt><dt class="spec value" id="val-sexp_of_field"><a href="#val-sexp_of_field" class="anchor"></a><code><span class="keyword">val </span>sexp_of_field : <a href="index.html#type-field">field</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-field_to_yojson"><a href="#val-field_to_yojson" class="anchor"></a><code><span class="keyword">val </span>field_to_yojson : <a href="index.html#type-field">field</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-field_of_yojson"><a href="#val-field_of_yojson" class="anchor"></a><code><span class="keyword">val </span>field_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-field">field</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-field">field</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-field">field</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-field_of_yojson_exn"><a href="#val-field_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>field_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-field">field</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-field">field</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.title" class="anchored"><td class="def field"><a href="#type-t.title" class="anchor"></a><code>title : string option;</code></td></tr><tr id="type-t.kind" class="anchored"><td class="def field"><a href="#type-t.kind" class="anchor"></a><code>kind : string option;</code></td></tr><tr id="type-t.description" class="anchored"><td class="def field"><a href="#type-t.description" class="anchor"></a><code>description : string option;</code></td></tr><tr id="type-t.url" class="anchored"><td class="def field"><a href="#type-t.url" class="anchor"></a><code>url : string option;</code></td></tr><tr id="type-t.timestamp" class="anchored"><td class="def field"><a href="#type-t.timestamp" class="anchor"></a><code>timestamp : string option;</code></td></tr><tr id="type-t.colour" class="anchored"><td class="def field"><a href="#type-t.colour" class="anchor"></a><code>colour : int option;</code></td></tr><tr id="type-t.footer" class="anchored"><td class="def field"><a href="#type-t.footer" class="anchor"></a><code>footer : <a href="index.html#type-footer">footer</a> option;</code></td></tr><tr id="type-t.image" class="anchored"><td class="def field"><a href="#type-t.image" class="anchor"></a><code>image : <a href="index.html#type-image">image</a> option;</code></td></tr><tr id="type-t.thumbnail" class="anchored"><td class="def field"><a href="#type-t.thumbnail" class="anchor"></a><code>thumbnail : <a href="index.html#type-image">image</a> option;</code></td></tr><tr id="type-t.video" class="anchored"><td class="def field"><a href="#type-t.video" class="anchor"></a><code>video : <a href="index.html#type-video">video</a> option;</code></td></tr><tr id="type-t.provider" class="anchored"><td class="def field"><a href="#type-t.provider" class="anchor"></a><code>provider : <a href="index.html#type-provider">provider</a> option;</code></td></tr><tr id="type-t.author" class="anchored"><td class="def field"><a href="#type-t.author" class="anchor"></a><code>author : <a href="index.html#type-author">author</a> option;</code></td></tr><tr id="type-t.fields" class="anchored"><td class="def field"><a href="#type-t.fields" class="anchor"></a><code>fields : <a href="index.html#type-field">field</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></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Embed (disml.Disml__Embed)</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> » Disml__Embed</nav><h1>Module <code>Disml__Embed</code></h1></header><dl><dt class="spec type" id="type-footer"><a href="#type-footer" class="anchor"></a><code><span class="keyword">type </span>footer</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-footer.text" class="anchored"><td class="def field"><a href="#type-footer.text" class="anchor"></a><code>text : string;</code></td></tr><tr id="type-footer.icon_url" class="anchored"><td class="def field"><a href="#type-footer.icon_url" class="anchor"></a><code>icon_url : string option;</code></td></tr><tr id="type-footer.proxy_icon_url" class="anchored"><td class="def field"><a href="#type-footer.proxy_icon_url" class="anchor"></a><code>proxy_icon_url : string option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-footer_of_sexp"><a href="#val-footer_of_sexp" class="anchor"></a><code><span class="keyword">val </span>footer_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-footer">footer</a></code></dt><dt class="spec value" id="val-sexp_of_footer"><a href="#val-sexp_of_footer" class="anchor"></a><code><span class="keyword">val </span>sexp_of_footer : <a href="index.html#type-footer">footer</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-footer_to_yojson"><a href="#val-footer_to_yojson" class="anchor"></a><code><span class="keyword">val </span>footer_to_yojson : <a href="index.html#type-footer">footer</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-footer_of_yojson"><a href="#val-footer_of_yojson" class="anchor"></a><code><span class="keyword">val </span>footer_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-footer">footer</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-footer_of_yojson_exn"><a href="#val-footer_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>footer_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-footer">footer</a></code></dt></dl><dl><dt class="spec type" id="type-image"><a href="#type-image" class="anchor"></a><code><span class="keyword">type </span>image</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-image.url" class="anchored"><td class="def field"><a href="#type-image.url" class="anchor"></a><code>url : string option;</code></td></tr><tr id="type-image.proxy_url" class="anchored"><td class="def field"><a href="#type-image.proxy_url" class="anchor"></a><code>proxy_url : string option;</code></td></tr><tr id="type-image.height" class="anchored"><td class="def field"><a href="#type-image.height" class="anchor"></a><code>height : int option;</code></td></tr><tr id="type-image.width" class="anchored"><td class="def field"><a href="#type-image.width" class="anchor"></a><code>width : int option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-image_of_sexp"><a href="#val-image_of_sexp" class="anchor"></a><code><span class="keyword">val </span>image_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-image">image</a></code></dt><dt class="spec value" id="val-sexp_of_image"><a href="#val-sexp_of_image" class="anchor"></a><code><span class="keyword">val </span>sexp_of_image : <a href="index.html#type-image">image</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-image_to_yojson"><a href="#val-image_to_yojson" class="anchor"></a><code><span class="keyword">val </span>image_to_yojson : <a href="index.html#type-image">image</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-image_of_yojson"><a href="#val-image_of_yojson" class="anchor"></a><code><span class="keyword">val </span>image_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-image">image</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-image_of_yojson_exn"><a href="#val-image_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>image_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-image">image</a></code></dt></dl><dl><dt class="spec type" id="type-video"><a href="#type-video" class="anchor"></a><code><span class="keyword">type </span>video</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-video.url" class="anchored"><td class="def field"><a href="#type-video.url" class="anchor"></a><code>url : string option;</code></td></tr><tr id="type-video.height" class="anchored"><td class="def field"><a href="#type-video.height" class="anchor"></a><code>height : int option;</code></td></tr><tr id="type-video.width" class="anchored"><td class="def field"><a href="#type-video.width" class="anchor"></a><code>width : int option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-video_of_sexp"><a href="#val-video_of_sexp" class="anchor"></a><code><span class="keyword">val </span>video_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-video">video</a></code></dt><dt class="spec value" id="val-sexp_of_video"><a href="#val-sexp_of_video" class="anchor"></a><code><span class="keyword">val </span>sexp_of_video : <a href="index.html#type-video">video</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-video_to_yojson"><a href="#val-video_to_yojson" class="anchor"></a><code><span class="keyword">val </span>video_to_yojson : <a href="index.html#type-video">video</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-video_of_yojson"><a href="#val-video_of_yojson" class="anchor"></a><code><span class="keyword">val </span>video_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-video">video</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-video_of_yojson_exn"><a href="#val-video_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>video_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-video">video</a></code></dt></dl><dl><dt class="spec type" id="type-provider"><a href="#type-provider" class="anchor"></a><code><span class="keyword">type </span>provider</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-provider.name" class="anchored"><td class="def field"><a href="#type-provider.name" class="anchor"></a><code>name : string option;</code></td></tr><tr id="type-provider.url" class="anchored"><td class="def field"><a href="#type-provider.url" class="anchor"></a><code>url : string option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-provider_of_sexp"><a href="#val-provider_of_sexp" class="anchor"></a><code><span class="keyword">val </span>provider_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-provider">provider</a></code></dt><dt class="spec value" id="val-sexp_of_provider"><a href="#val-sexp_of_provider" class="anchor"></a><code><span class="keyword">val </span>sexp_of_provider : <a href="index.html#type-provider">provider</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-provider_to_yojson"><a href="#val-provider_to_yojson" class="anchor"></a><code><span class="keyword">val </span>provider_to_yojson : <a href="index.html#type-provider">provider</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-provider_of_yojson"><a href="#val-provider_of_yojson" class="anchor"></a><code><span class="keyword">val </span>provider_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-provider">provider</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-provider_of_yojson_exn"><a href="#val-provider_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>provider_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-provider">provider</a></code></dt></dl><dl><dt class="spec type" id="type-author"><a href="#type-author" class="anchor"></a><code><span class="keyword">type </span>author</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-author.name" class="anchored"><td class="def field"><a href="#type-author.name" class="anchor"></a><code>name : string option;</code></td></tr><tr id="type-author.url" class="anchored"><td class="def field"><a href="#type-author.url" class="anchor"></a><code>url : string option;</code></td></tr><tr id="type-author.icon_url" class="anchored"><td class="def field"><a href="#type-author.icon_url" class="anchor"></a><code>icon_url : string option;</code></td></tr><tr id="type-author.proxy_icon_url" class="anchored"><td class="def field"><a href="#type-author.proxy_icon_url" class="anchor"></a><code>proxy_icon_url : string option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-author_of_sexp"><a href="#val-author_of_sexp" class="anchor"></a><code><span class="keyword">val </span>author_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-author">author</a></code></dt><dt class="spec value" id="val-sexp_of_author"><a href="#val-sexp_of_author" class="anchor"></a><code><span class="keyword">val </span>sexp_of_author : <a href="index.html#type-author">author</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-author_to_yojson"><a href="#val-author_to_yojson" class="anchor"></a><code><span class="keyword">val </span>author_to_yojson : <a href="index.html#type-author">author</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-author_of_yojson"><a href="#val-author_of_yojson" class="anchor"></a><code><span class="keyword">val </span>author_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-author">author</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-author_of_yojson_exn"><a href="#val-author_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>author_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-author">author</a></code></dt></dl><dl><dt class="spec type" id="type-field"><a href="#type-field" class="anchor"></a><code><span class="keyword">type </span>field</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-field.name" class="anchored"><td class="def field"><a href="#type-field.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-field.value" class="anchored"><td class="def field"><a href="#type-field.value" class="anchor"></a><code>value : string;</code></td></tr><tr id="type-field.inline" class="anchored"><td class="def field"><a href="#type-field.inline" class="anchor"></a><code>inline : bool;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-field_of_sexp"><a href="#val-field_of_sexp" class="anchor"></a><code><span class="keyword">val </span>field_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-field">field</a></code></dt><dt class="spec value" id="val-sexp_of_field"><a href="#val-sexp_of_field" class="anchor"></a><code><span class="keyword">val </span>sexp_of_field : <a href="index.html#type-field">field</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-field_to_yojson"><a href="#val-field_to_yojson" class="anchor"></a><code><span class="keyword">val </span>field_to_yojson : <a href="index.html#type-field">field</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-field_of_yojson"><a href="#val-field_of_yojson" class="anchor"></a><code><span class="keyword">val </span>field_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-field">field</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-field_of_yojson_exn"><a href="#val-field_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>field_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-field">field</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.title" class="anchored"><td class="def field"><a href="#type-t.title" class="anchor"></a><code>title : string option;</code></td></tr><tr id="type-t.kind" class="anchored"><td class="def field"><a href="#type-t.kind" class="anchor"></a><code>kind : string option;</code></td></tr><tr id="type-t.description" class="anchored"><td class="def field"><a href="#type-t.description" class="anchor"></a><code>description : string option;</code></td></tr><tr id="type-t.url" class="anchored"><td class="def field"><a href="#type-t.url" class="anchor"></a><code>url : string option;</code></td></tr><tr id="type-t.timestamp" class="anchored"><td class="def field"><a href="#type-t.timestamp" class="anchor"></a><code>timestamp : string option;</code></td></tr><tr id="type-t.colour" class="anchored"><td class="def field"><a href="#type-t.colour" class="anchor"></a><code>colour : int option;</code></td></tr><tr id="type-t.footer" class="anchored"><td class="def field"><a href="#type-t.footer" class="anchor"></a><code>footer : <a href="index.html#type-footer">footer</a> option;</code></td></tr><tr id="type-t.image" class="anchored"><td class="def field"><a href="#type-t.image" class="anchor"></a><code>image : <a href="index.html#type-image">image</a> option;</code></td></tr><tr id="type-t.thumbnail" class="anchored"><td class="def field"><a href="#type-t.thumbnail" class="anchor"></a><code>thumbnail : <a href="index.html#type-image">image</a> option;</code></td></tr><tr id="type-t.video" class="anchored"><td class="def field"><a href="#type-t.video" class="anchor"></a><code>video : <a href="index.html#type-video">video</a> option;</code></td></tr><tr id="type-t.provider" class="anchored"><td class="def field"><a href="#type-t.provider" class="anchor"></a><code>provider : <a href="index.html#type-provider">provider</a> option;</code></td></tr><tr id="type-t.author" class="anchored"><td class="def field"><a href="#type-t.author" class="anchor"></a><code>author : <a href="index.html#type-author">author</a> option;</code></td></tr><tr id="type-t.fields" class="anchored"><td class="def field"><a href="#type-t.fields" class="anchor"></a><code>fields : <a href="index.html#type-field">field</a> list;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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-default"><a href="#val-default" class="anchor"></a><code><span class="keyword">val </span>default : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-default_footer"><a href="#val-default_footer" class="anchor"></a><code><span class="keyword">val </span>default_footer : <a href="index.html#type-footer">footer</a></code></dt><dt class="spec value" id="val-default_image"><a href="#val-default_image" class="anchor"></a><code><span class="keyword">val </span>default_image : <a href="index.html#type-image">image</a></code></dt><dt class="spec value" id="val-default_video"><a href="#val-default_video" class="anchor"></a><code><span class="keyword">val </span>default_video : <a href="index.html#type-video">video</a></code></dt><dt class="spec value" id="val-default_provider"><a href="#val-default_provider" class="anchor"></a><code><span class="keyword">val </span>default_provider : <a href="index.html#type-provider">provider</a></code></dt><dt class="spec value" id="val-default_author"><a href="#val-default_author" class="anchor"></a><code><span class="keyword">val </span>default_author : <a href="index.html#type-author">author</a></code></dt><dt class="spec value" id="val-title"><a href="#val-title" class="anchor"></a><code><span class="keyword">val </span>title : string <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-description"><a href="#val-description" class="anchor"></a><code><span class="keyword">val </span>description : string <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-url"><a href="#val-url" class="anchor"></a><code><span class="keyword">val </span>url : string <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-timestamp"><a href="#val-timestamp" class="anchor"></a><code><span class="keyword">val </span>timestamp : string <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-colour"><a href="#val-colour" class="anchor"></a><code><span class="keyword">val </span>colour : int <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-color"><a href="#val-color" class="anchor"></a><code><span class="keyword">val </span>color : int <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-footer"><a href="#val-footer" class="anchor"></a><code><span class="keyword">val </span>footer : (<a href="index.html#type-footer">footer</a> <span>-></span> <a href="index.html#type-footer">footer</a>) <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-image"><a href="#val-image" class="anchor"></a><code><span class="keyword">val </span>image : string <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-thumbnail"><a href="#val-thumbnail" class="anchor"></a><code><span class="keyword">val </span>thumbnail : string <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-author"><a href="#val-author" class="anchor"></a><code><span class="keyword">val </span>author : (<a href="index.html#type-author">author</a> <span>-></span> <a href="index.html#type-author">author</a>) <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-field"><a href="#val-field" class="anchor"></a><code><span class="keyword">val </span>field : (string<span class="keyword"> * </span>string<span class="keyword"> * </span>bool) <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-fields"><a href="#val-fields" class="anchor"></a><code><span class="keyword">val </span>fields : (string<span class="keyword"> * </span>string<span class="keyword"> * </span>bool) list <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-footer_text"><a href="#val-footer_text" class="anchor"></a><code><span class="keyword">val </span>footer_text : string <span>-></span> <a href="index.html#type-footer">footer</a> <span>-></span> <a href="index.html#type-footer">footer</a></code></dt><dt class="spec value" id="val-footer_icon"><a href="#val-footer_icon" class="anchor"></a><code><span class="keyword">val </span>footer_icon : string <span>-></span> <a href="index.html#type-footer">footer</a> <span>-></span> <a href="index.html#type-footer">footer</a></code></dt><dt class="spec value" id="val-author_name"><a href="#val-author_name" class="anchor"></a><code><span class="keyword">val </span>author_name : string <span>-></span> <a href="index.html#type-author">author</a> <span>-></span> <a href="index.html#type-author">author</a></code></dt><dt class="spec value" id="val-author_url"><a href="#val-author_url" class="anchor"></a><code><span class="keyword">val </span>author_url : string <span>-></span> <a href="index.html#type-author">author</a> <span>-></span> <a href="index.html#type-author">author</a></code></dt><dt class="spec value" id="val-author_icon"><a href="#val-author_icon" class="anchor"></a><code><span class="keyword">val </span>author_icon : string <span>-></span> <a href="index.html#type-author">author</a> <span>-></span> <a href="index.html#type-author">author</a></code></dt></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Emoji/index.html b/docs/disml/Disml__Emoji/index.html index f23c60a..9a766b9 100644 --- a/docs/disml/Disml__Emoji/index.html +++ b/docs/disml/Disml__Emoji/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Emoji (disml.Disml__Emoji)</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> » Disml__Emoji</nav><h1>Module <code>Disml__Emoji</code></h1></header><dl><dt class="spec type" id="type-partial_emoji"><a href="#type-partial_emoji" class="anchor"></a><code><span class="keyword">type </span>partial_emoji</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-partial_emoji.id" class="anchored"><td class="def field"><a href="#type-partial_emoji.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-partial_emoji.name" class="anchored"><td class="def field"><a href="#type-partial_emoji.name" class="anchor"></a><code>name : string;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-partial_emoji_of_sexp"><a href="#val-partial_emoji_of_sexp" class="anchor"></a><code><span class="keyword">val </span>partial_emoji_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-partial_emoji">partial_emoji</a></code></dt><dt class="spec value" id="val-sexp_of_partial_emoji"><a href="#val-sexp_of_partial_emoji" class="anchor"></a><code><span class="keyword">val </span>sexp_of_partial_emoji : <a href="index.html#type-partial_emoji">partial_emoji</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-partial_emoji_to_yojson"><a href="#val-partial_emoji_to_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_emoji_to_yojson : <a href="index.html#type-partial_emoji">partial_emoji</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-partial_emoji_of_yojson"><a href="#val-partial_emoji_of_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_emoji_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_emoji">partial_emoji</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-partial_emoji">partial_emoji</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-partial_emoji">partial_emoji</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-partial_emoji_of_yojson_exn"><a href="#val-partial_emoji_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>partial_emoji_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_emoji">partial_emoji</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-partial_emoji">partial_emoji</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="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</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.roles" class="anchored"><td class="def field"><a href="#type-t.roles" class="anchor"></a><code>roles : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-t.user" class="anchored"><td class="def field"><a href="#type-t.user" class="anchor"></a><code>user : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a> option;</code></td></tr><tr id="type-t.require_colons" class="anchored"><td class="def field"><a href="#type-t.require_colons" class="anchor"></a><code>require_colons : bool option;</code></td></tr><tr id="type-t.managed" class="anchored"><td class="def field"><a href="#type-t.managed" class="anchor"></a><code>managed : bool option;</code></td></tr><tr id="type-t.animated" class="anchored"><td class="def field"><a href="#type-t.animated" class="anchor"></a><code>animated : bool option;</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></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Emoji (disml.Disml__Emoji)</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> » Disml__Emoji</nav><h1>Module <code>Disml__Emoji</code></h1></header><dl><dt class="spec type" id="type-partial_emoji"><a href="#type-partial_emoji" class="anchor"></a><code><span class="keyword">type </span>partial_emoji</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-partial_emoji.id" class="anchored"><td class="def field"><a href="#type-partial_emoji.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-partial_emoji.name" class="anchored"><td class="def field"><a href="#type-partial_emoji.name" class="anchor"></a><code>name : string;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-partial_emoji_of_sexp"><a href="#val-partial_emoji_of_sexp" class="anchor"></a><code><span class="keyword">val </span>partial_emoji_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-partial_emoji">partial_emoji</a></code></dt><dt class="spec value" id="val-sexp_of_partial_emoji"><a href="#val-sexp_of_partial_emoji" class="anchor"></a><code><span class="keyword">val </span>sexp_of_partial_emoji : <a href="index.html#type-partial_emoji">partial_emoji</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-partial_emoji_to_yojson"><a href="#val-partial_emoji_to_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_emoji_to_yojson : <a href="index.html#type-partial_emoji">partial_emoji</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-partial_emoji_of_yojson"><a href="#val-partial_emoji_of_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_emoji_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_emoji">partial_emoji</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-partial_emoji_of_yojson_exn"><a href="#val-partial_emoji_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>partial_emoji_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_emoji">partial_emoji</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="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</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.roles" class="anchored"><td class="def field"><a href="#type-t.roles" class="anchor"></a><code>roles : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-t.user" class="anchored"><td class="def field"><a href="#type-t.user" class="anchor"></a><code>user : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a> option;</code></td></tr><tr id="type-t.require_colons" class="anchored"><td class="def field"><a href="#type-t.require_colons" class="anchor"></a><code>require_colons : bool option;</code></td></tr><tr id="type-t.managed" class="anchored"><td class="def field"><a href="#type-t.managed" class="anchor"></a><code>managed : bool option;</code></td></tr><tr id="type-t.animated" class="anchored"><td class="def field"><a href="#type-t.animated" class="anchor"></a><code>animated : bool option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Endpoints/index.html b/docs/disml/Disml__Endpoints/index.html index 8917472..232b2c1 100644 --- a/docs/disml/Disml__Endpoints/index.html +++ b/docs/disml/Disml__Endpoints/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Endpoints (disml.Disml__Endpoints)</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> » Disml__Endpoints</nav><h1>Module <code>Disml__Endpoints</code></h1></header><dl><dt class="spec value" id="val-gateway"><a href="#val-gateway" class="anchor"></a><code><span class="keyword">val </span>gateway : string</code></dt><dt class="spec value" id="val-gateway_bot"><a href="#val-gateway_bot" class="anchor"></a><code><span class="keyword">val </span>gateway_bot : string</code></dt><dt class="spec value" id="val-channel"><a href="#val-channel" class="anchor"></a><code><span class="keyword">val </span>channel : int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_messages"><a href="#val-channel_messages" class="anchor"></a><code><span class="keyword">val </span>channel_messages : int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_message"><a href="#val-channel_message" class="anchor"></a><code><span class="keyword">val </span>channel_message : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_reaction_me"><a href="#val-channel_reaction_me" class="anchor"></a><code><span class="keyword">val </span>channel_reaction_me : int <span>-></span> int <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-channel_reaction"><a href="#val-channel_reaction" class="anchor"></a><code><span class="keyword">val </span>channel_reaction : int <span>-></span> int <span>-></span> string <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_reactions_get"><a href="#val-channel_reactions_get" class="anchor"></a><code><span class="keyword">val </span>channel_reactions_get : int <span>-></span> int <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-channel_reactions_delete"><a href="#val-channel_reactions_delete" class="anchor"></a><code><span class="keyword">val </span>channel_reactions_delete : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_bulk_delete"><a href="#val-channel_bulk_delete" class="anchor"></a><code><span class="keyword">val </span>channel_bulk_delete : int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_permission"><a href="#val-channel_permission" class="anchor"></a><code><span class="keyword">val </span>channel_permission : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_permissions"><a href="#val-channel_permissions" class="anchor"></a><code><span class="keyword">val </span>channel_permissions : int <span>-></span> string</code></dt><dt class="spec value" id="val-channels"><a href="#val-channels" class="anchor"></a><code><span class="keyword">val </span>channels : string</code></dt><dt class="spec value" id="val-channel_call_ring"><a href="#val-channel_call_ring" class="anchor"></a><code><span class="keyword">val </span>channel_call_ring : int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_invites"><a href="#val-channel_invites" class="anchor"></a><code><span class="keyword">val </span>channel_invites : int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_typing"><a href="#val-channel_typing" class="anchor"></a><code><span class="keyword">val </span>channel_typing : int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_pins"><a href="#val-channel_pins" class="anchor"></a><code><span class="keyword">val </span>channel_pins : int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_pin"><a href="#val-channel_pin" class="anchor"></a><code><span class="keyword">val </span>channel_pin : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guilds"><a href="#val-guilds" class="anchor"></a><code><span class="keyword">val </span>guilds : string</code></dt><dt class="spec value" id="val-guild"><a href="#val-guild" class="anchor"></a><code><span class="keyword">val </span>guild : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_channels"><a href="#val-guild_channels" class="anchor"></a><code><span class="keyword">val </span>guild_channels : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_members"><a href="#val-guild_members" class="anchor"></a><code><span class="keyword">val </span>guild_members : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_member"><a href="#val-guild_member" class="anchor"></a><code><span class="keyword">val </span>guild_member : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_member_role"><a href="#val-guild_member_role" class="anchor"></a><code><span class="keyword">val </span>guild_member_role : int <span>-></span> int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_bans"><a href="#val-guild_bans" class="anchor"></a><code><span class="keyword">val </span>guild_bans : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_ban"><a href="#val-guild_ban" class="anchor"></a><code><span class="keyword">val </span>guild_ban : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_roles"><a href="#val-guild_roles" class="anchor"></a><code><span class="keyword">val </span>guild_roles : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_role"><a href="#val-guild_role" class="anchor"></a><code><span class="keyword">val </span>guild_role : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_prune"><a href="#val-guild_prune" class="anchor"></a><code><span class="keyword">val </span>guild_prune : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_voice_regions"><a href="#val-guild_voice_regions" class="anchor"></a><code><span class="keyword">val </span>guild_voice_regions : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_invites"><a href="#val-guild_invites" class="anchor"></a><code><span class="keyword">val </span>guild_invites : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_integrations"><a href="#val-guild_integrations" class="anchor"></a><code><span class="keyword">val </span>guild_integrations : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_integration"><a href="#val-guild_integration" class="anchor"></a><code><span class="keyword">val </span>guild_integration : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_integration_sync"><a href="#val-guild_integration_sync" class="anchor"></a><code><span class="keyword">val </span>guild_integration_sync : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_embed"><a href="#val-guild_embed" class="anchor"></a><code><span class="keyword">val </span>guild_embed : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_emojis"><a href="#val-guild_emojis" class="anchor"></a><code><span class="keyword">val </span>guild_emojis : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_emoji"><a href="#val-guild_emoji" class="anchor"></a><code><span class="keyword">val </span>guild_emoji : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-webhooks_guild"><a href="#val-webhooks_guild" class="anchor"></a><code><span class="keyword">val </span>webhooks_guild : int <span>-></span> string</code></dt><dt class="spec value" id="val-webhooks_channel"><a href="#val-webhooks_channel" class="anchor"></a><code><span class="keyword">val </span>webhooks_channel : int <span>-></span> string</code></dt><dt class="spec value" id="val-webhook"><a href="#val-webhook" class="anchor"></a><code><span class="keyword">val </span>webhook : int <span>-></span> string</code></dt><dt class="spec value" id="val-webhook_token"><a href="#val-webhook_token" class="anchor"></a><code><span class="keyword">val </span>webhook_token : int <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-webhook_git"><a href="#val-webhook_git" class="anchor"></a><code><span class="keyword">val </span>webhook_git : int <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-webhook_slack"><a href="#val-webhook_slack" class="anchor"></a><code><span class="keyword">val </span>webhook_slack : int <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-user"><a href="#val-user" class="anchor"></a><code><span class="keyword">val </span>user : int <span>-></span> string</code></dt><dt class="spec value" id="val-me"><a href="#val-me" class="anchor"></a><code><span class="keyword">val </span>me : string</code></dt><dt class="spec value" id="val-me_guilds"><a href="#val-me_guilds" class="anchor"></a><code><span class="keyword">val </span>me_guilds : string</code></dt><dt class="spec value" id="val-me_guild"><a href="#val-me_guild" class="anchor"></a><code><span class="keyword">val </span>me_guild : int <span>-></span> string</code></dt><dt class="spec value" id="val-me_channels"><a href="#val-me_channels" class="anchor"></a><code><span class="keyword">val </span>me_channels : string</code></dt><dt class="spec value" id="val-me_connections"><a href="#val-me_connections" class="anchor"></a><code><span class="keyword">val </span>me_connections : string</code></dt><dt class="spec value" id="val-invite"><a href="#val-invite" class="anchor"></a><code><span class="keyword">val </span>invite : string <span>-></span> string</code></dt><dt class="spec value" id="val-regions"><a href="#val-regions" class="anchor"></a><code><span class="keyword">val </span>regions : string</code></dt><dt class="spec value" id="val-application_information"><a href="#val-application_information" class="anchor"></a><code><span class="keyword">val </span>application_information : string</code></dt><dt class="spec value" id="val-group_recipient"><a href="#val-group_recipient" class="anchor"></a><code><span class="keyword">val </span>group_recipient : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_me_nick"><a href="#val-guild_me_nick" class="anchor"></a><code><span class="keyword">val </span>guild_me_nick : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_vanity_url"><a href="#val-guild_vanity_url" class="anchor"></a><code><span class="keyword">val </span>guild_vanity_url : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_audit_logs"><a href="#val-guild_audit_logs" class="anchor"></a><code><span class="keyword">val </span>guild_audit_logs : int <span>-></span> string</code></dt><dt class="spec value" id="val-cdn_embed_avatar"><a href="#val-cdn_embed_avatar" class="anchor"></a><code><span class="keyword">val </span>cdn_embed_avatar : string <span>-></span> string</code></dt><dt class="spec value" id="val-cdn_emoji"><a href="#val-cdn_emoji" class="anchor"></a><code><span class="keyword">val </span>cdn_emoji : string <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-cdn_icon"><a href="#val-cdn_icon" class="anchor"></a><code><span class="keyword">val </span>cdn_icon : int <span>-></span> string <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-cdn_avatar"><a href="#val-cdn_avatar" class="anchor"></a><code><span class="keyword">val </span>cdn_avatar : int <span>-></span> string <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-cdn_default_avatar"><a href="#val-cdn_default_avatar" class="anchor"></a><code><span class="keyword">val </span>cdn_default_avatar : int <span>-></span> string</code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Endpoints (disml.Disml__Endpoints)</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> » Disml__Endpoints</nav><h1>Module <code>Disml__Endpoints</code></h1><p>Endpoint formatters used internally.</p></header><dl><dt class="spec value" id="val-gateway"><a href="#val-gateway" class="anchor"></a><code><span class="keyword">val </span>gateway : string</code></dt><dt class="spec value" id="val-gateway_bot"><a href="#val-gateway_bot" class="anchor"></a><code><span class="keyword">val </span>gateway_bot : string</code></dt><dt class="spec value" id="val-channel"><a href="#val-channel" class="anchor"></a><code><span class="keyword">val </span>channel : int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_messages"><a href="#val-channel_messages" class="anchor"></a><code><span class="keyword">val </span>channel_messages : int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_message"><a href="#val-channel_message" class="anchor"></a><code><span class="keyword">val </span>channel_message : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_reaction_me"><a href="#val-channel_reaction_me" class="anchor"></a><code><span class="keyword">val </span>channel_reaction_me : int <span>-></span> int <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-channel_reaction"><a href="#val-channel_reaction" class="anchor"></a><code><span class="keyword">val </span>channel_reaction : int <span>-></span> int <span>-></span> string <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_reactions_get"><a href="#val-channel_reactions_get" class="anchor"></a><code><span class="keyword">val </span>channel_reactions_get : int <span>-></span> int <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-channel_reactions_delete"><a href="#val-channel_reactions_delete" class="anchor"></a><code><span class="keyword">val </span>channel_reactions_delete : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_bulk_delete"><a href="#val-channel_bulk_delete" class="anchor"></a><code><span class="keyword">val </span>channel_bulk_delete : int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_permission"><a href="#val-channel_permission" class="anchor"></a><code><span class="keyword">val </span>channel_permission : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_permissions"><a href="#val-channel_permissions" class="anchor"></a><code><span class="keyword">val </span>channel_permissions : int <span>-></span> string</code></dt><dt class="spec value" id="val-channels"><a href="#val-channels" class="anchor"></a><code><span class="keyword">val </span>channels : string</code></dt><dt class="spec value" id="val-channel_call_ring"><a href="#val-channel_call_ring" class="anchor"></a><code><span class="keyword">val </span>channel_call_ring : int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_invites"><a href="#val-channel_invites" class="anchor"></a><code><span class="keyword">val </span>channel_invites : int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_typing"><a href="#val-channel_typing" class="anchor"></a><code><span class="keyword">val </span>channel_typing : int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_pins"><a href="#val-channel_pins" class="anchor"></a><code><span class="keyword">val </span>channel_pins : int <span>-></span> string</code></dt><dt class="spec value" id="val-channel_pin"><a href="#val-channel_pin" class="anchor"></a><code><span class="keyword">val </span>channel_pin : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guilds"><a href="#val-guilds" class="anchor"></a><code><span class="keyword">val </span>guilds : string</code></dt><dt class="spec value" id="val-guild"><a href="#val-guild" class="anchor"></a><code><span class="keyword">val </span>guild : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_channels"><a href="#val-guild_channels" class="anchor"></a><code><span class="keyword">val </span>guild_channels : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_members"><a href="#val-guild_members" class="anchor"></a><code><span class="keyword">val </span>guild_members : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_member"><a href="#val-guild_member" class="anchor"></a><code><span class="keyword">val </span>guild_member : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_member_role"><a href="#val-guild_member_role" class="anchor"></a><code><span class="keyword">val </span>guild_member_role : int <span>-></span> int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_bans"><a href="#val-guild_bans" class="anchor"></a><code><span class="keyword">val </span>guild_bans : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_ban"><a href="#val-guild_ban" class="anchor"></a><code><span class="keyword">val </span>guild_ban : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_roles"><a href="#val-guild_roles" class="anchor"></a><code><span class="keyword">val </span>guild_roles : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_role"><a href="#val-guild_role" class="anchor"></a><code><span class="keyword">val </span>guild_role : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_prune"><a href="#val-guild_prune" class="anchor"></a><code><span class="keyword">val </span>guild_prune : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_voice_regions"><a href="#val-guild_voice_regions" class="anchor"></a><code><span class="keyword">val </span>guild_voice_regions : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_invites"><a href="#val-guild_invites" class="anchor"></a><code><span class="keyword">val </span>guild_invites : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_integrations"><a href="#val-guild_integrations" class="anchor"></a><code><span class="keyword">val </span>guild_integrations : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_integration"><a href="#val-guild_integration" class="anchor"></a><code><span class="keyword">val </span>guild_integration : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_integration_sync"><a href="#val-guild_integration_sync" class="anchor"></a><code><span class="keyword">val </span>guild_integration_sync : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_embed"><a href="#val-guild_embed" class="anchor"></a><code><span class="keyword">val </span>guild_embed : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_emojis"><a href="#val-guild_emojis" class="anchor"></a><code><span class="keyword">val </span>guild_emojis : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_emoji"><a href="#val-guild_emoji" class="anchor"></a><code><span class="keyword">val </span>guild_emoji : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-webhooks_guild"><a href="#val-webhooks_guild" class="anchor"></a><code><span class="keyword">val </span>webhooks_guild : int <span>-></span> string</code></dt><dt class="spec value" id="val-webhooks_channel"><a href="#val-webhooks_channel" class="anchor"></a><code><span class="keyword">val </span>webhooks_channel : int <span>-></span> string</code></dt><dt class="spec value" id="val-webhook"><a href="#val-webhook" class="anchor"></a><code><span class="keyword">val </span>webhook : int <span>-></span> string</code></dt><dt class="spec value" id="val-webhook_token"><a href="#val-webhook_token" class="anchor"></a><code><span class="keyword">val </span>webhook_token : int <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-webhook_git"><a href="#val-webhook_git" class="anchor"></a><code><span class="keyword">val </span>webhook_git : int <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-webhook_slack"><a href="#val-webhook_slack" class="anchor"></a><code><span class="keyword">val </span>webhook_slack : int <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-user"><a href="#val-user" class="anchor"></a><code><span class="keyword">val </span>user : int <span>-></span> string</code></dt><dt class="spec value" id="val-me"><a href="#val-me" class="anchor"></a><code><span class="keyword">val </span>me : string</code></dt><dt class="spec value" id="val-me_guilds"><a href="#val-me_guilds" class="anchor"></a><code><span class="keyword">val </span>me_guilds : string</code></dt><dt class="spec value" id="val-me_guild"><a href="#val-me_guild" class="anchor"></a><code><span class="keyword">val </span>me_guild : int <span>-></span> string</code></dt><dt class="spec value" id="val-me_channels"><a href="#val-me_channels" class="anchor"></a><code><span class="keyword">val </span>me_channels : string</code></dt><dt class="spec value" id="val-me_connections"><a href="#val-me_connections" class="anchor"></a><code><span class="keyword">val </span>me_connections : string</code></dt><dt class="spec value" id="val-invite"><a href="#val-invite" class="anchor"></a><code><span class="keyword">val </span>invite : string <span>-></span> string</code></dt><dt class="spec value" id="val-regions"><a href="#val-regions" class="anchor"></a><code><span class="keyword">val </span>regions : string</code></dt><dt class="spec value" id="val-application_information"><a href="#val-application_information" class="anchor"></a><code><span class="keyword">val </span>application_information : string</code></dt><dt class="spec value" id="val-group_recipient"><a href="#val-group_recipient" class="anchor"></a><code><span class="keyword">val </span>group_recipient : int <span>-></span> int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_me_nick"><a href="#val-guild_me_nick" class="anchor"></a><code><span class="keyword">val </span>guild_me_nick : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_vanity_url"><a href="#val-guild_vanity_url" class="anchor"></a><code><span class="keyword">val </span>guild_vanity_url : int <span>-></span> string</code></dt><dt class="spec value" id="val-guild_audit_logs"><a href="#val-guild_audit_logs" class="anchor"></a><code><span class="keyword">val </span>guild_audit_logs : int <span>-></span> string</code></dt><dt class="spec value" id="val-cdn_embed_avatar"><a href="#val-cdn_embed_avatar" class="anchor"></a><code><span class="keyword">val </span>cdn_embed_avatar : string <span>-></span> string</code></dt><dt class="spec value" id="val-cdn_emoji"><a href="#val-cdn_emoji" class="anchor"></a><code><span class="keyword">val </span>cdn_emoji : string <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-cdn_icon"><a href="#val-cdn_icon" class="anchor"></a><code><span class="keyword">val </span>cdn_icon : int <span>-></span> string <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-cdn_avatar"><a href="#val-cdn_avatar" class="anchor"></a><code><span class="keyword">val </span>cdn_avatar : int <span>-></span> string <span>-></span> string <span>-></span> string</code></dt><dt class="spec value" id="val-cdn_default_avatar"><a href="#val-cdn_default_avatar" class="anchor"></a><code><span class="keyword">val </span>cdn_default_avatar : int <span>-></span> string</code></dt></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Event/index.html b/docs/disml/Disml__Event/index.html index 42071ab..ea15cf9 100644 --- a/docs/disml/Disml__Event/index.html +++ b/docs/disml/Disml__Event/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Event (disml.Disml__Event)</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> » Disml__Event</nav><h1>Module <code>Disml__Event</code></h1></header><dl><dt class="spec exception" id="exception-Invalid_event"><a href="#exception-Invalid_event" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">Invalid_event</span><span class="keyword"> of </span>string</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><table class="variant"><tr id="type-t.HELLO" class="anchored"><td class="def constructor"><a href="#type-t.HELLO" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">HELLO</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.READY" class="anchored"><td class="def constructor"><a href="#type-t.READY" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">READY</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.RESUMED" class="anchored"><td class="def constructor"><a href="#type-t.RESUMED" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">RESUMED</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.INVALID_SESSION" class="anchored"><td class="def constructor"><a href="#type-t.INVALID_SESSION" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">INVALID_SESSION</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.CHANNEL_CREATE" class="anchored"><td class="def constructor"><a href="#type-t.CHANNEL_CREATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">CHANNEL_CREATE</span><span class="keyword"> of </span><a href="../Disml/Channel_t/index.html#type-t">Disml.Channel_t.t</a></code></td></tr><tr id="type-t.CHANNEL_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.CHANNEL_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">CHANNEL_UPDATE</span><span class="keyword"> of </span><a href="../Disml/Channel_t/index.html#type-t">Disml.Channel_t.t</a></code></td></tr><tr id="type-t.CHANNEL_DELETE" class="anchored"><td class="def constructor"><a href="#type-t.CHANNEL_DELETE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">CHANNEL_DELETE</span><span class="keyword"> of </span><a href="../Disml/Channel_t/index.html#type-t">Disml.Channel_t.t</a></code></td></tr><tr id="type-t.CHANNEL_PINS_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.CHANNEL_PINS_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">CHANNEL_PINS_UPDATE</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.GUILD_CREATE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_CREATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_CREATE</span><span class="keyword"> of </span><a href="../Disml/Guild_t/index.html#type-t">Disml.Guild_t.t</a></code></td></tr><tr id="type-t.GUILD_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_UPDATE</span><span class="keyword"> of </span><a href="../Disml/Guild_t/index.html#type-t">Disml.Guild_t.t</a></code></td></tr><tr id="type-t.GUILD_DELETE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_DELETE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_DELETE</span><span class="keyword"> of </span><a href="../Disml/Guild_t/index.html#type-t">Disml.Guild_t.t</a></code></td></tr><tr id="type-t.GUILD_BAN_ADD" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_BAN_ADD" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_BAN_ADD</span><span class="keyword"> of </span><a href="../Disml/Ban_t/index.html#type-t">Disml.Ban_t.t</a></code></td></tr><tr id="type-t.GUILD_BAN_REMOVE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_BAN_REMOVE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_BAN_REMOVE</span><span class="keyword"> of </span><a href="../Disml/Ban_t/index.html#type-t">Disml.Ban_t.t</a></code></td></tr><tr id="type-t.GUILD_EMOJIS_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_EMOJIS_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_EMOJIS_UPDATE</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.GUILD_INTEGRATIONS_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_INTEGRATIONS_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_INTEGRATIONS_UPDATE</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.GUILD_MEMBER_ADD" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_MEMBER_ADD" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_MEMBER_ADD</span><span class="keyword"> of </span><a href="../Disml/Member_t/index.html#type-t">Disml.Member_t.t</a></code></td></tr><tr id="type-t.GUILD_MEMBER_REMOVE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_MEMBER_REMOVE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_MEMBER_REMOVE</span><span class="keyword"> of </span><a href="../Disml/Member_t/index.html#type-member_wrapper">Disml.Member_t.member_wrapper</a></code></td></tr><tr id="type-t.GUILD_MEMBER_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_MEMBER_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_MEMBER_UPDATE</span><span class="keyword"> of </span><a href="../Disml/Member_t/index.html#type-member_update">Disml.Member_t.member_update</a></code></td></tr><tr id="type-t.GUILD_MEMBERS_CHUNK" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_MEMBERS_CHUNK" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_MEMBERS_CHUNK</span><span class="keyword"> of </span><a href="../Disml/Member_t/index.html#type-t">Disml.Member_t.t</a> list</code></td></tr><tr id="type-t.GUILD_ROLE_CREATE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_ROLE_CREATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_ROLE_CREATE</span><span class="keyword"> of </span><a href="../Disml/Role_t/index.html#type-t">Disml.Role_t.t</a></code></td></tr><tr id="type-t.GUILD_ROLE_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_ROLE_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_ROLE_UPDATE</span><span class="keyword"> of </span><a href="../Disml/Role_t/index.html#type-t">Disml.Role_t.t</a></code></td></tr><tr id="type-t.GUILD_ROLE_DELETE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_ROLE_DELETE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_ROLE_DELETE</span><span class="keyword"> of </span><a href="../Disml/Role_t/index.html#type-t">Disml.Role_t.t</a></code></td></tr><tr id="type-t.MESSAGE_CREATE" class="anchored"><td class="def constructor"><a href="#type-t.MESSAGE_CREATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">MESSAGE_CREATE</span><span class="keyword"> of </span><a href="../Disml/Message_t/index.html#type-t">Disml.Message_t.t</a></code></td></tr><tr id="type-t.MESSAGE_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.MESSAGE_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">MESSAGE_UPDATE</span><span class="keyword"> of </span><a href="../Disml/Message_t/index.html#type-message_update">Disml.Message_t.message_update</a></code></td></tr><tr id="type-t.MESSAGE_DELETE" class="anchored"><td class="def constructor"><a href="#type-t.MESSAGE_DELETE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">MESSAGE_DELETE</span><span class="keyword"> of </span><a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a><span class="keyword"> * </span><a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a></code></td></tr><tr id="type-t.MESSAGE_BULK_DELETE" class="anchored"><td class="def constructor"><a href="#type-t.MESSAGE_BULK_DELETE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">MESSAGE_BULK_DELETE</span><span class="keyword"> of </span><a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list</code></td></tr><tr id="type-t.MESSAGE_REACTION_ADD" class="anchored"><td class="def constructor"><a href="#type-t.MESSAGE_REACTION_ADD" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">MESSAGE_REACTION_ADD</span><span class="keyword"> of </span><a href="../Disml/Reaction_t/index.html#type-reaction_event">Disml.Reaction_t.reaction_event</a></code></td></tr><tr id="type-t.MESSAGE_REACTION_REMOVE" class="anchored"><td class="def constructor"><a href="#type-t.MESSAGE_REACTION_REMOVE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">MESSAGE_REACTION_REMOVE</span><span class="keyword"> of </span><a href="../Disml/Reaction_t/index.html#type-reaction_event">Disml.Reaction_t.reaction_event</a></code></td></tr><tr id="type-t.MESSAGE_REACTION_REMOVE_ALL" class="anchored"><td class="def constructor"><a href="#type-t.MESSAGE_REACTION_REMOVE_ALL" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">MESSAGE_REACTION_REMOVE_ALL</span><span class="keyword"> of </span><a href="../Disml/Reaction_t/index.html#type-t">Disml.Reaction_t.t</a> list</code></td></tr><tr id="type-t.PRESENCE_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.PRESENCE_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">PRESENCE_UPDATE</span><span class="keyword"> of </span><a href="../Disml/Presence/index.html#type-t">Disml.Presence.t</a></code></td></tr><tr id="type-t.TYPING_START" class="anchored"><td class="def constructor"><a href="#type-t.TYPING_START" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">TYPING_START</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.USER_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.USER_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">USER_UPDATE</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.VOICE_STATE_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.VOICE_STATE_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">VOICE_STATE_UPDATE</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.VOICE_SERVER_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.VOICE_SERVER_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">VOICE_SERVER_UPDATE</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.WEBHOOKS_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.WEBHOOKS_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">WEBHOOKS_UPDATE</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr></table></dt></dl><dl><dt class="spec value" id="val-event_of_yojson"><a href="#val-event_of_yojson" class="anchor"></a><code><span class="keyword">val </span>event_of_yojson : contents:Yojson.Safe.json <span>-></span> string <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-dispatch"><a href="#val-dispatch" class="anchor"></a><code><span class="keyword">val </span>dispatch : <a href="index.html#type-t">t</a> <span>-></span> unit</code></dt><dt class="spec value" id="val-handle_event"><a href="#val-handle_event" class="anchor"></a><code><span class="keyword">val </span>handle_event : ev:string <span>-></span> Yojson.Safe.json <span>-></span> unit</code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Event (disml.Disml__Event)</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> » Disml__Event</nav><h1>Module <code>Disml__Event</code></h1><p>Barebones of event dispatching. Most users will have no reason to look here.</p></header><dl><dt class="spec exception" id="exception-Invalid_event"><a href="#exception-Invalid_event" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">Invalid_event</span><span class="keyword"> of </span>string</code></dt><dd><p>Used internally when received an unknown event. Is caught and logged.</p></dd></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><table class="variant"><tr id="type-t.HELLO" class="anchored"><td class="def constructor"><a href="#type-t.HELLO" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">HELLO</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.READY" class="anchored"><td class="def constructor"><a href="#type-t.READY" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">READY</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.RESUMED" class="anchored"><td class="def constructor"><a href="#type-t.RESUMED" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">RESUMED</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.INVALID_SESSION" class="anchored"><td class="def constructor"><a href="#type-t.INVALID_SESSION" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">INVALID_SESSION</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.CHANNEL_CREATE" class="anchored"><td class="def constructor"><a href="#type-t.CHANNEL_CREATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">CHANNEL_CREATE</span><span class="keyword"> of </span><a href="../Disml/Channel_t/index.html#type-t">Disml.Channel_t.t</a></code></td></tr><tr id="type-t.CHANNEL_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.CHANNEL_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">CHANNEL_UPDATE</span><span class="keyword"> of </span><a href="../Disml/Channel_t/index.html#type-t">Disml.Channel_t.t</a></code></td></tr><tr id="type-t.CHANNEL_DELETE" class="anchored"><td class="def constructor"><a href="#type-t.CHANNEL_DELETE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">CHANNEL_DELETE</span><span class="keyword"> of </span><a href="../Disml/Channel_t/index.html#type-t">Disml.Channel_t.t</a></code></td></tr><tr id="type-t.CHANNEL_PINS_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.CHANNEL_PINS_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">CHANNEL_PINS_UPDATE</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.GUILD_CREATE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_CREATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_CREATE</span><span class="keyword"> of </span><a href="../Disml/Guild_t/index.html#type-t">Disml.Guild_t.t</a></code></td></tr><tr id="type-t.GUILD_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_UPDATE</span><span class="keyword"> of </span><a href="../Disml/Guild_t/index.html#type-t">Disml.Guild_t.t</a></code></td></tr><tr id="type-t.GUILD_DELETE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_DELETE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_DELETE</span><span class="keyword"> of </span><a href="../Disml/Guild_t/index.html#type-t">Disml.Guild_t.t</a></code></td></tr><tr id="type-t.GUILD_BAN_ADD" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_BAN_ADD" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_BAN_ADD</span><span class="keyword"> of </span><a href="../Disml/Ban_t/index.html#type-t">Disml.Ban_t.t</a></code></td></tr><tr id="type-t.GUILD_BAN_REMOVE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_BAN_REMOVE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_BAN_REMOVE</span><span class="keyword"> of </span><a href="../Disml/Ban_t/index.html#type-t">Disml.Ban_t.t</a></code></td></tr><tr id="type-t.GUILD_EMOJIS_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_EMOJIS_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_EMOJIS_UPDATE</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.GUILD_INTEGRATIONS_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_INTEGRATIONS_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_INTEGRATIONS_UPDATE</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.GUILD_MEMBER_ADD" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_MEMBER_ADD" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_MEMBER_ADD</span><span class="keyword"> of </span><a href="../Disml/Member_t/index.html#type-t">Disml.Member_t.t</a></code></td></tr><tr id="type-t.GUILD_MEMBER_REMOVE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_MEMBER_REMOVE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_MEMBER_REMOVE</span><span class="keyword"> of </span><a href="../Disml/Member_t/index.html#type-member_wrapper">Disml.Member_t.member_wrapper</a></code></td></tr><tr id="type-t.GUILD_MEMBER_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_MEMBER_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_MEMBER_UPDATE</span><span class="keyword"> of </span><a href="../Disml/Member_t/index.html#type-member_update">Disml.Member_t.member_update</a></code></td></tr><tr id="type-t.GUILD_MEMBERS_CHUNK" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_MEMBERS_CHUNK" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_MEMBERS_CHUNK</span><span class="keyword"> of </span><a href="../Disml/Member_t/index.html#type-t">Disml.Member_t.t</a> list</code></td></tr><tr id="type-t.GUILD_ROLE_CREATE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_ROLE_CREATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_ROLE_CREATE</span><span class="keyword"> of </span><a href="../Disml/Role_t/index.html#type-t">Disml.Role_t.t</a></code></td></tr><tr id="type-t.GUILD_ROLE_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_ROLE_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_ROLE_UPDATE</span><span class="keyword"> of </span><a href="../Disml/Role_t/index.html#type-t">Disml.Role_t.t</a></code></td></tr><tr id="type-t.GUILD_ROLE_DELETE" class="anchored"><td class="def constructor"><a href="#type-t.GUILD_ROLE_DELETE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">GUILD_ROLE_DELETE</span><span class="keyword"> of </span><a href="../Disml/Role_t/index.html#type-t">Disml.Role_t.t</a></code></td></tr><tr id="type-t.MESSAGE_CREATE" class="anchored"><td class="def constructor"><a href="#type-t.MESSAGE_CREATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">MESSAGE_CREATE</span><span class="keyword"> of </span><a href="../Disml/Message_t/index.html#type-t">Disml.Message_t.t</a></code></td></tr><tr id="type-t.MESSAGE_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.MESSAGE_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">MESSAGE_UPDATE</span><span class="keyword"> of </span><a href="../Disml/Message_t/index.html#type-message_update">Disml.Message_t.message_update</a></code></td></tr><tr id="type-t.MESSAGE_DELETE" class="anchored"><td class="def constructor"><a href="#type-t.MESSAGE_DELETE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">MESSAGE_DELETE</span><span class="keyword"> of </span><a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a><span class="keyword"> * </span><a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a></code></td></tr><tr id="type-t.MESSAGE_BULK_DELETE" class="anchored"><td class="def constructor"><a href="#type-t.MESSAGE_BULK_DELETE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">MESSAGE_BULK_DELETE</span><span class="keyword"> of </span><a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list</code></td></tr><tr id="type-t.MESSAGE_REACTION_ADD" class="anchored"><td class="def constructor"><a href="#type-t.MESSAGE_REACTION_ADD" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">MESSAGE_REACTION_ADD</span><span class="keyword"> of </span><a href="../Disml/Reaction_t/index.html#type-reaction_event">Disml.Reaction_t.reaction_event</a></code></td></tr><tr id="type-t.MESSAGE_REACTION_REMOVE" class="anchored"><td class="def constructor"><a href="#type-t.MESSAGE_REACTION_REMOVE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">MESSAGE_REACTION_REMOVE</span><span class="keyword"> of </span><a href="../Disml/Reaction_t/index.html#type-reaction_event">Disml.Reaction_t.reaction_event</a></code></td></tr><tr id="type-t.MESSAGE_REACTION_REMOVE_ALL" class="anchored"><td class="def constructor"><a href="#type-t.MESSAGE_REACTION_REMOVE_ALL" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">MESSAGE_REACTION_REMOVE_ALL</span><span class="keyword"> of </span><a href="../Disml/Reaction_t/index.html#type-t">Disml.Reaction_t.t</a> list</code></td></tr><tr id="type-t.PRESENCE_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.PRESENCE_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">PRESENCE_UPDATE</span><span class="keyword"> of </span><a href="../Disml/Presence/index.html#type-t">Disml.Presence.t</a></code></td></tr><tr id="type-t.TYPING_START" class="anchored"><td class="def constructor"><a href="#type-t.TYPING_START" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">TYPING_START</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.USER_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.USER_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">USER_UPDATE</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.VOICE_STATE_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.VOICE_STATE_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">VOICE_STATE_UPDATE</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.VOICE_SERVER_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.VOICE_SERVER_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">VOICE_SERVER_UPDATE</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr><tr id="type-t.WEBHOOKS_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.WEBHOOKS_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">WEBHOOKS_UPDATE</span><span class="keyword"> of </span>Yojson.Safe.json</code></td></tr></table></dt><dd><p>Event dispatch type wrapper. Used internally.</p></dd></dl><dl><dt class="spec value" id="val-event_of_yojson"><a href="#val-event_of_yojson" class="anchor"></a><code><span class="keyword">val </span>event_of_yojson : contents:Yojson.Safe.json <span>-></span> string <span>-></span> <a href="index.html#type-t">t</a></code></dt><dd><p>Used to convert an event string and payload into a t wrapper type.</p></dd></dl><dl><dt class="spec value" id="val-dispatch"><a href="#val-dispatch" class="anchor"></a><code><span class="keyword">val </span>dispatch : <a href="index.html#type-t">t</a> <span>-></span> unit</code></dt><dd><p>Sends the event to the registered handler.</p></dd></dl><dl><dt class="spec value" id="val-handle_event"><a href="#val-handle_event" class="anchor"></a><code><span class="keyword">val </span>handle_event : ev:string <span>-></span> Yojson.Safe.json <span>-></span> unit</code></dt><dd><p>Wrapper to other functions. This is called from the shards.</p></dd></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Guild/index.html b/docs/disml/Disml__Guild/index.html index fb8d88e..ec49cd2 100644 --- a/docs/disml/Disml__Guild/index.html +++ b/docs/disml/Disml__Guild/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__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> » Disml__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="../Disml/index.html#module-Guild_t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Role_t/index.html#type-role">Disml.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="../Disml/Emoji/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Channel_t/index.html#type-channel_wrapper">Disml.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="../Disml/Channel_t/index.html#type-channel_wrapper">Disml.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="../Disml/Member_t/index.html#type-member">Disml.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="../Disml/Channel_t/index.html#type-channel_wrapper">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Role_t/index.html#type-t">Disml.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="../Disml/Emoji/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Channel_t/index.html#type-t">Disml.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="../Disml/Channel_t/index.html#type-t">Disml.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="../Disml/Member_t/index.html#type-t">Disml.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="../Disml/Channel_t/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Emoji/index.html#type-t">Disml.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="../Disml/Role_t/index.html#type-t">Disml.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="../Disml/Channel_t/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Ban_t/index.html#type-t">Disml.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="../Disml/Ban_t/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Channel_t/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Emoji/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Member_t/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Role_t/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Member_t/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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 +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__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> » Disml__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="../Disml/index.html#module-Guild_t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Role_t/index.html#type-role">Disml.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="../Disml/Emoji/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Channel_t/index.html#type-channel_wrapper">Disml.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="../Disml/Channel_t/index.html#type-channel_wrapper">Disml.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="../Disml/Member_t/index.html#type-member">Disml.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="../Disml/Channel_t/index.html#type-channel_wrapper">Disml.Channel_t.channel_wrapper</a> list;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Role_t/index.html#type-t">Disml.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="../Disml/Emoji/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Channel_t/index.html#type-t">Disml.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="../Disml/Channel_t/index.html#type-t">Disml.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="../Disml/Member_t/index.html#type-t">Disml.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="../Disml/Channel_t/index.html#type-t">Disml.Channel_t.t</a> list;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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-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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Emoji/index.html#type-t">Disml.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="../Disml/Role_t/index.html#type-t">Disml.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="../Disml/Channel_t/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Ban_t/index.html#type-t">Disml.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="../Disml/Ban_t/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Channel_t/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Emoji/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Member_t/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Role_t/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Member_t/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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 diff --git a/docs/disml/Disml__Guild_t/index.html b/docs/disml/Disml__Guild_t/index.html index d0baea2..cafc0f3 100644 --- a/docs/disml/Disml__Guild_t/index.html +++ b/docs/disml/Disml__Guild_t/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Guild_t (disml.Disml__Guild_t)</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> » Disml__Guild_t</nav><h1>Module <code>Disml__Guild_t</code></h1></header><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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Role_t/index.html#type-role">Disml.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="../Disml/Emoji/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Channel_t/index.html#type-channel_wrapper">Disml.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="../Disml/Channel_t/index.html#type-channel_wrapper">Disml.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="../Disml/Member_t/index.html#type-member">Disml.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="../Disml/Channel_t/index.html#type-channel_wrapper">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Role_t/index.html#type-t">Disml.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="../Disml/Emoji/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Channel_t/index.html#type-t">Disml.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="../Disml/Channel_t/index.html#type-t">Disml.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="../Disml/Member_t/index.html#type-t">Disml.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="../Disml/Channel_t/index.html#type-t">Disml.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></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Guild_t (disml.Disml__Guild_t)</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> » Disml__Guild_t</nav><h1>Module <code>Disml__Guild_t</code></h1></header><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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Role_t/index.html#type-role">Disml.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="../Disml/Emoji/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Channel_t/index.html#type-channel_wrapper">Disml.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="../Disml/Channel_t/index.html#type-channel_wrapper">Disml.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="../Disml/Member_t/index.html#type-member">Disml.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="../Disml/Channel_t/index.html#type-channel_wrapper">Disml.Channel_t.channel_wrapper</a> list;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Role_t/index.html#type-t">Disml.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="../Disml/Emoji/index.html#type-t">Disml.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="../Disml/Snowflake/index.html#type-t">Disml.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="../Disml/Channel_t/index.html#type-t">Disml.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="../Disml/Channel_t/index.html#type-t">Disml.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="../Disml/Member_t/index.html#type-t">Disml.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="../Disml/Channel_t/index.html#type-t">Disml.Channel_t.t</a> list;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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-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></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Member/index.html b/docs/disml/Disml__Member/index.html index b05b751..09cd5a8 100644 --- a/docs/disml/Disml__Member/index.html +++ b/docs/disml/Disml__Member/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Member (disml.Disml__Member)</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> » Disml__Member</nav><h1>Module <code>Disml__Member</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="../Disml/index.html#module-Member_t">Disml.Member_t</a></code></span></summary><aside></aside><dl><dt class="spec type" id="type-partial_member"><a href="#type-partial_member" class="anchor"></a><code><span class="keyword">type </span>partial_member</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-partial_member.nick" class="anchored"><td class="def field"><a href="#type-partial_member.nick" class="anchor"></a><code>nick : string option;</code></td></tr><tr id="type-partial_member.roles" class="anchored"><td class="def field"><a href="#type-partial_member.roles" class="anchor"></a><code>roles : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-partial_member.joined_at" class="anchored"><td class="def field"><a href="#type-partial_member.joined_at" class="anchor"></a><code>joined_at : string;</code></td></tr><tr id="type-partial_member.deaf" class="anchored"><td class="def field"><a href="#type-partial_member.deaf" class="anchor"></a><code>deaf : bool;</code></td></tr><tr id="type-partial_member.mute" class="anchored"><td class="def field"><a href="#type-partial_member.mute" class="anchor"></a><code>mute : bool;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-partial_member_of_sexp"><a href="#val-partial_member_of_sexp" class="anchor"></a><code><span class="keyword">val </span>partial_member_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-partial_member">partial_member</a></code></dt><dt class="spec value" id="val-sexp_of_partial_member"><a href="#val-sexp_of_partial_member" class="anchor"></a><code><span class="keyword">val </span>sexp_of_partial_member : <a href="index.html#type-partial_member">partial_member</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-partial_member_to_yojson"><a href="#val-partial_member_to_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_member_to_yojson : <a href="index.html#type-partial_member">partial_member</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-partial_member_of_yojson"><a href="#val-partial_member_of_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_member_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_member">partial_member</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-partial_member">partial_member</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-partial_member">partial_member</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-partial_member_of_yojson_exn"><a href="#val-partial_member_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>partial_member_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_member">partial_member</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-partial_member">partial_member</a></code></dt></dl><dl><dt class="spec type" id="type-member"><a href="#type-member" class="anchor"></a><code><span class="keyword">type </span>member</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-member.nick" class="anchored"><td class="def field"><a href="#type-member.nick" class="anchor"></a><code>nick : string option;</code></td></tr><tr id="type-member.roles" class="anchored"><td class="def field"><a href="#type-member.roles" class="anchor"></a><code>roles : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-member.joined_at" class="anchored"><td class="def field"><a href="#type-member.joined_at" class="anchor"></a><code>joined_at : string;</code></td></tr><tr id="type-member.deaf" class="anchored"><td class="def field"><a href="#type-member.deaf" class="anchor"></a><code>deaf : bool;</code></td></tr><tr id="type-member.mute" class="anchored"><td class="def field"><a href="#type-member.mute" class="anchor"></a><code>mute : bool;</code></td></tr><tr id="type-member.user" class="anchored"><td class="def field"><a href="#type-member.user" class="anchor"></a><code>user : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-member_of_sexp"><a href="#val-member_of_sexp" class="anchor"></a><code><span class="keyword">val </span>member_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-member">member</a></code></dt><dt class="spec value" id="val-sexp_of_member"><a href="#val-sexp_of_member" class="anchor"></a><code><span class="keyword">val </span>sexp_of_member : <a href="index.html#type-member">member</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-member_to_yojson"><a href="#val-member_to_yojson" class="anchor"></a><code><span class="keyword">val </span>member_to_yojson : <a href="index.html#type-member">member</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-member_of_yojson"><a href="#val-member_of_yojson" class="anchor"></a><code><span class="keyword">val </span>member_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-member">member</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-member">member</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-member">member</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-member_of_yojson_exn"><a href="#val-member_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>member_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-member">member</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-member">member</a></code></dt></dl><dl><dt class="spec type" id="type-member_wrapper"><a href="#type-member_wrapper" class="anchor"></a><code><span class="keyword">type </span>member_wrapper</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-member_wrapper.guild_id" class="anchored"><td class="def field"><a href="#type-member_wrapper.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-member_wrapper.user" class="anchored"><td class="def field"><a href="#type-member_wrapper.user" class="anchor"></a><code>user : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-member_wrapper_of_sexp"><a href="#val-member_wrapper_of_sexp" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-member_wrapper">member_wrapper</a></code></dt><dt class="spec value" id="val-sexp_of_member_wrapper"><a href="#val-sexp_of_member_wrapper" class="anchor"></a><code><span class="keyword">val </span>sexp_of_member_wrapper : <a href="index.html#type-member_wrapper">member_wrapper</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-member_wrapper_to_yojson"><a href="#val-member_wrapper_to_yojson" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_to_yojson : <a href="index.html#type-member_wrapper">member_wrapper</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-member_wrapper_of_yojson"><a href="#val-member_wrapper_of_yojson" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_wrapper">member_wrapper</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-member_wrapper">member_wrapper</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-member_wrapper">member_wrapper</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-member_wrapper_of_yojson_exn"><a href="#val-member_wrapper_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_wrapper">member_wrapper</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-member_wrapper">member_wrapper</a></code></dt></dl><dl><dt class="spec type" id="type-member_update"><a href="#type-member_update" class="anchor"></a><code><span class="keyword">type </span>member_update</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-member_update.guild_id" class="anchored"><td class="def field"><a href="#type-member_update.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-member_update.roles" class="anchored"><td class="def field"><a href="#type-member_update.roles" class="anchor"></a><code>roles : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-member_update.user" class="anchored"><td class="def field"><a href="#type-member_update.user" class="anchor"></a><code>user : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a>;</code></td></tr><tr id="type-member_update.nick" class="anchored"><td class="def field"><a href="#type-member_update.nick" class="anchor"></a><code>nick : string option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-member_update_of_sexp"><a href="#val-member_update_of_sexp" class="anchor"></a><code><span class="keyword">val </span>member_update_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-member_update">member_update</a></code></dt><dt class="spec value" id="val-sexp_of_member_update"><a href="#val-sexp_of_member_update" class="anchor"></a><code><span class="keyword">val </span>sexp_of_member_update : <a href="index.html#type-member_update">member_update</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-member_update_to_yojson"><a href="#val-member_update_to_yojson" class="anchor"></a><code><span class="keyword">val </span>member_update_to_yojson : <a href="index.html#type-member_update">member_update</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-member_update_of_yojson"><a href="#val-member_update_of_yojson" class="anchor"></a><code><span class="keyword">val </span>member_update_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_update">member_update</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-member_update">member_update</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-member_update">member_update</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-member_update_of_yojson_exn"><a href="#val-member_update_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>member_update_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_update">member_update</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-member_update">member_update</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.nick" class="anchored"><td class="def field"><a href="#type-t.nick" class="anchor"></a><code>nick : string option;</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="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-t.joined_at" class="anchored"><td class="def field"><a href="#type-t.joined_at" class="anchor"></a><code>joined_at : string;</code></td></tr><tr id="type-t.deaf" class="anchored"><td class="def field"><a href="#type-t.deaf" class="anchor"></a><code>deaf : bool;</code></td></tr><tr id="type-t.mute" class="anchored"><td class="def field"><a href="#type-t.mute" class="anchor"></a><code>mute : bool;</code></td></tr><tr id="type-t.user" class="anchored"><td class="def field"><a href="#type-t.user" class="anchor"></a><code>user : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a>;</code></td></tr><tr id="type-t.guild_id" class="anchored"><td class="def field"><a href="#type-t.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</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 : guild_id:<a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> <a href="index.html#type-member">member</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-add_role"><a href="#val-add_role" class="anchor"></a><code><span class="keyword">val </span>add_role : role:<a href="../Disml/Role_t/index.html#type-t">Disml.Role_t.t</a> <span>-></span> <a href="../Disml/Member_t/index.html#type-t">Disml.Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-remove_role"><a href="#val-remove_role" class="anchor"></a><code><span class="keyword">val </span>remove_role : role:<a href="../Disml/Role_t/index.html#type-t">Disml.Role_t.t</a> <span>-></span> <a href="../Disml/Member_t/index.html#type-t">Disml.Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-ban"><a href="#val-ban" class="anchor"></a><code><span class="keyword">val </span>ban : ?⁠reason:string <span>-></span> ?⁠days:int <span>-></span> <a href="../Disml/Member_t/index.html#type-t">Disml.Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-kick"><a href="#val-kick" class="anchor"></a><code><span class="keyword">val </span>kick : ?⁠reason:string <span>-></span> <a href="../Disml/Member_t/index.html#type-t">Disml.Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-mute"><a href="#val-mute" class="anchor"></a><code><span class="keyword">val </span>mute : <a href="../Disml/Member_t/index.html#type-t">Disml.Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-deafen"><a href="#val-deafen" class="anchor"></a><code><span class="keyword">val </span>deafen : <a href="../Disml/Member_t/index.html#type-t">Disml.Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-unmute"><a href="#val-unmute" class="anchor"></a><code><span class="keyword">val </span>unmute : <a href="../Disml/Member_t/index.html#type-t">Disml.Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-undeafen"><a href="#val-undeafen" class="anchor"></a><code><span class="keyword">val </span>undeafen : <a href="../Disml/Member_t/index.html#type-t">Disml.Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Member (disml.Disml__Member)</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> » Disml__Member</nav><h1>Module <code>Disml__Member</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="../Disml/index.html#module-Member_t">Disml.Member_t</a></code></span></summary><aside></aside><dl><dt class="spec type" id="type-partial_member"><a href="#type-partial_member" class="anchor"></a><code><span class="keyword">type </span>partial_member</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-partial_member.nick" class="anchored"><td class="def field"><a href="#type-partial_member.nick" class="anchor"></a><code>nick : string option;</code></td></tr><tr id="type-partial_member.roles" class="anchored"><td class="def field"><a href="#type-partial_member.roles" class="anchor"></a><code>roles : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-partial_member.joined_at" class="anchored"><td class="def field"><a href="#type-partial_member.joined_at" class="anchor"></a><code>joined_at : string;</code></td></tr><tr id="type-partial_member.deaf" class="anchored"><td class="def field"><a href="#type-partial_member.deaf" class="anchor"></a><code>deaf : bool;</code></td></tr><tr id="type-partial_member.mute" class="anchored"><td class="def field"><a href="#type-partial_member.mute" class="anchor"></a><code>mute : bool;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-partial_member_of_sexp"><a href="#val-partial_member_of_sexp" class="anchor"></a><code><span class="keyword">val </span>partial_member_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-partial_member">partial_member</a></code></dt><dt class="spec value" id="val-sexp_of_partial_member"><a href="#val-sexp_of_partial_member" class="anchor"></a><code><span class="keyword">val </span>sexp_of_partial_member : <a href="index.html#type-partial_member">partial_member</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-partial_member_to_yojson"><a href="#val-partial_member_to_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_member_to_yojson : <a href="index.html#type-partial_member">partial_member</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-partial_member_of_yojson"><a href="#val-partial_member_of_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_member_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_member">partial_member</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-partial_member_of_yojson_exn"><a href="#val-partial_member_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>partial_member_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_member">partial_member</a></code></dt></dl><dl><dt class="spec type" id="type-member"><a href="#type-member" class="anchor"></a><code><span class="keyword">type </span>member</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-member.nick" class="anchored"><td class="def field"><a href="#type-member.nick" class="anchor"></a><code>nick : string option;</code></td></tr><tr id="type-member.roles" class="anchored"><td class="def field"><a href="#type-member.roles" class="anchor"></a><code>roles : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-member.joined_at" class="anchored"><td class="def field"><a href="#type-member.joined_at" class="anchor"></a><code>joined_at : string;</code></td></tr><tr id="type-member.deaf" class="anchored"><td class="def field"><a href="#type-member.deaf" class="anchor"></a><code>deaf : bool;</code></td></tr><tr id="type-member.mute" class="anchored"><td class="def field"><a href="#type-member.mute" class="anchor"></a><code>mute : bool;</code></td></tr><tr id="type-member.user" class="anchored"><td class="def field"><a href="#type-member.user" class="anchor"></a><code>user : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-member_of_sexp"><a href="#val-member_of_sexp" class="anchor"></a><code><span class="keyword">val </span>member_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-member">member</a></code></dt><dt class="spec value" id="val-sexp_of_member"><a href="#val-sexp_of_member" class="anchor"></a><code><span class="keyword">val </span>sexp_of_member : <a href="index.html#type-member">member</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-member_to_yojson"><a href="#val-member_to_yojson" class="anchor"></a><code><span class="keyword">val </span>member_to_yojson : <a href="index.html#type-member">member</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-member_of_yojson"><a href="#val-member_of_yojson" class="anchor"></a><code><span class="keyword">val </span>member_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-member">member</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-member_of_yojson_exn"><a href="#val-member_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>member_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-member">member</a></code></dt></dl><dl><dt class="spec type" id="type-member_wrapper"><a href="#type-member_wrapper" class="anchor"></a><code><span class="keyword">type </span>member_wrapper</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-member_wrapper.guild_id" class="anchored"><td class="def field"><a href="#type-member_wrapper.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-member_wrapper.user" class="anchored"><td class="def field"><a href="#type-member_wrapper.user" class="anchor"></a><code>user : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-member_wrapper_of_sexp"><a href="#val-member_wrapper_of_sexp" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-member_wrapper">member_wrapper</a></code></dt><dt class="spec value" id="val-sexp_of_member_wrapper"><a href="#val-sexp_of_member_wrapper" class="anchor"></a><code><span class="keyword">val </span>sexp_of_member_wrapper : <a href="index.html#type-member_wrapper">member_wrapper</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-member_wrapper_to_yojson"><a href="#val-member_wrapper_to_yojson" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_to_yojson : <a href="index.html#type-member_wrapper">member_wrapper</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-member_wrapper_of_yojson"><a href="#val-member_wrapper_of_yojson" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_wrapper">member_wrapper</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-member_wrapper_of_yojson_exn"><a href="#val-member_wrapper_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_wrapper">member_wrapper</a></code></dt></dl><dl><dt class="spec type" id="type-member_update"><a href="#type-member_update" class="anchor"></a><code><span class="keyword">type </span>member_update</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-member_update.guild_id" class="anchored"><td class="def field"><a href="#type-member_update.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-member_update.roles" class="anchored"><td class="def field"><a href="#type-member_update.roles" class="anchor"></a><code>roles : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-member_update.user" class="anchored"><td class="def field"><a href="#type-member_update.user" class="anchor"></a><code>user : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a>;</code></td></tr><tr id="type-member_update.nick" class="anchored"><td class="def field"><a href="#type-member_update.nick" class="anchor"></a><code>nick : string option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-member_update_of_sexp"><a href="#val-member_update_of_sexp" class="anchor"></a><code><span class="keyword">val </span>member_update_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-member_update">member_update</a></code></dt><dt class="spec value" id="val-sexp_of_member_update"><a href="#val-sexp_of_member_update" class="anchor"></a><code><span class="keyword">val </span>sexp_of_member_update : <a href="index.html#type-member_update">member_update</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-member_update_to_yojson"><a href="#val-member_update_to_yojson" class="anchor"></a><code><span class="keyword">val </span>member_update_to_yojson : <a href="index.html#type-member_update">member_update</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-member_update_of_yojson"><a href="#val-member_update_of_yojson" class="anchor"></a><code><span class="keyword">val </span>member_update_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_update">member_update</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-member_update_of_yojson_exn"><a href="#val-member_update_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>member_update_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_update">member_update</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.nick" class="anchored"><td class="def field"><a href="#type-t.nick" class="anchor"></a><code>nick : string option;</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="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-t.joined_at" class="anchored"><td class="def field"><a href="#type-t.joined_at" class="anchor"></a><code>joined_at : string;</code></td></tr><tr id="type-t.deaf" class="anchored"><td class="def field"><a href="#type-t.deaf" class="anchor"></a><code>deaf : bool;</code></td></tr><tr id="type-t.mute" class="anchored"><td class="def field"><a href="#type-t.mute" class="anchor"></a><code>mute : bool;</code></td></tr><tr id="type-t.user" class="anchored"><td class="def field"><a href="#type-t.user" class="anchor"></a><code>user : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a>;</code></td></tr><tr id="type-t.guild_id" class="anchored"><td class="def field"><a href="#type-t.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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-wrap"><a href="#val-wrap" class="anchor"></a><code><span class="keyword">val </span>wrap : guild_id:<a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> <a href="index.html#type-member">member</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-add_role"><a href="#val-add_role" class="anchor"></a><code><span class="keyword">val </span>add_role : role:<a href="../Disml/Role_t/index.html#type-t">Disml.Role_t.t</a> <span>-></span> <a href="../Disml/Member_t/index.html#type-t">Disml.Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-remove_role"><a href="#val-remove_role" class="anchor"></a><code><span class="keyword">val </span>remove_role : role:<a href="../Disml/Role_t/index.html#type-t">Disml.Role_t.t</a> <span>-></span> <a href="../Disml/Member_t/index.html#type-t">Disml.Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-ban"><a href="#val-ban" class="anchor"></a><code><span class="keyword">val </span>ban : ?⁠reason:string <span>-></span> ?⁠days:int <span>-></span> <a href="../Disml/Member_t/index.html#type-t">Disml.Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-kick"><a href="#val-kick" class="anchor"></a><code><span class="keyword">val </span>kick : ?⁠reason:string <span>-></span> <a href="../Disml/Member_t/index.html#type-t">Disml.Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-mute"><a href="#val-mute" class="anchor"></a><code><span class="keyword">val </span>mute : <a href="../Disml/Member_t/index.html#type-t">Disml.Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-deafen"><a href="#val-deafen" class="anchor"></a><code><span class="keyword">val </span>deafen : <a href="../Disml/Member_t/index.html#type-t">Disml.Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-unmute"><a href="#val-unmute" class="anchor"></a><code><span class="keyword">val </span>unmute : <a href="../Disml/Member_t/index.html#type-t">Disml.Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-undeafen"><a href="#val-undeafen" class="anchor"></a><code><span class="keyword">val </span>undeafen : <a href="../Disml/Member_t/index.html#type-t">Disml.Member_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Member_t/index.html b/docs/disml/Disml__Member_t/index.html index 0b11f2c..8a5ef8b 100644 --- a/docs/disml/Disml__Member_t/index.html +++ b/docs/disml/Disml__Member_t/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Member_t (disml.Disml__Member_t)</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> » Disml__Member_t</nav><h1>Module <code>Disml__Member_t</code></h1></header><dl><dt class="spec type" id="type-partial_member"><a href="#type-partial_member" class="anchor"></a><code><span class="keyword">type </span>partial_member</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-partial_member.nick" class="anchored"><td class="def field"><a href="#type-partial_member.nick" class="anchor"></a><code>nick : string option;</code></td></tr><tr id="type-partial_member.roles" class="anchored"><td class="def field"><a href="#type-partial_member.roles" class="anchor"></a><code>roles : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-partial_member.joined_at" class="anchored"><td class="def field"><a href="#type-partial_member.joined_at" class="anchor"></a><code>joined_at : string;</code></td></tr><tr id="type-partial_member.deaf" class="anchored"><td class="def field"><a href="#type-partial_member.deaf" class="anchor"></a><code>deaf : bool;</code></td></tr><tr id="type-partial_member.mute" class="anchored"><td class="def field"><a href="#type-partial_member.mute" class="anchor"></a><code>mute : bool;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-partial_member_of_sexp"><a href="#val-partial_member_of_sexp" class="anchor"></a><code><span class="keyword">val </span>partial_member_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-partial_member">partial_member</a></code></dt><dt class="spec value" id="val-sexp_of_partial_member"><a href="#val-sexp_of_partial_member" class="anchor"></a><code><span class="keyword">val </span>sexp_of_partial_member : <a href="index.html#type-partial_member">partial_member</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-partial_member_to_yojson"><a href="#val-partial_member_to_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_member_to_yojson : <a href="index.html#type-partial_member">partial_member</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-partial_member_of_yojson"><a href="#val-partial_member_of_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_member_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_member">partial_member</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-partial_member">partial_member</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-partial_member">partial_member</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-partial_member_of_yojson_exn"><a href="#val-partial_member_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>partial_member_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_member">partial_member</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-partial_member">partial_member</a></code></dt></dl><dl><dt class="spec type" id="type-member"><a href="#type-member" class="anchor"></a><code><span class="keyword">type </span>member</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-member.nick" class="anchored"><td class="def field"><a href="#type-member.nick" class="anchor"></a><code>nick : string option;</code></td></tr><tr id="type-member.roles" class="anchored"><td class="def field"><a href="#type-member.roles" class="anchor"></a><code>roles : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-member.joined_at" class="anchored"><td class="def field"><a href="#type-member.joined_at" class="anchor"></a><code>joined_at : string;</code></td></tr><tr id="type-member.deaf" class="anchored"><td class="def field"><a href="#type-member.deaf" class="anchor"></a><code>deaf : bool;</code></td></tr><tr id="type-member.mute" class="anchored"><td class="def field"><a href="#type-member.mute" class="anchor"></a><code>mute : bool;</code></td></tr><tr id="type-member.user" class="anchored"><td class="def field"><a href="#type-member.user" class="anchor"></a><code>user : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-member_of_sexp"><a href="#val-member_of_sexp" class="anchor"></a><code><span class="keyword">val </span>member_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-member">member</a></code></dt><dt class="spec value" id="val-sexp_of_member"><a href="#val-sexp_of_member" class="anchor"></a><code><span class="keyword">val </span>sexp_of_member : <a href="index.html#type-member">member</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-member_to_yojson"><a href="#val-member_to_yojson" class="anchor"></a><code><span class="keyword">val </span>member_to_yojson : <a href="index.html#type-member">member</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-member_of_yojson"><a href="#val-member_of_yojson" class="anchor"></a><code><span class="keyword">val </span>member_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-member">member</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-member">member</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-member">member</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-member_of_yojson_exn"><a href="#val-member_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>member_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-member">member</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-member">member</a></code></dt></dl><dl><dt class="spec type" id="type-member_wrapper"><a href="#type-member_wrapper" class="anchor"></a><code><span class="keyword">type </span>member_wrapper</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-member_wrapper.guild_id" class="anchored"><td class="def field"><a href="#type-member_wrapper.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-member_wrapper.user" class="anchored"><td class="def field"><a href="#type-member_wrapper.user" class="anchor"></a><code>user : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-member_wrapper_of_sexp"><a href="#val-member_wrapper_of_sexp" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-member_wrapper">member_wrapper</a></code></dt><dt class="spec value" id="val-sexp_of_member_wrapper"><a href="#val-sexp_of_member_wrapper" class="anchor"></a><code><span class="keyword">val </span>sexp_of_member_wrapper : <a href="index.html#type-member_wrapper">member_wrapper</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-member_wrapper_to_yojson"><a href="#val-member_wrapper_to_yojson" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_to_yojson : <a href="index.html#type-member_wrapper">member_wrapper</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-member_wrapper_of_yojson"><a href="#val-member_wrapper_of_yojson" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_wrapper">member_wrapper</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-member_wrapper">member_wrapper</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-member_wrapper">member_wrapper</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-member_wrapper_of_yojson_exn"><a href="#val-member_wrapper_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_wrapper">member_wrapper</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-member_wrapper">member_wrapper</a></code></dt></dl><dl><dt class="spec type" id="type-member_update"><a href="#type-member_update" class="anchor"></a><code><span class="keyword">type </span>member_update</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-member_update.guild_id" class="anchored"><td class="def field"><a href="#type-member_update.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-member_update.roles" class="anchored"><td class="def field"><a href="#type-member_update.roles" class="anchor"></a><code>roles : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-member_update.user" class="anchored"><td class="def field"><a href="#type-member_update.user" class="anchor"></a><code>user : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a>;</code></td></tr><tr id="type-member_update.nick" class="anchored"><td class="def field"><a href="#type-member_update.nick" class="anchor"></a><code>nick : string option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-member_update_of_sexp"><a href="#val-member_update_of_sexp" class="anchor"></a><code><span class="keyword">val </span>member_update_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-member_update">member_update</a></code></dt><dt class="spec value" id="val-sexp_of_member_update"><a href="#val-sexp_of_member_update" class="anchor"></a><code><span class="keyword">val </span>sexp_of_member_update : <a href="index.html#type-member_update">member_update</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-member_update_to_yojson"><a href="#val-member_update_to_yojson" class="anchor"></a><code><span class="keyword">val </span>member_update_to_yojson : <a href="index.html#type-member_update">member_update</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-member_update_of_yojson"><a href="#val-member_update_of_yojson" class="anchor"></a><code><span class="keyword">val </span>member_update_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_update">member_update</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-member_update">member_update</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-member_update">member_update</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-member_update_of_yojson_exn"><a href="#val-member_update_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>member_update_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_update">member_update</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-member_update">member_update</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.nick" class="anchored"><td class="def field"><a href="#type-t.nick" class="anchor"></a><code>nick : string option;</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="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-t.joined_at" class="anchored"><td class="def field"><a href="#type-t.joined_at" class="anchor"></a><code>joined_at : string;</code></td></tr><tr id="type-t.deaf" class="anchored"><td class="def field"><a href="#type-t.deaf" class="anchor"></a><code>deaf : bool;</code></td></tr><tr id="type-t.mute" class="anchored"><td class="def field"><a href="#type-t.mute" class="anchor"></a><code>mute : bool;</code></td></tr><tr id="type-t.user" class="anchored"><td class="def field"><a href="#type-t.user" class="anchor"></a><code>user : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a>;</code></td></tr><tr id="type-t.guild_id" class="anchored"><td class="def field"><a href="#type-t.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</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 : guild_id:<a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> <a href="index.html#type-member">member</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Member_t (disml.Disml__Member_t)</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> » Disml__Member_t</nav><h1>Module <code>Disml__Member_t</code></h1></header><dl><dt class="spec type" id="type-partial_member"><a href="#type-partial_member" class="anchor"></a><code><span class="keyword">type </span>partial_member</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-partial_member.nick" class="anchored"><td class="def field"><a href="#type-partial_member.nick" class="anchor"></a><code>nick : string option;</code></td></tr><tr id="type-partial_member.roles" class="anchored"><td class="def field"><a href="#type-partial_member.roles" class="anchor"></a><code>roles : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-partial_member.joined_at" class="anchored"><td class="def field"><a href="#type-partial_member.joined_at" class="anchor"></a><code>joined_at : string;</code></td></tr><tr id="type-partial_member.deaf" class="anchored"><td class="def field"><a href="#type-partial_member.deaf" class="anchor"></a><code>deaf : bool;</code></td></tr><tr id="type-partial_member.mute" class="anchored"><td class="def field"><a href="#type-partial_member.mute" class="anchor"></a><code>mute : bool;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-partial_member_of_sexp"><a href="#val-partial_member_of_sexp" class="anchor"></a><code><span class="keyword">val </span>partial_member_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-partial_member">partial_member</a></code></dt><dt class="spec value" id="val-sexp_of_partial_member"><a href="#val-sexp_of_partial_member" class="anchor"></a><code><span class="keyword">val </span>sexp_of_partial_member : <a href="index.html#type-partial_member">partial_member</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-partial_member_to_yojson"><a href="#val-partial_member_to_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_member_to_yojson : <a href="index.html#type-partial_member">partial_member</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-partial_member_of_yojson"><a href="#val-partial_member_of_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_member_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_member">partial_member</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-partial_member_of_yojson_exn"><a href="#val-partial_member_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>partial_member_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_member">partial_member</a></code></dt></dl><dl><dt class="spec type" id="type-member"><a href="#type-member" class="anchor"></a><code><span class="keyword">type </span>member</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-member.nick" class="anchored"><td class="def field"><a href="#type-member.nick" class="anchor"></a><code>nick : string option;</code></td></tr><tr id="type-member.roles" class="anchored"><td class="def field"><a href="#type-member.roles" class="anchor"></a><code>roles : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-member.joined_at" class="anchored"><td class="def field"><a href="#type-member.joined_at" class="anchor"></a><code>joined_at : string;</code></td></tr><tr id="type-member.deaf" class="anchored"><td class="def field"><a href="#type-member.deaf" class="anchor"></a><code>deaf : bool;</code></td></tr><tr id="type-member.mute" class="anchored"><td class="def field"><a href="#type-member.mute" class="anchor"></a><code>mute : bool;</code></td></tr><tr id="type-member.user" class="anchored"><td class="def field"><a href="#type-member.user" class="anchor"></a><code>user : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-member_of_sexp"><a href="#val-member_of_sexp" class="anchor"></a><code><span class="keyword">val </span>member_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-member">member</a></code></dt><dt class="spec value" id="val-sexp_of_member"><a href="#val-sexp_of_member" class="anchor"></a><code><span class="keyword">val </span>sexp_of_member : <a href="index.html#type-member">member</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-member_to_yojson"><a href="#val-member_to_yojson" class="anchor"></a><code><span class="keyword">val </span>member_to_yojson : <a href="index.html#type-member">member</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-member_of_yojson"><a href="#val-member_of_yojson" class="anchor"></a><code><span class="keyword">val </span>member_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-member">member</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-member_of_yojson_exn"><a href="#val-member_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>member_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-member">member</a></code></dt></dl><dl><dt class="spec type" id="type-member_wrapper"><a href="#type-member_wrapper" class="anchor"></a><code><span class="keyword">type </span>member_wrapper</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-member_wrapper.guild_id" class="anchored"><td class="def field"><a href="#type-member_wrapper.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-member_wrapper.user" class="anchored"><td class="def field"><a href="#type-member_wrapper.user" class="anchor"></a><code>user : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-member_wrapper_of_sexp"><a href="#val-member_wrapper_of_sexp" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-member_wrapper">member_wrapper</a></code></dt><dt class="spec value" id="val-sexp_of_member_wrapper"><a href="#val-sexp_of_member_wrapper" class="anchor"></a><code><span class="keyword">val </span>sexp_of_member_wrapper : <a href="index.html#type-member_wrapper">member_wrapper</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-member_wrapper_to_yojson"><a href="#val-member_wrapper_to_yojson" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_to_yojson : <a href="index.html#type-member_wrapper">member_wrapper</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-member_wrapper_of_yojson"><a href="#val-member_wrapper_of_yojson" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_wrapper">member_wrapper</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-member_wrapper_of_yojson_exn"><a href="#val-member_wrapper_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>member_wrapper_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_wrapper">member_wrapper</a></code></dt></dl><dl><dt class="spec type" id="type-member_update"><a href="#type-member_update" class="anchor"></a><code><span class="keyword">type </span>member_update</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-member_update.guild_id" class="anchored"><td class="def field"><a href="#type-member_update.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-member_update.roles" class="anchored"><td class="def field"><a href="#type-member_update.roles" class="anchor"></a><code>roles : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-member_update.user" class="anchored"><td class="def field"><a href="#type-member_update.user" class="anchor"></a><code>user : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a>;</code></td></tr><tr id="type-member_update.nick" class="anchored"><td class="def field"><a href="#type-member_update.nick" class="anchor"></a><code>nick : string option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-member_update_of_sexp"><a href="#val-member_update_of_sexp" class="anchor"></a><code><span class="keyword">val </span>member_update_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-member_update">member_update</a></code></dt><dt class="spec value" id="val-sexp_of_member_update"><a href="#val-sexp_of_member_update" class="anchor"></a><code><span class="keyword">val </span>sexp_of_member_update : <a href="index.html#type-member_update">member_update</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-member_update_to_yojson"><a href="#val-member_update_to_yojson" class="anchor"></a><code><span class="keyword">val </span>member_update_to_yojson : <a href="index.html#type-member_update">member_update</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-member_update_of_yojson"><a href="#val-member_update_of_yojson" class="anchor"></a><code><span class="keyword">val </span>member_update_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_update">member_update</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-member_update_of_yojson_exn"><a href="#val-member_update_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>member_update_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-member_update">member_update</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.nick" class="anchored"><td class="def field"><a href="#type-t.nick" class="anchor"></a><code>nick : string option;</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="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-t.joined_at" class="anchored"><td class="def field"><a href="#type-t.joined_at" class="anchor"></a><code>joined_at : string;</code></td></tr><tr id="type-t.deaf" class="anchored"><td class="def field"><a href="#type-t.deaf" class="anchor"></a><code>deaf : bool;</code></td></tr><tr id="type-t.mute" class="anchored"><td class="def field"><a href="#type-t.mute" class="anchor"></a><code>mute : bool;</code></td></tr><tr id="type-t.user" class="anchored"><td class="def field"><a href="#type-t.user" class="anchor"></a><code>user : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a>;</code></td></tr><tr id="type-t.guild_id" class="anchored"><td class="def field"><a href="#type-t.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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-wrap"><a href="#val-wrap" class="anchor"></a><code><span class="keyword">val </span>wrap : guild_id:<a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> <a href="index.html#type-member">member</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Message/index.html b/docs/disml/Disml__Message/index.html index c9a7e04..522ee5b 100644 --- a/docs/disml/Disml__Message/index.html +++ b/docs/disml/Disml__Message/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Message (disml.Disml__Message)</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> » Disml__Message</nav><h1>Module <code>Disml__Message</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="../Disml/index.html#module-Message_t">Disml.Message_t</a></code></span></summary><aside></aside><dl><dt class="spec type" id="type-message_update"><a href="#type-message_update" class="anchor"></a><code><span class="keyword">type </span>message_update</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-message_update.id" class="anchored"><td class="def field"><a href="#type-message_update.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-message_update.author" class="anchored"><td class="def field"><a href="#type-message_update.author" class="anchor"></a><code>author : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a> option;</code></td></tr><tr id="type-message_update.channel_id" class="anchored"><td class="def field"><a href="#type-message_update.channel_id" class="anchor"></a><code>channel_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-message_update.member" class="anchored"><td class="def field"><a href="#type-message_update.member" class="anchor"></a><code>member : <a href="../Disml/Member_t/index.html#type-partial_member">Disml.Member_t.partial_member</a> option;</code></td></tr><tr id="type-message_update.guild_id" class="anchored"><td class="def field"><a href="#type-message_update.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-message_update.content" class="anchored"><td class="def field"><a href="#type-message_update.content" class="anchor"></a><code>content : string option;</code></td></tr><tr id="type-message_update.timestamp" class="anchored"><td class="def field"><a href="#type-message_update.timestamp" class="anchor"></a><code>timestamp : string option;</code></td></tr><tr id="type-message_update.editedimestamp" class="anchored"><td class="def field"><a href="#type-message_update.editedimestamp" class="anchor"></a><code>editedimestamp : string option;</code></td></tr><tr id="type-message_update.tts" class="anchored"><td class="def field"><a href="#type-message_update.tts" class="anchor"></a><code>tts : bool option;</code></td></tr><tr id="type-message_update.mention_everyone" class="anchored"><td class="def field"><a href="#type-message_update.mention_everyone" class="anchor"></a><code>mention_everyone : bool option;</code></td></tr><tr id="type-message_update.mentions" class="anchored"><td class="def field"><a href="#type-message_update.mentions" class="anchor"></a><code>mentions : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-message_update.role_mentions" class="anchored"><td class="def field"><a href="#type-message_update.role_mentions" class="anchor"></a><code>role_mentions : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-message_update.attachments" class="anchored"><td class="def field"><a href="#type-message_update.attachments" class="anchor"></a><code>attachments : <a href="../Disml/Attachment/index.html#type-t">Disml.Attachment.t</a> list;</code></td></tr><tr id="type-message_update.embeds" class="anchored"><td class="def field"><a href="#type-message_update.embeds" class="anchor"></a><code>embeds : <a href="../Disml/Embed/index.html#type-t">Disml.Embed.t</a> list;</code></td></tr><tr id="type-message_update.reactions" class="anchored"><td class="def field"><a href="#type-message_update.reactions" class="anchor"></a><code>reactions : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-message_update.nonce" class="anchored"><td class="def field"><a href="#type-message_update.nonce" class="anchor"></a><code>nonce : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-message_update.pinned" class="anchored"><td class="def field"><a href="#type-message_update.pinned" class="anchor"></a><code>pinned : bool option;</code></td></tr><tr id="type-message_update.webhook_id" class="anchored"><td class="def field"><a href="#type-message_update.webhook_id" class="anchor"></a><code>webhook_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-message_update.kind" class="anchored"><td class="def field"><a href="#type-message_update.kind" class="anchor"></a><code>kind : int option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-message_update_of_sexp"><a href="#val-message_update_of_sexp" class="anchor"></a><code><span class="keyword">val </span>message_update_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-message_update">message_update</a></code></dt><dt class="spec value" id="val-sexp_of_message_update"><a href="#val-sexp_of_message_update" class="anchor"></a><code><span class="keyword">val </span>sexp_of_message_update : <a href="index.html#type-message_update">message_update</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-message_update_to_yojson"><a href="#val-message_update_to_yojson" class="anchor"></a><code><span class="keyword">val </span>message_update_to_yojson : <a href="index.html#type-message_update">message_update</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-message_update_of_yojson"><a href="#val-message_update_of_yojson" class="anchor"></a><code><span class="keyword">val </span>message_update_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-message_update">message_update</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-message_update">message_update</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-message_update">message_update</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-message_update_of_yojson_exn"><a href="#val-message_update_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>message_update_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-message_update">message_update</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-message_update">message_update</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="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-t.author" class="anchored"><td class="def field"><a href="#type-t.author" class="anchor"></a><code>author : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a>;</code></td></tr><tr id="type-t.channel_id" class="anchored"><td class="def field"><a href="#type-t.channel_id" class="anchor"></a><code>channel_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-t.member" class="anchored"><td class="def field"><a href="#type-t.member" class="anchor"></a><code>member : <a href="../Disml/Member_t/index.html#type-partial_member">Disml.Member_t.partial_member</a> option;</code></td></tr><tr id="type-t.guild_id" class="anchored"><td class="def field"><a href="#type-t.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-t.content" class="anchored"><td class="def field"><a href="#type-t.content" class="anchor"></a><code>content : string;</code></td></tr><tr id="type-t.timestamp" class="anchored"><td class="def field"><a href="#type-t.timestamp" class="anchor"></a><code>timestamp : string;</code></td></tr><tr id="type-t.editedimestamp" class="anchored"><td class="def field"><a href="#type-t.editedimestamp" class="anchor"></a><code>editedimestamp : string option;</code></td></tr><tr id="type-t.tts" class="anchored"><td class="def field"><a href="#type-t.tts" class="anchor"></a><code>tts : bool;</code></td></tr><tr id="type-t.mention_everyone" class="anchored"><td class="def field"><a href="#type-t.mention_everyone" class="anchor"></a><code>mention_everyone : bool;</code></td></tr><tr id="type-t.attachments" class="anchored"><td class="def field"><a href="#type-t.attachments" class="anchor"></a><code>attachments : <a href="../Disml/Attachment/index.html#type-t">Disml.Attachment.t</a> list;</code></td></tr><tr id="type-t.embeds" class="anchored"><td class="def field"><a href="#type-t.embeds" class="anchor"></a><code>embeds : <a href="../Disml/Embed/index.html#type-t">Disml.Embed.t</a> list;</code></td></tr><tr id="type-t.reactions" class="anchored"><td class="def field"><a href="#type-t.reactions" class="anchor"></a><code>reactions : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-t.nonce" class="anchored"><td class="def field"><a href="#type-t.nonce" class="anchor"></a><code>nonce : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-t.pinned" class="anchored"><td class="def field"><a href="#type-t.pinned" class="anchor"></a><code>pinned : bool;</code></td></tr><tr id="type-t.webhook_id" class="anchored"><td class="def field"><a href="#type-t.webhook_id" class="anchor"></a><code>webhook_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-t.kind" class="anchored"><td class="def field"><a href="#type-t.kind" class="anchor"></a><code>kind : int;</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></dl></details></div></div></div><dl><dt class="spec value" id="val-add_reaction"><a href="#val-add_reaction" class="anchor"></a><code><span class="keyword">val </span>add_reaction : <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Emoji/index.html#type-t">Disml.Emoji.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-remove_reaction"><a href="#val-remove_reaction" class="anchor"></a><code><span class="keyword">val </span>remove_reaction : <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Emoji/index.html#type-t">Disml.Emoji.t</a> <span>-></span> <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-clear_reactions"><a href="#val-clear_reactions" class="anchor"></a><code><span class="keyword">val </span>clear_reactions : <a href="index.html#type-t">t</a> <span>-></span> unit 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-pin"><a href="#val-pin" class="anchor"></a><code><span class="keyword">val </span>pin : <a href="index.html#type-t">t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-unpin"><a href="#val-unpin" class="anchor"></a><code><span class="keyword">val </span>unpin : <a href="index.html#type-t">t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-reply"><a href="#val-reply" class="anchor"></a><code><span class="keyword">val </span>reply : <a href="index.html#type-t">t</a> <span>-></span> string <span>-></span> <a href="index.html#type-t">t</a> Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-set_content"><a href="#val-set_content" class="anchor"></a><code><span class="keyword">val </span>set_content : <a href="index.html#type-t">t</a> <span>-></span> string <span>-></span> <a href="index.html#type-t">t</a> Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-set_embed"><a href="#val-set_embed" class="anchor"></a><code><span class="keyword">val </span>set_embed : <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Embed/index.html#type-t">Disml.Embed.t</a> <span>-></span> <a href="index.html#type-t">t</a> Async.Deferred.Or_error.t</code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Message (disml.Disml__Message)</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> » Disml__Message</nav><h1>Module <code>Disml__Message</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="../Disml/index.html#module-Message_t">Disml.Message_t</a></code></span></summary><aside></aside><dl><dt class="spec type" id="type-message_update"><a href="#type-message_update" class="anchor"></a><code><span class="keyword">type </span>message_update</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-message_update.id" class="anchored"><td class="def field"><a href="#type-message_update.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-message_update.author" class="anchored"><td class="def field"><a href="#type-message_update.author" class="anchor"></a><code>author : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a> option;</code></td></tr><tr id="type-message_update.channel_id" class="anchored"><td class="def field"><a href="#type-message_update.channel_id" class="anchor"></a><code>channel_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-message_update.member" class="anchored"><td class="def field"><a href="#type-message_update.member" class="anchor"></a><code>member : <a href="../Disml/Member_t/index.html#type-partial_member">Disml.Member_t.partial_member</a> option;</code></td></tr><tr id="type-message_update.guild_id" class="anchored"><td class="def field"><a href="#type-message_update.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-message_update.content" class="anchored"><td class="def field"><a href="#type-message_update.content" class="anchor"></a><code>content : string option;</code></td></tr><tr id="type-message_update.timestamp" class="anchored"><td class="def field"><a href="#type-message_update.timestamp" class="anchor"></a><code>timestamp : string option;</code></td></tr><tr id="type-message_update.editedimestamp" class="anchored"><td class="def field"><a href="#type-message_update.editedimestamp" class="anchor"></a><code>editedimestamp : string option;</code></td></tr><tr id="type-message_update.tts" class="anchored"><td class="def field"><a href="#type-message_update.tts" class="anchor"></a><code>tts : bool option;</code></td></tr><tr id="type-message_update.mention_everyone" class="anchored"><td class="def field"><a href="#type-message_update.mention_everyone" class="anchor"></a><code>mention_everyone : bool option;</code></td></tr><tr id="type-message_update.mentions" class="anchored"><td class="def field"><a href="#type-message_update.mentions" class="anchor"></a><code>mentions : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-message_update.role_mentions" class="anchored"><td class="def field"><a href="#type-message_update.role_mentions" class="anchor"></a><code>role_mentions : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-message_update.attachments" class="anchored"><td class="def field"><a href="#type-message_update.attachments" class="anchor"></a><code>attachments : <a href="../Disml/Attachment/index.html#type-t">Disml.Attachment.t</a> list;</code></td></tr><tr id="type-message_update.embeds" class="anchored"><td class="def field"><a href="#type-message_update.embeds" class="anchor"></a><code>embeds : <a href="../Disml/Embed/index.html#type-t">Disml.Embed.t</a> list;</code></td></tr><tr id="type-message_update.reactions" class="anchored"><td class="def field"><a href="#type-message_update.reactions" class="anchor"></a><code>reactions : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-message_update.nonce" class="anchored"><td class="def field"><a href="#type-message_update.nonce" class="anchor"></a><code>nonce : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-message_update.pinned" class="anchored"><td class="def field"><a href="#type-message_update.pinned" class="anchor"></a><code>pinned : bool option;</code></td></tr><tr id="type-message_update.webhook_id" class="anchored"><td class="def field"><a href="#type-message_update.webhook_id" class="anchor"></a><code>webhook_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-message_update.kind" class="anchored"><td class="def field"><a href="#type-message_update.kind" class="anchor"></a><code>kind : int option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-message_update_of_sexp"><a href="#val-message_update_of_sexp" class="anchor"></a><code><span class="keyword">val </span>message_update_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-message_update">message_update</a></code></dt><dt class="spec value" id="val-sexp_of_message_update"><a href="#val-sexp_of_message_update" class="anchor"></a><code><span class="keyword">val </span>sexp_of_message_update : <a href="index.html#type-message_update">message_update</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-message_update_to_yojson"><a href="#val-message_update_to_yojson" class="anchor"></a><code><span class="keyword">val </span>message_update_to_yojson : <a href="index.html#type-message_update">message_update</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-message_update_of_yojson"><a href="#val-message_update_of_yojson" class="anchor"></a><code><span class="keyword">val </span>message_update_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-message_update">message_update</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-message_update_of_yojson_exn"><a href="#val-message_update_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>message_update_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-message_update">message_update</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="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-t.author" class="anchored"><td class="def field"><a href="#type-t.author" class="anchor"></a><code>author : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a>;</code></td></tr><tr id="type-t.channel_id" class="anchored"><td class="def field"><a href="#type-t.channel_id" class="anchor"></a><code>channel_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-t.member" class="anchored"><td class="def field"><a href="#type-t.member" class="anchor"></a><code>member : <a href="../Disml/Member_t/index.html#type-partial_member">Disml.Member_t.partial_member</a> option;</code></td></tr><tr id="type-t.guild_id" class="anchored"><td class="def field"><a href="#type-t.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-t.content" class="anchored"><td class="def field"><a href="#type-t.content" class="anchor"></a><code>content : string;</code></td></tr><tr id="type-t.timestamp" class="anchored"><td class="def field"><a href="#type-t.timestamp" class="anchor"></a><code>timestamp : string;</code></td></tr><tr id="type-t.editedimestamp" class="anchored"><td class="def field"><a href="#type-t.editedimestamp" class="anchor"></a><code>editedimestamp : string option;</code></td></tr><tr id="type-t.tts" class="anchored"><td class="def field"><a href="#type-t.tts" class="anchor"></a><code>tts : bool;</code></td></tr><tr id="type-t.mention_everyone" class="anchored"><td class="def field"><a href="#type-t.mention_everyone" class="anchor"></a><code>mention_everyone : bool;</code></td></tr><tr id="type-t.attachments" class="anchored"><td class="def field"><a href="#type-t.attachments" class="anchor"></a><code>attachments : <a href="../Disml/Attachment/index.html#type-t">Disml.Attachment.t</a> list;</code></td></tr><tr id="type-t.embeds" class="anchored"><td class="def field"><a href="#type-t.embeds" class="anchor"></a><code>embeds : <a href="../Disml/Embed/index.html#type-t">Disml.Embed.t</a> list;</code></td></tr><tr id="type-t.reactions" class="anchored"><td class="def field"><a href="#type-t.reactions" class="anchor"></a><code>reactions : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-t.nonce" class="anchored"><td class="def field"><a href="#type-t.nonce" class="anchor"></a><code>nonce : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-t.pinned" class="anchored"><td class="def field"><a href="#type-t.pinned" class="anchor"></a><code>pinned : bool;</code></td></tr><tr id="type-t.webhook_id" class="anchored"><td class="def field"><a href="#type-t.webhook_id" class="anchor"></a><code>webhook_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-t.kind" class="anchored"><td class="def field"><a href="#type-t.kind" class="anchor"></a><code>kind : int;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></dl></details></div></div></div><dl><dt class="spec value" id="val-add_reaction"><a href="#val-add_reaction" class="anchor"></a><code><span class="keyword">val </span>add_reaction : <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Emoji/index.html#type-t">Disml.Emoji.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-remove_reaction"><a href="#val-remove_reaction" class="anchor"></a><code><span class="keyword">val </span>remove_reaction : <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Emoji/index.html#type-t">Disml.Emoji.t</a> <span>-></span> <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-clear_reactions"><a href="#val-clear_reactions" class="anchor"></a><code><span class="keyword">val </span>clear_reactions : <a href="index.html#type-t">t</a> <span>-></span> unit 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-pin"><a href="#val-pin" class="anchor"></a><code><span class="keyword">val </span>pin : <a href="index.html#type-t">t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-unpin"><a href="#val-unpin" class="anchor"></a><code><span class="keyword">val </span>unpin : <a href="index.html#type-t">t</a> <span>-></span> unit Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-reply"><a href="#val-reply" class="anchor"></a><code><span class="keyword">val </span>reply : <a href="index.html#type-t">t</a> <span>-></span> string <span>-></span> <a href="index.html#type-t">t</a> Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-reply_with"><a href="#val-reply_with" class="anchor"></a><code><span class="keyword">val </span>reply_with : ?⁠embed:<a href="../Disml/Embed/index.html#type-t">Disml.Embed.t</a> <span>-></span> ?⁠content:string <span>-></span> ?⁠file:string <span>-></span> ?⁠tts:bool <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Message_t/index.html#type-t">Disml.Message_t.t</a> Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-set_content"><a href="#val-set_content" class="anchor"></a><code><span class="keyword">val </span>set_content : <a href="index.html#type-t">t</a> <span>-></span> string <span>-></span> <a href="index.html#type-t">t</a> Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-set_embed"><a href="#val-set_embed" class="anchor"></a><code><span class="keyword">val </span>set_embed : <a href="index.html#type-t">t</a> <span>-></span> <a href="../Disml/Embed/index.html#type-t">Disml.Embed.t</a> <span>-></span> <a href="index.html#type-t">t</a> Async.Deferred.Or_error.t</code></dt></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Message_t/index.html b/docs/disml/Disml__Message_t/index.html index acf0eb7..5b28413 100644 --- a/docs/disml/Disml__Message_t/index.html +++ b/docs/disml/Disml__Message_t/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Message_t (disml.Disml__Message_t)</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> » Disml__Message_t</nav><h1>Module <code>Disml__Message_t</code></h1></header><dl><dt class="spec type" id="type-message_update"><a href="#type-message_update" class="anchor"></a><code><span class="keyword">type </span>message_update</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-message_update.id" class="anchored"><td class="def field"><a href="#type-message_update.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-message_update.author" class="anchored"><td class="def field"><a href="#type-message_update.author" class="anchor"></a><code>author : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a> option;</code></td></tr><tr id="type-message_update.channel_id" class="anchored"><td class="def field"><a href="#type-message_update.channel_id" class="anchor"></a><code>channel_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-message_update.member" class="anchored"><td class="def field"><a href="#type-message_update.member" class="anchor"></a><code>member : <a href="../Disml/Member_t/index.html#type-partial_member">Disml.Member_t.partial_member</a> option;</code></td></tr><tr id="type-message_update.guild_id" class="anchored"><td class="def field"><a href="#type-message_update.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-message_update.content" class="anchored"><td class="def field"><a href="#type-message_update.content" class="anchor"></a><code>content : string option;</code></td></tr><tr id="type-message_update.timestamp" class="anchored"><td class="def field"><a href="#type-message_update.timestamp" class="anchor"></a><code>timestamp : string option;</code></td></tr><tr id="type-message_update.editedimestamp" class="anchored"><td class="def field"><a href="#type-message_update.editedimestamp" class="anchor"></a><code>editedimestamp : string option;</code></td></tr><tr id="type-message_update.tts" class="anchored"><td class="def field"><a href="#type-message_update.tts" class="anchor"></a><code>tts : bool option;</code></td></tr><tr id="type-message_update.mention_everyone" class="anchored"><td class="def field"><a href="#type-message_update.mention_everyone" class="anchor"></a><code>mention_everyone : bool option;</code></td></tr><tr id="type-message_update.mentions" class="anchored"><td class="def field"><a href="#type-message_update.mentions" class="anchor"></a><code>mentions : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-message_update.role_mentions" class="anchored"><td class="def field"><a href="#type-message_update.role_mentions" class="anchor"></a><code>role_mentions : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-message_update.attachments" class="anchored"><td class="def field"><a href="#type-message_update.attachments" class="anchor"></a><code>attachments : <a href="../Disml/Attachment/index.html#type-t">Disml.Attachment.t</a> list;</code></td></tr><tr id="type-message_update.embeds" class="anchored"><td class="def field"><a href="#type-message_update.embeds" class="anchor"></a><code>embeds : <a href="../Disml/Embed/index.html#type-t">Disml.Embed.t</a> list;</code></td></tr><tr id="type-message_update.reactions" class="anchored"><td class="def field"><a href="#type-message_update.reactions" class="anchor"></a><code>reactions : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-message_update.nonce" class="anchored"><td class="def field"><a href="#type-message_update.nonce" class="anchor"></a><code>nonce : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-message_update.pinned" class="anchored"><td class="def field"><a href="#type-message_update.pinned" class="anchor"></a><code>pinned : bool option;</code></td></tr><tr id="type-message_update.webhook_id" class="anchored"><td class="def field"><a href="#type-message_update.webhook_id" class="anchor"></a><code>webhook_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-message_update.kind" class="anchored"><td class="def field"><a href="#type-message_update.kind" class="anchor"></a><code>kind : int option;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-message_update_of_sexp"><a href="#val-message_update_of_sexp" class="anchor"></a><code><span class="keyword">val </span>message_update_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-message_update">message_update</a></code></dt><dt class="spec value" id="val-sexp_of_message_update"><a href="#val-sexp_of_message_update" class="anchor"></a><code><span class="keyword">val </span>sexp_of_message_update : <a href="index.html#type-message_update">message_update</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-message_update_to_yojson"><a href="#val-message_update_to_yojson" class="anchor"></a><code><span class="keyword">val </span>message_update_to_yojson : <a href="index.html#type-message_update">message_update</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-message_update_of_yojson"><a href="#val-message_update_of_yojson" class="anchor"></a><code><span class="keyword">val </span>message_update_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-message_update">message_update</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-message_update">message_update</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-message_update">message_update</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-message_update_of_yojson_exn"><a href="#val-message_update_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>message_update_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-message_update">message_update</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-message_update">message_update</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="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-t.author" class="anchored"><td class="def field"><a href="#type-t.author" class="anchor"></a><code>author : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a>;</code></td></tr><tr id="type-t.channel_id" class="anchored"><td class="def field"><a href="#type-t.channel_id" class="anchor"></a><code>channel_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-t.member" class="anchored"><td class="def field"><a href="#type-t.member" class="anchor"></a><code>member : <a href="../Disml/Member_t/index.html#type-partial_member">Disml.Member_t.partial_member</a> option;</code></td></tr><tr id="type-t.guild_id" class="anchored"><td class="def field"><a href="#type-t.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-t.content" class="anchored"><td class="def field"><a href="#type-t.content" class="anchor"></a><code>content : string;</code></td></tr><tr id="type-t.timestamp" class="anchored"><td class="def field"><a href="#type-t.timestamp" class="anchor"></a><code>timestamp : string;</code></td></tr><tr id="type-t.editedimestamp" class="anchored"><td class="def field"><a href="#type-t.editedimestamp" class="anchor"></a><code>editedimestamp : string option;</code></td></tr><tr id="type-t.tts" class="anchored"><td class="def field"><a href="#type-t.tts" class="anchor"></a><code>tts : bool;</code></td></tr><tr id="type-t.mention_everyone" class="anchored"><td class="def field"><a href="#type-t.mention_everyone" class="anchor"></a><code>mention_everyone : bool;</code></td></tr><tr id="type-t.attachments" class="anchored"><td class="def field"><a href="#type-t.attachments" class="anchor"></a><code>attachments : <a href="../Disml/Attachment/index.html#type-t">Disml.Attachment.t</a> list;</code></td></tr><tr id="type-t.embeds" class="anchored"><td class="def field"><a href="#type-t.embeds" class="anchor"></a><code>embeds : <a href="../Disml/Embed/index.html#type-t">Disml.Embed.t</a> list;</code></td></tr><tr id="type-t.reactions" class="anchored"><td class="def field"><a href="#type-t.reactions" class="anchor"></a><code>reactions : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-t.nonce" class="anchored"><td class="def field"><a href="#type-t.nonce" class="anchor"></a><code>nonce : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-t.pinned" class="anchored"><td class="def field"><a href="#type-t.pinned" class="anchor"></a><code>pinned : bool;</code></td></tr><tr id="type-t.webhook_id" class="anchored"><td class="def field"><a href="#type-t.webhook_id" class="anchor"></a><code>webhook_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-t.kind" class="anchored"><td class="def field"><a href="#type-t.kind" class="anchor"></a><code>kind : int;</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></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Message_t (disml.Disml__Message_t)</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> » Disml__Message_t</nav><h1>Module <code>Disml__Message_t</code></h1></header><dl><dt class="spec type" id="type-message_update"><a href="#type-message_update" class="anchor"></a><code><span class="keyword">type </span>message_update</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-message_update.id" class="anchored"><td class="def field"><a href="#type-message_update.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-message_update.author" class="anchored"><td class="def field"><a href="#type-message_update.author" class="anchor"></a><code>author : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a> option;</code></td></tr><tr id="type-message_update.channel_id" class="anchored"><td class="def field"><a href="#type-message_update.channel_id" class="anchor"></a><code>channel_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-message_update.member" class="anchored"><td class="def field"><a href="#type-message_update.member" class="anchor"></a><code>member : <a href="../Disml/Member_t/index.html#type-partial_member">Disml.Member_t.partial_member</a> option;</code></td></tr><tr id="type-message_update.guild_id" class="anchored"><td class="def field"><a href="#type-message_update.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-message_update.content" class="anchored"><td class="def field"><a href="#type-message_update.content" class="anchor"></a><code>content : string option;</code></td></tr><tr id="type-message_update.timestamp" class="anchored"><td class="def field"><a href="#type-message_update.timestamp" class="anchor"></a><code>timestamp : string option;</code></td></tr><tr id="type-message_update.editedimestamp" class="anchored"><td class="def field"><a href="#type-message_update.editedimestamp" class="anchor"></a><code>editedimestamp : string option;</code></td></tr><tr id="type-message_update.tts" class="anchored"><td class="def field"><a href="#type-message_update.tts" class="anchor"></a><code>tts : bool option;</code></td></tr><tr id="type-message_update.mention_everyone" class="anchored"><td class="def field"><a href="#type-message_update.mention_everyone" class="anchor"></a><code>mention_everyone : bool option;</code></td></tr><tr id="type-message_update.mentions" class="anchored"><td class="def field"><a href="#type-message_update.mentions" class="anchor"></a><code>mentions : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-message_update.role_mentions" class="anchored"><td class="def field"><a href="#type-message_update.role_mentions" class="anchor"></a><code>role_mentions : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-message_update.attachments" class="anchored"><td class="def field"><a href="#type-message_update.attachments" class="anchor"></a><code>attachments : <a href="../Disml/Attachment/index.html#type-t">Disml.Attachment.t</a> list;</code></td></tr><tr id="type-message_update.embeds" class="anchored"><td class="def field"><a href="#type-message_update.embeds" class="anchor"></a><code>embeds : <a href="../Disml/Embed/index.html#type-t">Disml.Embed.t</a> list;</code></td></tr><tr id="type-message_update.reactions" class="anchored"><td class="def field"><a href="#type-message_update.reactions" class="anchor"></a><code>reactions : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-message_update.nonce" class="anchored"><td class="def field"><a href="#type-message_update.nonce" class="anchor"></a><code>nonce : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-message_update.pinned" class="anchored"><td class="def field"><a href="#type-message_update.pinned" class="anchor"></a><code>pinned : bool option;</code></td></tr><tr id="type-message_update.webhook_id" class="anchored"><td class="def field"><a href="#type-message_update.webhook_id" class="anchor"></a><code>webhook_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-message_update.kind" class="anchored"><td class="def field"><a href="#type-message_update.kind" class="anchor"></a><code>kind : int option;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-message_update_of_sexp"><a href="#val-message_update_of_sexp" class="anchor"></a><code><span class="keyword">val </span>message_update_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-message_update">message_update</a></code></dt><dt class="spec value" id="val-sexp_of_message_update"><a href="#val-sexp_of_message_update" class="anchor"></a><code><span class="keyword">val </span>sexp_of_message_update : <a href="index.html#type-message_update">message_update</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-message_update_to_yojson"><a href="#val-message_update_to_yojson" class="anchor"></a><code><span class="keyword">val </span>message_update_to_yojson : <a href="index.html#type-message_update">message_update</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-message_update_of_yojson"><a href="#val-message_update_of_yojson" class="anchor"></a><code><span class="keyword">val </span>message_update_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-message_update">message_update</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-message_update_of_yojson_exn"><a href="#val-message_update_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>message_update_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-message_update">message_update</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="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-t.author" class="anchored"><td class="def field"><a href="#type-t.author" class="anchor"></a><code>author : <a href="../Disml/User_t/index.html#type-t">Disml.User_t.t</a>;</code></td></tr><tr id="type-t.channel_id" class="anchored"><td class="def field"><a href="#type-t.channel_id" class="anchor"></a><code>channel_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-t.member" class="anchored"><td class="def field"><a href="#type-t.member" class="anchor"></a><code>member : <a href="../Disml/Member_t/index.html#type-partial_member">Disml.Member_t.partial_member</a> option;</code></td></tr><tr id="type-t.guild_id" class="anchored"><td class="def field"><a href="#type-t.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-t.content" class="anchored"><td class="def field"><a href="#type-t.content" class="anchor"></a><code>content : string;</code></td></tr><tr id="type-t.timestamp" class="anchored"><td class="def field"><a href="#type-t.timestamp" class="anchor"></a><code>timestamp : string;</code></td></tr><tr id="type-t.editedimestamp" class="anchored"><td class="def field"><a href="#type-t.editedimestamp" class="anchor"></a><code>editedimestamp : string option;</code></td></tr><tr id="type-t.tts" class="anchored"><td class="def field"><a href="#type-t.tts" class="anchor"></a><code>tts : bool;</code></td></tr><tr id="type-t.mention_everyone" class="anchored"><td class="def field"><a href="#type-t.mention_everyone" class="anchor"></a><code>mention_everyone : bool;</code></td></tr><tr id="type-t.attachments" class="anchored"><td class="def field"><a href="#type-t.attachments" class="anchor"></a><code>attachments : <a href="../Disml/Attachment/index.html#type-t">Disml.Attachment.t</a> list;</code></td></tr><tr id="type-t.embeds" class="anchored"><td class="def field"><a href="#type-t.embeds" class="anchor"></a><code>embeds : <a href="../Disml/Embed/index.html#type-t">Disml.Embed.t</a> list;</code></td></tr><tr id="type-t.reactions" class="anchored"><td class="def field"><a href="#type-t.reactions" class="anchor"></a><code>reactions : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-t.nonce" class="anchored"><td class="def field"><a href="#type-t.nonce" class="anchor"></a><code>nonce : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-t.pinned" class="anchored"><td class="def field"><a href="#type-t.pinned" class="anchor"></a><code>pinned : bool;</code></td></tr><tr id="type-t.webhook_id" class="anchored"><td class="def field"><a href="#type-t.webhook_id" class="anchor"></a><code>webhook_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-t.kind" class="anchored"><td class="def field"><a href="#type-t.kind" class="anchor"></a><code>kind : int;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Opcode/index.html b/docs/disml/Disml__Opcode/index.html index af94661..3579318 100644 --- a/docs/disml/Disml__Opcode/index.html +++ b/docs/disml/Disml__Opcode/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Opcode (disml.Disml__Opcode)</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> » Disml__Opcode</nav><h1>Module <code>Disml__Opcode</code></h1></header><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><table class="variant"><tr id="type-t.DISPATCH" class="anchored"><td class="def constructor"><a href="#type-t.DISPATCH" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">DISPATCH</span></code></td></tr><tr id="type-t.HEARTBEAT" class="anchored"><td class="def constructor"><a href="#type-t.HEARTBEAT" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">HEARTBEAT</span></code></td></tr><tr id="type-t.IDENTIFY" class="anchored"><td class="def constructor"><a href="#type-t.IDENTIFY" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">IDENTIFY</span></code></td></tr><tr id="type-t.STATUS_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.STATUS_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">STATUS_UPDATE</span></code></td></tr><tr id="type-t.VOICE_STATE_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.VOICE_STATE_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">VOICE_STATE_UPDATE</span></code></td></tr><tr id="type-t.RESUME" class="anchored"><td class="def constructor"><a href="#type-t.RESUME" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">RESUME</span></code></td></tr><tr id="type-t.RECONNECT" class="anchored"><td class="def constructor"><a href="#type-t.RECONNECT" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">RECONNECT</span></code></td></tr><tr id="type-t.REQUEST_GUILD_MEMBERS" class="anchored"><td class="def constructor"><a href="#type-t.REQUEST_GUILD_MEMBERS" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">REQUEST_GUILD_MEMBERS</span></code></td></tr><tr id="type-t.INVALID_SESSION" class="anchored"><td class="def constructor"><a href="#type-t.INVALID_SESSION" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">INVALID_SESSION</span></code></td></tr><tr id="type-t.HELLO" class="anchored"><td class="def constructor"><a href="#type-t.HELLO" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">HELLO</span></code></td></tr><tr id="type-t.HEARTBEAT_ACK" class="anchored"><td class="def constructor"><a href="#type-t.HEARTBEAT_ACK" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">HEARTBEAT_ACK</span></code></td></tr></table></dt></dl><dl><dt class="spec exception" id="exception-Invalid_Opcode"><a href="#exception-Invalid_Opcode" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">Invalid_Opcode</span><span class="keyword"> of </span>int</code></dt></dl><dl><dt class="spec value" id="val-to_int"><a href="#val-to_int" class="anchor"></a><code><span class="keyword">val </span>to_int : <a href="index.html#type-t">t</a> <span>-></span> int</code></dt><dt class="spec value" id="val-from_int"><a href="#val-from_int" class="anchor"></a><code><span class="keyword">val </span>from_int : int <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-to_string"><a href="#val-to_string" class="anchor"></a><code><span class="keyword">val </span>to_string : <a href="index.html#type-t">t</a> <span>-></span> string</code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Opcode (disml.Disml__Opcode)</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> » Disml__Opcode</nav><h1>Module <code>Disml__Opcode</code></h1><p>Internal Opcode abstractions.</p></header><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><table class="variant"><tr id="type-t.DISPATCH" class="anchored"><td class="def constructor"><a href="#type-t.DISPATCH" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">DISPATCH</span></code></td></tr><tr id="type-t.HEARTBEAT" class="anchored"><td class="def constructor"><a href="#type-t.HEARTBEAT" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">HEARTBEAT</span></code></td></tr><tr id="type-t.IDENTIFY" class="anchored"><td class="def constructor"><a href="#type-t.IDENTIFY" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">IDENTIFY</span></code></td></tr><tr id="type-t.STATUS_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.STATUS_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">STATUS_UPDATE</span></code></td></tr><tr id="type-t.VOICE_STATE_UPDATE" class="anchored"><td class="def constructor"><a href="#type-t.VOICE_STATE_UPDATE" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">VOICE_STATE_UPDATE</span></code></td></tr><tr id="type-t.RESUME" class="anchored"><td class="def constructor"><a href="#type-t.RESUME" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">RESUME</span></code></td></tr><tr id="type-t.RECONNECT" class="anchored"><td class="def constructor"><a href="#type-t.RECONNECT" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">RECONNECT</span></code></td></tr><tr id="type-t.REQUEST_GUILD_MEMBERS" class="anchored"><td class="def constructor"><a href="#type-t.REQUEST_GUILD_MEMBERS" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">REQUEST_GUILD_MEMBERS</span></code></td></tr><tr id="type-t.INVALID_SESSION" class="anchored"><td class="def constructor"><a href="#type-t.INVALID_SESSION" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">INVALID_SESSION</span></code></td></tr><tr id="type-t.HELLO" class="anchored"><td class="def constructor"><a href="#type-t.HELLO" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">HELLO</span></code></td></tr><tr id="type-t.HEARTBEAT_ACK" class="anchored"><td class="def constructor"><a href="#type-t.HEARTBEAT_ACK" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">HEARTBEAT_ACK</span></code></td></tr></table></dt><dd><p>Type of known opcodes.</p></dd></dl><dl><dt class="spec exception" id="exception-Invalid_Opcode"><a href="#exception-Invalid_Opcode" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">Invalid_Opcode</span><span class="keyword"> of </span>int</code></dt><dd><p>Raised when receiving an invalid opcode. This should never occur.</p></dd></dl><dl><dt class="spec value" id="val-to_int"><a href="#val-to_int" class="anchor"></a><code><span class="keyword">val </span>to_int : <a href="index.html#type-t">t</a> <span>-></span> int</code></dt><dd><p>Converts an opcode to its integer form for outgoing frames.</p></dd></dl><dl><dt class="spec value" id="val-from_int"><a href="#val-from_int" class="anchor"></a><code><span class="keyword">val </span>from_int : int <span>-></span> <a href="index.html#type-t">t</a></code></dt><dd><p>Converts an integer to an opcode for incoming frames. Raise <a href="index.html#exception-Invalid_Opcode"><code>Invalid_Opcode</code></a> Raised when an unkown opcode is received.</p></dd></dl><dl><dt class="spec value" id="val-to_string"><a href="#val-to_string" class="anchor"></a><code><span class="keyword">val </span>to_string : <a href="index.html#type-t">t</a> <span>-></span> string</code></dt><dd><p>Converts and opcode to a human-readable string. Used for logging purposes.</p></dd></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Presence/index.html b/docs/disml/Disml__Presence/index.html index 9f69908..76e643b 100644 --- a/docs/disml/Disml__Presence/index.html +++ b/docs/disml/Disml__Presence/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Presence (disml.Disml__Presence)</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> » Disml__Presence</nav><h1>Module <code>Disml__Presence</code></h1></header><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.user" class="anchored"><td class="def field"><a href="#type-t.user" class="anchor"></a><code>user : <a href="../Disml/User_t/index.html#type-partial_user">Disml.User_t.partial_user</a>;</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="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-t.game" class="anchored"><td class="def field"><a href="#type-t.game" class="anchor"></a><code>game : <a href="../Disml/Activity/index.html#type-t">Disml.Activity.t</a> option;</code></td></tr><tr id="type-t.guild_id" class="anchored"><td class="def field"><a href="#type-t.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-t.status" class="anchored"><td class="def field"><a href="#type-t.status" class="anchor"></a><code>status : string;</code></td></tr><tr id="type-t.activities" class="anchored"><td class="def field"><a href="#type-t.activities" class="anchor"></a><code>activities : <a href="../Disml/Activity/index.html#type-t">Disml.Activity.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></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Presence (disml.Disml__Presence)</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> » Disml__Presence</nav><h1>Module <code>Disml__Presence</code></h1></header><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.user" class="anchored"><td class="def field"><a href="#type-t.user" class="anchor"></a><code>user : <a href="../Disml/User_t/index.html#type-partial_user">Disml.User_t.partial_user</a>;</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="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> list;</code></td></tr><tr id="type-t.game" class="anchored"><td class="def field"><a href="#type-t.game" class="anchor"></a><code>game : <a href="../Disml/Activity/index.html#type-t">Disml.Activity.t</a> option;</code></td></tr><tr id="type-t.guild_id" class="anchored"><td class="def field"><a href="#type-t.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-t.status" class="anchored"><td class="def field"><a href="#type-t.status" class="anchor"></a><code>status : string;</code></td></tr><tr id="type-t.activities" class="anchored"><td class="def field"><a href="#type-t.activities" class="anchor"></a><code>activities : <a href="../Disml/Activity/index.html#type-t">Disml.Activity.t</a> list;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Reaction/index.html b/docs/disml/Disml__Reaction/index.html index 109eb1e..22832de 100644 --- a/docs/disml/Disml__Reaction/index.html +++ b/docs/disml/Disml__Reaction/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Reaction (disml.Disml__Reaction)</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> » Disml__Reaction</nav><h1>Module <code>Disml__Reaction</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="../Disml/index.html#module-Reaction_t">Disml.Reaction_t</a></code></span></summary><aside></aside><dl><dt class="spec type" id="type-reaction_event"><a href="#type-reaction_event" class="anchor"></a><code><span class="keyword">type </span>reaction_event</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-reaction_event.user_id" class="anchored"><td class="def field"><a href="#type-reaction_event.user_id" class="anchor"></a><code>user_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-reaction_event.channel_id" class="anchored"><td class="def field"><a href="#type-reaction_event.channel_id" class="anchor"></a><code>channel_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-reaction_event.message_id" class="anchored"><td class="def field"><a href="#type-reaction_event.message_id" class="anchor"></a><code>message_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-reaction_event.guild_id" class="anchored"><td class="def field"><a href="#type-reaction_event.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-reaction_event.emoji" class="anchored"><td class="def field"><a href="#type-reaction_event.emoji" class="anchor"></a><code>emoji : <a href="../Disml/Emoji/index.html#type-partial_emoji">Disml.Emoji.partial_emoji</a>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-reaction_event_of_sexp"><a href="#val-reaction_event_of_sexp" class="anchor"></a><code><span class="keyword">val </span>reaction_event_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-reaction_event">reaction_event</a></code></dt><dt class="spec value" id="val-sexp_of_reaction_event"><a href="#val-sexp_of_reaction_event" class="anchor"></a><code><span class="keyword">val </span>sexp_of_reaction_event : <a href="index.html#type-reaction_event">reaction_event</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-reaction_event_to_yojson"><a href="#val-reaction_event_to_yojson" class="anchor"></a><code><span class="keyword">val </span>reaction_event_to_yojson : <a href="index.html#type-reaction_event">reaction_event</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-reaction_event_of_yojson"><a href="#val-reaction_event_of_yojson" class="anchor"></a><code><span class="keyword">val </span>reaction_event_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-reaction_event">reaction_event</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-reaction_event">reaction_event</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-reaction_event">reaction_event</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-reaction_event_of_yojson_exn"><a href="#val-reaction_event_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>reaction_event_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-reaction_event">reaction_event</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-reaction_event">reaction_event</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.count" class="anchored"><td class="def field"><a href="#type-t.count" class="anchor"></a><code>count : int;</code></td></tr><tr id="type-t.emoji" class="anchored"><td class="def field"><a href="#type-t.emoji" class="anchor"></a><code>emoji : <a href="../Disml/Emoji/index.html#type-t">Disml.Emoji.t</a>;</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></dl></details></div></div></div></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Reaction (disml.Disml__Reaction)</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> » Disml__Reaction</nav><h1>Module <code>Disml__Reaction</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="../Disml/index.html#module-Reaction_t">Disml.Reaction_t</a></code></span></summary><aside></aside><dl><dt class="spec type" id="type-reaction_event"><a href="#type-reaction_event" class="anchor"></a><code><span class="keyword">type </span>reaction_event</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-reaction_event.user_id" class="anchored"><td class="def field"><a href="#type-reaction_event.user_id" class="anchor"></a><code>user_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-reaction_event.channel_id" class="anchored"><td class="def field"><a href="#type-reaction_event.channel_id" class="anchor"></a><code>channel_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-reaction_event.message_id" class="anchored"><td class="def field"><a href="#type-reaction_event.message_id" class="anchor"></a><code>message_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-reaction_event.guild_id" class="anchored"><td class="def field"><a href="#type-reaction_event.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-reaction_event.emoji" class="anchored"><td class="def field"><a href="#type-reaction_event.emoji" class="anchor"></a><code>emoji : <a href="../Disml/Emoji/index.html#type-partial_emoji">Disml.Emoji.partial_emoji</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-reaction_event_of_sexp"><a href="#val-reaction_event_of_sexp" class="anchor"></a><code><span class="keyword">val </span>reaction_event_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-reaction_event">reaction_event</a></code></dt><dt class="spec value" id="val-sexp_of_reaction_event"><a href="#val-sexp_of_reaction_event" class="anchor"></a><code><span class="keyword">val </span>sexp_of_reaction_event : <a href="index.html#type-reaction_event">reaction_event</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-reaction_event_to_yojson"><a href="#val-reaction_event_to_yojson" class="anchor"></a><code><span class="keyword">val </span>reaction_event_to_yojson : <a href="index.html#type-reaction_event">reaction_event</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-reaction_event_of_yojson"><a href="#val-reaction_event_of_yojson" class="anchor"></a><code><span class="keyword">val </span>reaction_event_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-reaction_event">reaction_event</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-reaction_event_of_yojson_exn"><a href="#val-reaction_event_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>reaction_event_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-reaction_event">reaction_event</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.count" class="anchored"><td class="def field"><a href="#type-t.count" class="anchor"></a><code>count : int;</code></td></tr><tr id="type-t.emoji" class="anchored"><td class="def field"><a href="#type-t.emoji" class="anchor"></a><code>emoji : <a href="../Disml/Emoji/index.html#type-t">Disml.Emoji.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></dl></details></div></div></div></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Reaction_t/index.html b/docs/disml/Disml__Reaction_t/index.html index 0b9e12b..f3a9571 100644 --- a/docs/disml/Disml__Reaction_t/index.html +++ b/docs/disml/Disml__Reaction_t/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Reaction_t (disml.Disml__Reaction_t)</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> » Disml__Reaction_t</nav><h1>Module <code>Disml__Reaction_t</code></h1></header><dl><dt class="spec type" id="type-reaction_event"><a href="#type-reaction_event" class="anchor"></a><code><span class="keyword">type </span>reaction_event</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-reaction_event.user_id" class="anchored"><td class="def field"><a href="#type-reaction_event.user_id" class="anchor"></a><code>user_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-reaction_event.channel_id" class="anchored"><td class="def field"><a href="#type-reaction_event.channel_id" class="anchor"></a><code>channel_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-reaction_event.message_id" class="anchored"><td class="def field"><a href="#type-reaction_event.message_id" class="anchor"></a><code>message_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-reaction_event.guild_id" class="anchored"><td class="def field"><a href="#type-reaction_event.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-reaction_event.emoji" class="anchored"><td class="def field"><a href="#type-reaction_event.emoji" class="anchor"></a><code>emoji : <a href="../Disml/Emoji/index.html#type-partial_emoji">Disml.Emoji.partial_emoji</a>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-reaction_event_of_sexp"><a href="#val-reaction_event_of_sexp" class="anchor"></a><code><span class="keyword">val </span>reaction_event_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-reaction_event">reaction_event</a></code></dt><dt class="spec value" id="val-sexp_of_reaction_event"><a href="#val-sexp_of_reaction_event" class="anchor"></a><code><span class="keyword">val </span>sexp_of_reaction_event : <a href="index.html#type-reaction_event">reaction_event</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-reaction_event_to_yojson"><a href="#val-reaction_event_to_yojson" class="anchor"></a><code><span class="keyword">val </span>reaction_event_to_yojson : <a href="index.html#type-reaction_event">reaction_event</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-reaction_event_of_yojson"><a href="#val-reaction_event_of_yojson" class="anchor"></a><code><span class="keyword">val </span>reaction_event_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-reaction_event">reaction_event</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-reaction_event">reaction_event</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-reaction_event">reaction_event</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-reaction_event_of_yojson_exn"><a href="#val-reaction_event_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>reaction_event_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-reaction_event">reaction_event</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-reaction_event">reaction_event</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.count" class="anchored"><td class="def field"><a href="#type-t.count" class="anchor"></a><code>count : int;</code></td></tr><tr id="type-t.emoji" class="anchored"><td class="def field"><a href="#type-t.emoji" class="anchor"></a><code>emoji : <a href="../Disml/Emoji/index.html#type-t">Disml.Emoji.t</a>;</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></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Reaction_t (disml.Disml__Reaction_t)</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> » Disml__Reaction_t</nav><h1>Module <code>Disml__Reaction_t</code></h1></header><dl><dt class="spec type" id="type-reaction_event"><a href="#type-reaction_event" class="anchor"></a><code><span class="keyword">type </span>reaction_event</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-reaction_event.user_id" class="anchored"><td class="def field"><a href="#type-reaction_event.user_id" class="anchor"></a><code>user_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-reaction_event.channel_id" class="anchored"><td class="def field"><a href="#type-reaction_event.channel_id" class="anchor"></a><code>channel_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-reaction_event.message_id" class="anchored"><td class="def field"><a href="#type-reaction_event.message_id" class="anchor"></a><code>message_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-reaction_event.guild_id" class="anchored"><td class="def field"><a href="#type-reaction_event.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> option;</code></td></tr><tr id="type-reaction_event.emoji" class="anchored"><td class="def field"><a href="#type-reaction_event.emoji" class="anchor"></a><code>emoji : <a href="../Disml/Emoji/index.html#type-partial_emoji">Disml.Emoji.partial_emoji</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-reaction_event_of_sexp"><a href="#val-reaction_event_of_sexp" class="anchor"></a><code><span class="keyword">val </span>reaction_event_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-reaction_event">reaction_event</a></code></dt><dt class="spec value" id="val-sexp_of_reaction_event"><a href="#val-sexp_of_reaction_event" class="anchor"></a><code><span class="keyword">val </span>sexp_of_reaction_event : <a href="index.html#type-reaction_event">reaction_event</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-reaction_event_to_yojson"><a href="#val-reaction_event_to_yojson" class="anchor"></a><code><span class="keyword">val </span>reaction_event_to_yojson : <a href="index.html#type-reaction_event">reaction_event</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-reaction_event_of_yojson"><a href="#val-reaction_event_of_yojson" class="anchor"></a><code><span class="keyword">val </span>reaction_event_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-reaction_event">reaction_event</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-reaction_event_of_yojson_exn"><a href="#val-reaction_event_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>reaction_event_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-reaction_event">reaction_event</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.count" class="anchored"><td class="def field"><a href="#type-t.count" class="anchor"></a><code>count : int;</code></td></tr><tr id="type-t.emoji" class="anchored"><td class="def field"><a href="#type-t.emoji" class="anchor"></a><code>emoji : <a href="../Disml/Emoji/index.html#type-t">Disml.Emoji.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Rl/RouteMap/index.html b/docs/disml/Disml__Rl/RouteMap/index.html index 3970fb3..311a90a 100644 --- a/docs/disml/Disml__Rl/RouteMap/index.html +++ b/docs/disml/Disml__Rl/RouteMap/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>RouteMap (disml.Disml__Rl.RouteMap)</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__Rl</a> » RouteMap</nav><h1>Module <code>Disml__Rl.RouteMap</code></h1></header><div class="spec module" id="module-Key"><a href="#module-Key" class="anchor"></a><code><span class="keyword">module </span><a href="Key/index.html">Key</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="spec module" id="module-Tree"><a href="#module-Tree" class="anchor"></a><code><span class="keyword">module </span><a href="Tree/index.html">Tree</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>'a t</code><code><span class="keyword"> = </span>(<a href="Key/index.html#type-t">Key.t</a>, <span class="type-var">'a</span>, <a href="Key/index.html#type-comparator_witness">Key.comparator_witness</a>) Core_kernel__.Map_intf.Map.t</code></dt></dl><dl><dt class="spec value" id="val-compare"><a href="#val-compare" class="anchor"></a><code><span class="keyword">val </span>compare : (<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <span>-></span> Core_kernel__.Import.int) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> Core_kernel__.Import.int</code></dt><dt class="spec value" id="val-empty"><a href="#val-empty" class="anchor"></a><code><span class="keyword">val </span>empty : <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-singleton"><a href="#val-singleton" class="anchor"></a><code><span class="keyword">val </span>singleton : <a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_alist"><a href="#val-of_alist" class="anchor"></a><code><span class="keyword">val </span>of_alist : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list <span>-></span> [ `Duplicate_key of <a href="Key/index.html#type-t">Key.t</a><span class="keyword"> | </span>`Ok of <span class="type-var">'a</span> <a href="index.html#type-t">t</a> ]</code></dt><dt class="spec value" id="val-of_alist_or_error"><a href="#val-of_alist_or_error" class="anchor"></a><code><span class="keyword">val </span>of_alist_or_error : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> Base__.Or_error.t</code></dt><dt class="spec value" id="val-of_alist_exn"><a href="#val-of_alist_exn" class="anchor"></a><code><span class="keyword">val </span>of_alist_exn : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_alist_multi"><a href="#val-of_alist_multi" class="anchor"></a><code><span class="keyword">val </span>of_alist_multi : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list <span>-></span> <span class="type-var">'a</span> list <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_alist_fold"><a href="#val-of_alist_fold" class="anchor"></a><code><span class="keyword">val </span>of_alist_fold : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list <span>-></span> init:<span class="type-var">'b</span> <span>-></span> f:(<span class="type-var">'b</span> <span>-></span> <span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span>) <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_alist_reduce"><a href="#val-of_alist_reduce" class="anchor"></a><code><span class="keyword">val </span>of_alist_reduce : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span>) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_sorted_array"><a href="#val-of_sorted_array" class="anchor"></a><code><span class="keyword">val </span>of_sorted_array : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) array <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> Base__.Or_error.t</code></dt><dt class="spec value" id="val-of_sorted_array_unchecked"><a href="#val-of_sorted_array_unchecked" class="anchor"></a><code><span class="keyword">val </span>of_sorted_array_unchecked : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) array <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_increasing_iterator_unchecked"><a href="#val-of_increasing_iterator_unchecked" class="anchor"></a><code><span class="keyword">val </span>of_increasing_iterator_unchecked : len:int <span>-></span> f:(int <span>-></span> <a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_increasing_sequence"><a href="#val-of_increasing_sequence" class="anchor"></a><code><span class="keyword">val </span>of_increasing_sequence : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) Base__.Sequence.t <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> Base__.Or_error.t</code></dt><dt class="spec value" id="val-of_iteri"><a href="#val-of_iteri" class="anchor"></a><code><span class="keyword">val </span>of_iteri : iteri:(f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'v</span> <span>-></span> unit) <span>-></span> unit) <span>-></span> [ `Duplicate_key of <a href="Key/index.html#type-t">Key.t</a><span class="keyword"> | </span>`Ok of <span class="type-var">'v</span> <a href="index.html#type-t">t</a> ]</code></dt><dt class="spec value" id="val-of_tree"><a href="#val-of_tree" class="anchor"></a><code><span class="keyword">val </span>of_tree : <span class="type-var">'a</span> <a href="Tree/index.html#type-t">Tree.t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_hashtbl_exn"><a href="#val-of_hashtbl_exn" class="anchor"></a><code><span class="keyword">val </span>of_hashtbl_exn : (<a href="Key/index.html#type-t">Key.t</a>, <span class="type-var">'a</span>) Core_kernel__.Hashtbl.t <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-gen"><a href="#val-gen" class="anchor"></a><code><span class="keyword">val </span>gen : <a href="Key/index.html#type-t">Key.t</a> Core_kernel__.Quickcheck.Generator.t <span>-></span> <span class="type-var">'a</span> Core_kernel__.Quickcheck.Generator.t <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> Core_kernel__.Quickcheck.Generator.t</code></dt><dt class="spec value" id="val-invariants"><a href="#val-invariants" class="anchor"></a><code><span class="keyword">val </span>invariants : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> bool</code></dt><dt class="spec value" id="val-is_empty"><a href="#val-is_empty" class="anchor"></a><code><span class="keyword">val </span>is_empty : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> bool</code></dt><dt class="spec value" id="val-length"><a href="#val-length" class="anchor"></a><code><span class="keyword">val </span>length : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> int</code></dt><dt class="spec value" id="val-add"><a href="#val-add" class="anchor"></a><code><span class="keyword">val </span>add : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> Base__.Map_intf.Or_duplicate.t</code></dt><dt class="spec value" id="val-add_exn"><a href="#val-add_exn" class="anchor"></a><code><span class="keyword">val </span>add_exn : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-set"><a href="#val-set" class="anchor"></a><code><span class="keyword">val </span>set : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-add_multi"><a href="#val-add_multi" class="anchor"></a><code><span class="keyword">val </span>add_multi : <span class="type-var">'a</span> list <a href="index.html#type-t">t</a> <span>-></span> key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> list <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-remove_multi"><a href="#val-remove_multi" class="anchor"></a><code><span class="keyword">val </span>remove_multi : <span class="type-var">'a</span> list <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span> list <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-find_multi"><a href="#val-find_multi" class="anchor"></a><code><span class="keyword">val </span>find_multi : <span class="type-var">'a</span> list <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span> list</code></dt><dt class="spec value" id="val-change"><a href="#val-change" class="anchor"></a><code><span class="keyword">val </span>change : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> f:(<span class="type-var">'a</span> option <span>-></span> <span class="type-var">'a</span> option) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-update"><a href="#val-update" class="anchor"></a><code><span class="keyword">val </span>update : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> f:(<span class="type-var">'a</span> option <span>-></span> <span class="type-var">'a</span>) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-find"><a href="#val-find" class="anchor"></a><code><span class="keyword">val </span>find : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span> option</code></dt><dt class="spec value" id="val-find_exn"><a href="#val-find_exn" class="anchor"></a><code><span class="keyword">val </span>find_exn : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span></code></dt><dt class="spec value" id="val-remove"><a href="#val-remove" class="anchor"></a><code><span class="keyword">val </span>remove : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-mem"><a href="#val-mem" class="anchor"></a><code><span class="keyword">val </span>mem : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> bool</code></dt><dt class="spec value" id="val-iter_keys"><a href="#val-iter_keys" class="anchor"></a><code><span class="keyword">val </span>iter_keys : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<a href="Key/index.html#type-t">Key.t</a> <span>-></span> unit) <span>-></span> unit</code></dt><dt class="spec value" id="val-iter"><a href="#val-iter" class="anchor"></a><code><span class="keyword">val </span>iter : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> unit) <span>-></span> unit</code></dt><dt class="spec value" id="val-iteri"><a href="#val-iteri" class="anchor"></a><code><span class="keyword">val </span>iteri : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> unit) <span>-></span> unit</code></dt><dt class="spec value" id="val-iter2"><a href="#val-iter2" class="anchor"></a><code><span class="keyword">val </span>iter2 : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:[ `Both of <span class="type-var">'a</span><span class="keyword"> * </span><span class="type-var">'b</span><span class="keyword"> | </span>`Left of <span class="type-var">'a</span><span class="keyword"> | </span>`Right of <span class="type-var">'b</span> ] <span>-></span> unit) <span>-></span> unit</code></dt><dt class="spec value" id="val-map"><a href="#val-map" class="anchor"></a><code><span class="keyword">val </span>map : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span>) <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-mapi"><a href="#val-mapi" class="anchor"></a><code><span class="keyword">val </span>mapi : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span>) <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-fold"><a href="#val-fold" class="anchor"></a><code><span class="keyword">val </span>fold : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> init:<span class="type-var">'b</span> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span> <span>-></span> <span class="type-var">'b</span>) <span>-></span> <span class="type-var">'b</span></code></dt><dt class="spec value" id="val-fold_right"><a href="#val-fold_right" class="anchor"></a><code><span class="keyword">val </span>fold_right : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> init:<span class="type-var">'b</span> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span> <span>-></span> <span class="type-var">'b</span>) <span>-></span> <span class="type-var">'b</span></code></dt><dt class="spec value" id="val-fold2"><a href="#val-fold2" class="anchor"></a><code><span class="keyword">val </span>fold2 : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a> <span>-></span> init:<span class="type-var">'c</span> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:[ `Both of <span class="type-var">'a</span><span class="keyword"> * </span><span class="type-var">'b</span><span class="keyword"> | </span>`Left of <span class="type-var">'a</span><span class="keyword"> | </span>`Right of <span class="type-var">'b</span> ] <span>-></span> <span class="type-var">'c</span> <span>-></span> <span class="type-var">'c</span>) <span>-></span> <span class="type-var">'c</span></code></dt><dt class="spec value" id="val-filter_keys"><a href="#val-filter_keys" class="anchor"></a><code><span class="keyword">val </span>filter_keys : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<a href="Key/index.html#type-t">Key.t</a> <span>-></span> bool) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-filter"><a href="#val-filter" class="anchor"></a><code><span class="keyword">val </span>filter : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-filteri"><a href="#val-filteri" class="anchor"></a><code><span class="keyword">val </span>filteri : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-filter_map"><a href="#val-filter_map" class="anchor"></a><code><span class="keyword">val </span>filter_map : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span> option) <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-filter_mapi"><a href="#val-filter_mapi" class="anchor"></a><code><span class="keyword">val </span>filter_mapi : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span> option) <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-partition_mapi"><a href="#val-partition_mapi" class="anchor"></a><code><span class="keyword">val </span>partition_mapi : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> [ `Fst of <span class="type-var">'b</span><span class="keyword"> | </span>`Snd of <span class="type-var">'c</span> ]) <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a><span class="keyword"> * </span><span class="type-var">'c</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-partition_map"><a href="#val-partition_map" class="anchor"></a><code><span class="keyword">val </span>partition_map : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> [ `Fst of <span class="type-var">'b</span><span class="keyword"> | </span>`Snd of <span class="type-var">'c</span> ]) <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a><span class="keyword"> * </span><span class="type-var">'c</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-partitioni_tf"><a href="#val-partitioni_tf" class="anchor"></a><code><span class="keyword">val </span>partitioni_tf : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a><span class="keyword"> * </span><span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-partition_tf"><a href="#val-partition_tf" class="anchor"></a><code><span class="keyword">val </span>partition_tf : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a><span class="keyword"> * </span><span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-compare_direct"><a href="#val-compare_direct" class="anchor"></a><code><span class="keyword">val </span>compare_direct : (<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <span>-></span> int) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> int</code></dt><dt class="spec value" id="val-equal"><a href="#val-equal" class="anchor"></a><code><span class="keyword">val </span>equal : (<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <span>-></span> bool) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> bool</code></dt><dt class="spec value" id="val-keys"><a href="#val-keys" class="anchor"></a><code><span class="keyword">val </span>keys : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> list</code></dt><dt class="spec value" id="val-data"><a href="#val-data" class="anchor"></a><code><span class="keyword">val </span>data : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'a</span> list</code></dt><dt class="spec value" id="val-to_alist"><a href="#val-to_alist" class="anchor"></a><code><span class="keyword">val </span>to_alist : ?⁠key_order:[ `Decreasing<span class="keyword"> | </span>`Increasing ] <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list</code></dt><dt class="spec value" id="val-validate"><a href="#val-validate" class="anchor"></a><code><span class="keyword">val </span>validate : name:(<a href="Key/index.html#type-t">Key.t</a> <span>-></span> string) <span>-></span> <span class="type-var">'a</span> Base__.Validate.check <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> Base__.Validate.check</code></dt><dt class="spec value" id="val-merge"><a href="#val-merge" class="anchor"></a><code><span class="keyword">val </span>merge : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> [ `Both of <span class="type-var">'a</span><span class="keyword"> * </span><span class="type-var">'b</span><span class="keyword"> | </span>`Left of <span class="type-var">'a</span><span class="keyword"> | </span>`Right of <span class="type-var">'b</span> ] <span>-></span> <span class="type-var">'c</span> option) <span>-></span> <span class="type-var">'c</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-symmetric_diff"><a href="#val-symmetric_diff" class="anchor"></a><code><span class="keyword">val </span>symmetric_diff : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> data_equal:(<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <span>-></span> bool) <span>-></span> (<a href="Key/index.html#type-t">Key.t</a>, <span class="type-var">'a</span>) Base__.Map_intf.Symmetric_diff_element.t Base__.Sequence.t</code></dt><dt class="spec value" id="val-min_elt"><a href="#val-min_elt" class="anchor"></a><code><span class="keyword">val </span>min_elt : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) option</code></dt><dt class="spec value" id="val-min_elt_exn"><a href="#val-min_elt_exn" class="anchor"></a><code><span class="keyword">val </span>min_elt_exn : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span></code></dt><dt class="spec value" id="val-max_elt"><a href="#val-max_elt" class="anchor"></a><code><span class="keyword">val </span>max_elt : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) option</code></dt><dt class="spec value" id="val-max_elt_exn"><a href="#val-max_elt_exn" class="anchor"></a><code><span class="keyword">val </span>max_elt_exn : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span></code></dt><dt class="spec value" id="val-for_all"><a href="#val-for_all" class="anchor"></a><code><span class="keyword">val </span>for_all : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> bool</code></dt><dt class="spec value" id="val-for_alli"><a href="#val-for_alli" class="anchor"></a><code><span class="keyword">val </span>for_alli : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> bool</code></dt><dt class="spec value" id="val-exists"><a href="#val-exists" class="anchor"></a><code><span class="keyword">val </span>exists : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> bool</code></dt><dt class="spec value" id="val-existsi"><a href="#val-existsi" class="anchor"></a><code><span class="keyword">val </span>existsi : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> bool</code></dt><dt class="spec value" id="val-count"><a href="#val-count" class="anchor"></a><code><span class="keyword">val </span>count : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> int</code></dt><dt class="spec value" id="val-counti"><a href="#val-counti" class="anchor"></a><code><span class="keyword">val </span>counti : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> int</code></dt><dt class="spec value" id="val-split"><a href="#val-split" class="anchor"></a><code><span class="keyword">val </span>split : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a><span class="keyword"> * </span>(<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) option<span class="keyword"> * </span><span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-append"><a href="#val-append" class="anchor"></a><code><span class="keyword">val </span>append : lower_part:<span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> upper_part:<span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> [ `Ok of <span class="type-var">'a</span> <a href="index.html#type-t">t</a><span class="keyword"> | </span>`Overlapping_key_ranges ]</code></dt><dt class="spec value" id="val-subrange"><a href="#val-subrange" class="anchor"></a><code><span class="keyword">val </span>subrange : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> lower_bound:<a href="Key/index.html#type-t">Key.t</a> Base__.Maybe_bound.t <span>-></span> upper_bound:<a href="Key/index.html#type-t">Key.t</a> Base__.Maybe_bound.t <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-fold_range_inclusive"><a href="#val-fold_range_inclusive" class="anchor"></a><code><span class="keyword">val </span>fold_range_inclusive : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> min:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> max:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> init:<span class="type-var">'b</span> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span> <span>-></span> <span class="type-var">'b</span>) <span>-></span> <span class="type-var">'b</span></code></dt><dt class="spec value" id="val-range_to_alist"><a href="#val-range_to_alist" class="anchor"></a><code><span class="keyword">val </span>range_to_alist : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> min:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> max:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list</code></dt><dt class="spec value" id="val-closest_key"><a href="#val-closest_key" class="anchor"></a><code><span class="keyword">val </span>closest_key : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> [ `Greater_or_equal_to<span class="keyword"> | </span>`Greater_than<span class="keyword"> | </span>`Less_or_equal_to<span class="keyword"> | </span>`Less_than ] <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) option</code></dt><dt class="spec value" id="val-nth"><a href="#val-nth" class="anchor"></a><code><span class="keyword">val </span>nth : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> int <span>-></span> (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) option</code></dt><dt class="spec value" id="val-nth_exn"><a href="#val-nth_exn" class="anchor"></a><code><span class="keyword">val </span>nth_exn : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> int <span>-></span> <a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span></code></dt><dt class="spec value" id="val-rank"><a href="#val-rank" class="anchor"></a><code><span class="keyword">val </span>rank : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> int option</code></dt><dt class="spec value" id="val-to_tree"><a href="#val-to_tree" class="anchor"></a><code><span class="keyword">val </span>to_tree : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'a</span> <a href="Tree/index.html#type-t">Tree.t</a></code></dt><dt class="spec value" id="val-to_sequence"><a href="#val-to_sequence" class="anchor"></a><code><span class="keyword">val </span>to_sequence : ?⁠order:[ `Decreasing_key<span class="keyword"> | </span>`Increasing_key ] <span>-></span> ?⁠keys_greater_or_equal_to:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> ?⁠keys_less_or_equal_to:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) Base__.Sequence.t</code></dt><dt class="spec value" id="val-obs"><a href="#val-obs" class="anchor"></a><code><span class="keyword">val </span>obs : <a href="Key/index.html#type-t">Key.t</a> Core_kernel__.Quickcheck.Observer.t <span>-></span> <span class="type-var">'v</span> Core_kernel__.Quickcheck.Observer.t <span>-></span> <span class="type-var">'v</span> <a href="index.html#type-t">t</a> Core_kernel__.Quickcheck.Observer.t</code></dt><dt class="spec value" id="val-shrinker"><a href="#val-shrinker" class="anchor"></a><code><span class="keyword">val </span>shrinker : <a href="Key/index.html#type-t">Key.t</a> Core_kernel__.Quickcheck.Shrinker.t <span>-></span> <span class="type-var">'v</span> Core_kernel__.Quickcheck.Shrinker.t <span>-></span> <span class="type-var">'v</span> <a href="index.html#type-t">t</a> Core_kernel__.Quickcheck.Shrinker.t</code></dt></dl><div class="spec module" id="module-Provide_of_sexp"><a href="#module-Provide_of_sexp" class="anchor"></a><code><span class="keyword">module </span><a href="Provide_of_sexp/index.html">Provide_of_sexp</a> : <span class="keyword">functor</span> (<a href="Provide_of_sexp/argument-1-Key/index.html">Key</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span>) <span>-></span> <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="spec module" id="module-Provide_bin_io"><a href="#module-Provide_bin_io" class="anchor"></a><code><span class="keyword">module </span><a href="Provide_bin_io/index.html">Provide_bin_io</a> : <span class="keyword">functor</span> (<a href="Provide_bin_io/argument-1-Key/index.html">Key</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span>) <span>-></span> <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="spec module" id="module-Provide_hash"><a href="#module-Provide_hash" class="anchor"></a><code><span class="keyword">module </span><a href="Provide_hash/index.html">Provide_hash</a> : <span class="keyword">functor</span> (<a href="Provide_hash/argument-1-Key/index.html">Key</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span>) <span>-></span> <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><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 : (Base__.Ppx_sexp_conv_lib.Sexp.t <span>-></span> <span class="type-var">'a</span>) <span>-></span> Base__.Ppx_sexp_conv_lib.Sexp.t <span>-></span> <span class="type-var">'a</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 : (<span class="type-var">'a</span> <span>-></span> Base__.Ppx_sexp_conv_lib.Sexp.t) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> Base__.Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>RouteMap (disml.Disml__Rl.RouteMap)</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__Rl</a> » RouteMap</nav><h1>Module <code>Disml__Rl.RouteMap</code></h1><p>Type for mapping route -> <a href="../index.html#type-rl"><code>rl</code></a>.</p></header><div class="spec module" id="module-Key"><a href="#module-Key" class="anchor"></a><code><span class="keyword">module </span><a href="Key/index.html">Key</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="spec module" id="module-Tree"><a href="#module-Tree" class="anchor"></a><code><span class="keyword">module </span><a href="Tree/index.html">Tree</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>'a t</code><code><span class="keyword"> = </span>(<a href="Key/index.html#type-t">Key.t</a>, <span class="type-var">'a</span>, <a href="Key/index.html#type-comparator_witness">Key.comparator_witness</a>) Core_kernel__.Map_intf.Map.t</code></dt></dl><dl><dt class="spec value" id="val-compare"><a href="#val-compare" class="anchor"></a><code><span class="keyword">val </span>compare : (<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <span>-></span> Core_kernel__.Import.int) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> Core_kernel__.Import.int</code></dt><dt class="spec value" id="val-empty"><a href="#val-empty" class="anchor"></a><code><span class="keyword">val </span>empty : <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-singleton"><a href="#val-singleton" class="anchor"></a><code><span class="keyword">val </span>singleton : <a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_alist"><a href="#val-of_alist" class="anchor"></a><code><span class="keyword">val </span>of_alist : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list <span>-></span> [ `Duplicate_key of <a href="Key/index.html#type-t">Key.t</a><span class="keyword"> | </span>`Ok of <span class="type-var">'a</span> <a href="index.html#type-t">t</a> ]</code></dt><dt class="spec value" id="val-of_alist_or_error"><a href="#val-of_alist_or_error" class="anchor"></a><code><span class="keyword">val </span>of_alist_or_error : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> Base__.Or_error.t</code></dt><dt class="spec value" id="val-of_alist_exn"><a href="#val-of_alist_exn" class="anchor"></a><code><span class="keyword">val </span>of_alist_exn : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_alist_multi"><a href="#val-of_alist_multi" class="anchor"></a><code><span class="keyword">val </span>of_alist_multi : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list <span>-></span> <span class="type-var">'a</span> list <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_alist_fold"><a href="#val-of_alist_fold" class="anchor"></a><code><span class="keyword">val </span>of_alist_fold : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list <span>-></span> init:<span class="type-var">'b</span> <span>-></span> f:(<span class="type-var">'b</span> <span>-></span> <span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span>) <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_alist_reduce"><a href="#val-of_alist_reduce" class="anchor"></a><code><span class="keyword">val </span>of_alist_reduce : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span>) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_sorted_array"><a href="#val-of_sorted_array" class="anchor"></a><code><span class="keyword">val </span>of_sorted_array : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) array <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> Base__.Or_error.t</code></dt><dt class="spec value" id="val-of_sorted_array_unchecked"><a href="#val-of_sorted_array_unchecked" class="anchor"></a><code><span class="keyword">val </span>of_sorted_array_unchecked : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) array <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_increasing_iterator_unchecked"><a href="#val-of_increasing_iterator_unchecked" class="anchor"></a><code><span class="keyword">val </span>of_increasing_iterator_unchecked : len:int <span>-></span> f:(int <span>-></span> <a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_increasing_sequence"><a href="#val-of_increasing_sequence" class="anchor"></a><code><span class="keyword">val </span>of_increasing_sequence : (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) Base__.Sequence.t <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> Base__.Or_error.t</code></dt><dt class="spec value" id="val-of_iteri"><a href="#val-of_iteri" class="anchor"></a><code><span class="keyword">val </span>of_iteri : iteri:(f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'v</span> <span>-></span> unit) <span>-></span> unit) <span>-></span> [ `Duplicate_key of <a href="Key/index.html#type-t">Key.t</a><span class="keyword"> | </span>`Ok of <span class="type-var">'v</span> <a href="index.html#type-t">t</a> ]</code></dt><dt class="spec value" id="val-of_tree"><a href="#val-of_tree" class="anchor"></a><code><span class="keyword">val </span>of_tree : <span class="type-var">'a</span> <a href="Tree/index.html#type-t">Tree.t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_hashtbl_exn"><a href="#val-of_hashtbl_exn" class="anchor"></a><code><span class="keyword">val </span>of_hashtbl_exn : (<a href="Key/index.html#type-t">Key.t</a>, <span class="type-var">'a</span>) Core_kernel__.Hashtbl.t <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-gen"><a href="#val-gen" class="anchor"></a><code><span class="keyword">val </span>gen : <a href="Key/index.html#type-t">Key.t</a> Core_kernel__.Quickcheck.Generator.t <span>-></span> <span class="type-var">'a</span> Core_kernel__.Quickcheck.Generator.t <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> Core_kernel__.Quickcheck.Generator.t</code></dt><dt class="spec value" id="val-invariants"><a href="#val-invariants" class="anchor"></a><code><span class="keyword">val </span>invariants : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> bool</code></dt><dt class="spec value" id="val-is_empty"><a href="#val-is_empty" class="anchor"></a><code><span class="keyword">val </span>is_empty : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> bool</code></dt><dt class="spec value" id="val-length"><a href="#val-length" class="anchor"></a><code><span class="keyword">val </span>length : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> int</code></dt><dt class="spec value" id="val-add"><a href="#val-add" class="anchor"></a><code><span class="keyword">val </span>add : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> Base__.Map_intf.Or_duplicate.t</code></dt><dt class="spec value" id="val-add_exn"><a href="#val-add_exn" class="anchor"></a><code><span class="keyword">val </span>add_exn : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-set"><a href="#val-set" class="anchor"></a><code><span class="keyword">val </span>set : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-add_multi"><a href="#val-add_multi" class="anchor"></a><code><span class="keyword">val </span>add_multi : <span class="type-var">'a</span> list <a href="index.html#type-t">t</a> <span>-></span> key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> list <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-remove_multi"><a href="#val-remove_multi" class="anchor"></a><code><span class="keyword">val </span>remove_multi : <span class="type-var">'a</span> list <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span> list <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-find_multi"><a href="#val-find_multi" class="anchor"></a><code><span class="keyword">val </span>find_multi : <span class="type-var">'a</span> list <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span> list</code></dt><dt class="spec value" id="val-change"><a href="#val-change" class="anchor"></a><code><span class="keyword">val </span>change : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> f:(<span class="type-var">'a</span> option <span>-></span> <span class="type-var">'a</span> option) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-update"><a href="#val-update" class="anchor"></a><code><span class="keyword">val </span>update : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> f:(<span class="type-var">'a</span> option <span>-></span> <span class="type-var">'a</span>) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-find"><a href="#val-find" class="anchor"></a><code><span class="keyword">val </span>find : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span> option</code></dt><dt class="spec value" id="val-find_exn"><a href="#val-find_exn" class="anchor"></a><code><span class="keyword">val </span>find_exn : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span></code></dt><dt class="spec value" id="val-remove"><a href="#val-remove" class="anchor"></a><code><span class="keyword">val </span>remove : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-mem"><a href="#val-mem" class="anchor"></a><code><span class="keyword">val </span>mem : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> bool</code></dt><dt class="spec value" id="val-iter_keys"><a href="#val-iter_keys" class="anchor"></a><code><span class="keyword">val </span>iter_keys : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<a href="Key/index.html#type-t">Key.t</a> <span>-></span> unit) <span>-></span> unit</code></dt><dt class="spec value" id="val-iter"><a href="#val-iter" class="anchor"></a><code><span class="keyword">val </span>iter : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> unit) <span>-></span> unit</code></dt><dt class="spec value" id="val-iteri"><a href="#val-iteri" class="anchor"></a><code><span class="keyword">val </span>iteri : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> unit) <span>-></span> unit</code></dt><dt class="spec value" id="val-iter2"><a href="#val-iter2" class="anchor"></a><code><span class="keyword">val </span>iter2 : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:[ `Both of <span class="type-var">'a</span><span class="keyword"> * </span><span class="type-var">'b</span><span class="keyword"> | </span>`Left of <span class="type-var">'a</span><span class="keyword"> | </span>`Right of <span class="type-var">'b</span> ] <span>-></span> unit) <span>-></span> unit</code></dt><dt class="spec value" id="val-map"><a href="#val-map" class="anchor"></a><code><span class="keyword">val </span>map : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span>) <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-mapi"><a href="#val-mapi" class="anchor"></a><code><span class="keyword">val </span>mapi : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span>) <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-fold"><a href="#val-fold" class="anchor"></a><code><span class="keyword">val </span>fold : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> init:<span class="type-var">'b</span> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span> <span>-></span> <span class="type-var">'b</span>) <span>-></span> <span class="type-var">'b</span></code></dt><dt class="spec value" id="val-fold_right"><a href="#val-fold_right" class="anchor"></a><code><span class="keyword">val </span>fold_right : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> init:<span class="type-var">'b</span> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span> <span>-></span> <span class="type-var">'b</span>) <span>-></span> <span class="type-var">'b</span></code></dt><dt class="spec value" id="val-fold2"><a href="#val-fold2" class="anchor"></a><code><span class="keyword">val </span>fold2 : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a> <span>-></span> init:<span class="type-var">'c</span> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:[ `Both of <span class="type-var">'a</span><span class="keyword"> * </span><span class="type-var">'b</span><span class="keyword"> | </span>`Left of <span class="type-var">'a</span><span class="keyword"> | </span>`Right of <span class="type-var">'b</span> ] <span>-></span> <span class="type-var">'c</span> <span>-></span> <span class="type-var">'c</span>) <span>-></span> <span class="type-var">'c</span></code></dt><dt class="spec value" id="val-filter_keys"><a href="#val-filter_keys" class="anchor"></a><code><span class="keyword">val </span>filter_keys : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<a href="Key/index.html#type-t">Key.t</a> <span>-></span> bool) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-filter"><a href="#val-filter" class="anchor"></a><code><span class="keyword">val </span>filter : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-filteri"><a href="#val-filteri" class="anchor"></a><code><span class="keyword">val </span>filteri : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-filter_map"><a href="#val-filter_map" class="anchor"></a><code><span class="keyword">val </span>filter_map : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span> option) <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-filter_mapi"><a href="#val-filter_mapi" class="anchor"></a><code><span class="keyword">val </span>filter_mapi : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span> option) <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-partition_mapi"><a href="#val-partition_mapi" class="anchor"></a><code><span class="keyword">val </span>partition_mapi : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> [ `Fst of <span class="type-var">'b</span><span class="keyword"> | </span>`Snd of <span class="type-var">'c</span> ]) <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a><span class="keyword"> * </span><span class="type-var">'c</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-partition_map"><a href="#val-partition_map" class="anchor"></a><code><span class="keyword">val </span>partition_map : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> [ `Fst of <span class="type-var">'b</span><span class="keyword"> | </span>`Snd of <span class="type-var">'c</span> ]) <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a><span class="keyword"> * </span><span class="type-var">'c</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-partitioni_tf"><a href="#val-partitioni_tf" class="anchor"></a><code><span class="keyword">val </span>partitioni_tf : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a><span class="keyword"> * </span><span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-partition_tf"><a href="#val-partition_tf" class="anchor"></a><code><span class="keyword">val </span>partition_tf : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a><span class="keyword"> * </span><span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-compare_direct"><a href="#val-compare_direct" class="anchor"></a><code><span class="keyword">val </span>compare_direct : (<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <span>-></span> int) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> int</code></dt><dt class="spec value" id="val-equal"><a href="#val-equal" class="anchor"></a><code><span class="keyword">val </span>equal : (<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <span>-></span> bool) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> bool</code></dt><dt class="spec value" id="val-keys"><a href="#val-keys" class="anchor"></a><code><span class="keyword">val </span>keys : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> list</code></dt><dt class="spec value" id="val-data"><a href="#val-data" class="anchor"></a><code><span class="keyword">val </span>data : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'a</span> list</code></dt><dt class="spec value" id="val-to_alist"><a href="#val-to_alist" class="anchor"></a><code><span class="keyword">val </span>to_alist : ?⁠key_order:[ `Decreasing<span class="keyword"> | </span>`Increasing ] <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list</code></dt><dt class="spec value" id="val-validate"><a href="#val-validate" class="anchor"></a><code><span class="keyword">val </span>validate : name:(<a href="Key/index.html#type-t">Key.t</a> <span>-></span> string) <span>-></span> <span class="type-var">'a</span> Base__.Validate.check <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> Base__.Validate.check</code></dt><dt class="spec value" id="val-merge"><a href="#val-merge" class="anchor"></a><code><span class="keyword">val </span>merge : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'b</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> [ `Both of <span class="type-var">'a</span><span class="keyword"> * </span><span class="type-var">'b</span><span class="keyword"> | </span>`Left of <span class="type-var">'a</span><span class="keyword"> | </span>`Right of <span class="type-var">'b</span> ] <span>-></span> <span class="type-var">'c</span> option) <span>-></span> <span class="type-var">'c</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-symmetric_diff"><a href="#val-symmetric_diff" class="anchor"></a><code><span class="keyword">val </span>symmetric_diff : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> data_equal:(<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <span>-></span> bool) <span>-></span> (<a href="Key/index.html#type-t">Key.t</a>, <span class="type-var">'a</span>) Base__.Map_intf.Symmetric_diff_element.t Base__.Sequence.t</code></dt><dt class="spec value" id="val-min_elt"><a href="#val-min_elt" class="anchor"></a><code><span class="keyword">val </span>min_elt : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) option</code></dt><dt class="spec value" id="val-min_elt_exn"><a href="#val-min_elt_exn" class="anchor"></a><code><span class="keyword">val </span>min_elt_exn : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span></code></dt><dt class="spec value" id="val-max_elt"><a href="#val-max_elt" class="anchor"></a><code><span class="keyword">val </span>max_elt : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) option</code></dt><dt class="spec value" id="val-max_elt_exn"><a href="#val-max_elt_exn" class="anchor"></a><code><span class="keyword">val </span>max_elt_exn : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span></code></dt><dt class="spec value" id="val-for_all"><a href="#val-for_all" class="anchor"></a><code><span class="keyword">val </span>for_all : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> bool</code></dt><dt class="spec value" id="val-for_alli"><a href="#val-for_alli" class="anchor"></a><code><span class="keyword">val </span>for_alli : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> bool</code></dt><dt class="spec value" id="val-exists"><a href="#val-exists" class="anchor"></a><code><span class="keyword">val </span>exists : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> bool</code></dt><dt class="spec value" id="val-existsi"><a href="#val-existsi" class="anchor"></a><code><span class="keyword">val </span>existsi : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> bool</code></dt><dt class="spec value" id="val-count"><a href="#val-count" class="anchor"></a><code><span class="keyword">val </span>count : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> int</code></dt><dt class="spec value" id="val-counti"><a href="#val-counti" class="anchor"></a><code><span class="keyword">val </span>counti : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> bool) <span>-></span> int</code></dt><dt class="spec value" id="val-split"><a href="#val-split" class="anchor"></a><code><span class="keyword">val </span>split : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a><span class="keyword"> * </span>(<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) option<span class="keyword"> * </span><span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-append"><a href="#val-append" class="anchor"></a><code><span class="keyword">val </span>append : lower_part:<span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> upper_part:<span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> [ `Ok of <span class="type-var">'a</span> <a href="index.html#type-t">t</a><span class="keyword"> | </span>`Overlapping_key_ranges ]</code></dt><dt class="spec value" id="val-subrange"><a href="#val-subrange" class="anchor"></a><code><span class="keyword">val </span>subrange : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> lower_bound:<a href="Key/index.html#type-t">Key.t</a> Base__.Maybe_bound.t <span>-></span> upper_bound:<a href="Key/index.html#type-t">Key.t</a> Base__.Maybe_bound.t <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-fold_range_inclusive"><a href="#val-fold_range_inclusive" class="anchor"></a><code><span class="keyword">val </span>fold_range_inclusive : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> min:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> max:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> init:<span class="type-var">'b</span> <span>-></span> f:(key:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> data:<span class="type-var">'a</span> <span>-></span> <span class="type-var">'b</span> <span>-></span> <span class="type-var">'b</span>) <span>-></span> <span class="type-var">'b</span></code></dt><dt class="spec value" id="val-range_to_alist"><a href="#val-range_to_alist" class="anchor"></a><code><span class="keyword">val </span>range_to_alist : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> min:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> max:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) list</code></dt><dt class="spec value" id="val-closest_key"><a href="#val-closest_key" class="anchor"></a><code><span class="keyword">val </span>closest_key : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> [ `Greater_or_equal_to<span class="keyword"> | </span>`Greater_than<span class="keyword"> | </span>`Less_or_equal_to<span class="keyword"> | </span>`Less_than ] <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) option</code></dt><dt class="spec value" id="val-nth"><a href="#val-nth" class="anchor"></a><code><span class="keyword">val </span>nth : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> int <span>-></span> (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) option</code></dt><dt class="spec value" id="val-nth_exn"><a href="#val-nth_exn" class="anchor"></a><code><span class="keyword">val </span>nth_exn : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> int <span>-></span> <a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span></code></dt><dt class="spec value" id="val-rank"><a href="#val-rank" class="anchor"></a><code><span class="keyword">val </span>rank : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Key/index.html#type-t">Key.t</a> <span>-></span> int option</code></dt><dt class="spec value" id="val-to_tree"><a href="#val-to_tree" class="anchor"></a><code><span class="keyword">val </span>to_tree : <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> <span class="type-var">'a</span> <a href="Tree/index.html#type-t">Tree.t</a></code></dt><dt class="spec value" id="val-to_sequence"><a href="#val-to_sequence" class="anchor"></a><code><span class="keyword">val </span>to_sequence : ?⁠order:[ `Decreasing_key<span class="keyword"> | </span>`Increasing_key ] <span>-></span> ?⁠keys_greater_or_equal_to:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> ?⁠keys_less_or_equal_to:<a href="Key/index.html#type-t">Key.t</a> <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> (<a href="Key/index.html#type-t">Key.t</a><span class="keyword"> * </span><span class="type-var">'a</span>) Base__.Sequence.t</code></dt><dt class="spec value" id="val-obs"><a href="#val-obs" class="anchor"></a><code><span class="keyword">val </span>obs : <a href="Key/index.html#type-t">Key.t</a> Core_kernel__.Quickcheck.Observer.t <span>-></span> <span class="type-var">'v</span> Core_kernel__.Quickcheck.Observer.t <span>-></span> <span class="type-var">'v</span> <a href="index.html#type-t">t</a> Core_kernel__.Quickcheck.Observer.t</code></dt><dt class="spec value" id="val-shrinker"><a href="#val-shrinker" class="anchor"></a><code><span class="keyword">val </span>shrinker : <a href="Key/index.html#type-t">Key.t</a> Core_kernel__.Quickcheck.Shrinker.t <span>-></span> <span class="type-var">'v</span> Core_kernel__.Quickcheck.Shrinker.t <span>-></span> <span class="type-var">'v</span> <a href="index.html#type-t">t</a> Core_kernel__.Quickcheck.Shrinker.t</code></dt></dl><div class="spec module" id="module-Provide_of_sexp"><a href="#module-Provide_of_sexp" class="anchor"></a><code><span class="keyword">module </span><a href="Provide_of_sexp/index.html">Provide_of_sexp</a> : <span class="keyword">functor</span> (<a href="Provide_of_sexp/argument-1-Key/index.html">Key</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span>) <span>-></span> <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="spec module" id="module-Provide_bin_io"><a href="#module-Provide_bin_io" class="anchor"></a><code><span class="keyword">module </span><a href="Provide_bin_io/index.html">Provide_bin_io</a> : <span class="keyword">functor</span> (<a href="Provide_bin_io/argument-1-Key/index.html">Key</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span>) <span>-></span> <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="spec module" id="module-Provide_hash"><a href="#module-Provide_hash" class="anchor"></a><code><span class="keyword">module </span><a href="Provide_hash/index.html">Provide_hash</a> : <span class="keyword">functor</span> (<a href="Provide_hash/argument-1-Key/index.html">Key</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span>) <span>-></span> <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><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 : (Base__.Ppx_sexp_conv_lib.Sexp.t <span>-></span> <span class="type-var">'a</span>) <span>-></span> Base__.Ppx_sexp_conv_lib.Sexp.t <span>-></span> <span class="type-var">'a</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 : (<span class="type-var">'a</span> <span>-></span> Base__.Ppx_sexp_conv_lib.Sexp.t) <span>-></span> <span class="type-var">'a</span> <a href="index.html#type-t">t</a> <span>-></span> Base__.Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Rl/index.html b/docs/disml/Disml__Rl/index.html index 98046ce..6a192fb 100644 --- a/docs/disml/Disml__Rl/index.html +++ b/docs/disml/Disml__Rl/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Rl (disml.Disml__Rl)</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> » Disml__Rl</nav><h1>Module <code>Disml__Rl</code></h1></header><div class="spec module" id="module-RouteMap"><a href="#module-RouteMap" class="anchor"></a><code><span class="keyword">module </span><a href="RouteMap/index.html">RouteMap</a> : <span class="keyword">module type of </span><span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><dl><dt class="spec type" id="type-rl"><a href="#type-rl" class="anchor"></a><code><span class="keyword">type </span>rl</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-rl.limit" class="anchored"><td class="def field"><a href="#type-rl.limit" class="anchor"></a><code>limit : int;</code></td></tr><tr id="type-rl.remaining" class="anchored"><td class="def field"><a href="#type-rl.remaining" class="anchor"></a><code>remaining : int;</code></td></tr><tr id="type-rl.reset" class="anchored"><td class="def field"><a href="#type-rl.reset" class="anchor"></a><code>reset : int;</code></td></tr></table><code>}</code></dt><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>(<a href="index.html#type-rl">rl</a>, Core.read_write) Async.Mvar.t <a href="RouteMap/index.html#type-t">RouteMap.t</a></code></dt></dl><dl><dt class="spec value" id="val-rl_of_header"><a href="#val-rl_of_header" class="anchor"></a><code><span class="keyword">val </span>rl_of_header : Cohttp.Header.t <span>-></span> <a href="index.html#type-rl">rl</a> option</code></dt><dt class="spec value" id="val-default"><a href="#val-default" class="anchor"></a><code><span class="keyword">val </span>default : <a href="index.html#type-rl">rl</a></code></dt><dt class="spec value" id="val-empty"><a href="#val-empty" class="anchor"></a><code><span class="keyword">val </span>empty : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-update"><a href="#val-update" class="anchor"></a><code><span class="keyword">val </span>update : <span class="type-var">'a</span> <a href="RouteMap/index.html#type-t">RouteMap.t</a> <span>-></span> string <span>-></span> f:(<span class="type-var">'a</span> option <span>-></span> <span class="type-var">'a</span>) <span>-></span> <span class="type-var">'a</span> <a href="RouteMap/index.html#type-t">RouteMap.t</a></code></dt><dt class="spec value" id="val-find"><a href="#val-find" class="anchor"></a><code><span class="keyword">val </span>find : <span class="type-var">'a</span> <a href="RouteMap/index.html#type-t">RouteMap.t</a> <span>-></span> string <span>-></span> <span class="type-var">'a</span> option</code></dt><dt class="spec value" id="val-find_exn"><a href="#val-find_exn" class="anchor"></a><code><span class="keyword">val </span>find_exn : <span class="type-var">'a</span> <a href="RouteMap/index.html#type-t">RouteMap.t</a> <span>-></span> string <span>-></span> <span class="type-var">'a</span></code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Rl (disml.Disml__Rl)</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> » Disml__Rl</nav><h1>Module <code>Disml__Rl</code></h1><p>Internal ratelimit route mapping.</p></header><dl><dt class="spec module" id="module-RouteMap"><a href="#module-RouteMap" class="anchor"></a><code><span class="keyword">module </span><a href="RouteMap/index.html">RouteMap</a> : <span class="keyword">module type of </span><span class="keyword">sig</span> ... <span class="keyword">end</span></code></dt><dd><p>Type for mapping route -> <a href="index.html#type-rl"><code>rl</code></a>.</p></dd></dl><dl><dt class="spec type" id="type-rl"><a href="#type-rl" class="anchor"></a><code><span class="keyword">type </span>rl</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-rl.limit" class="anchored"><td class="def field"><a href="#type-rl.limit" class="anchor"></a><code>limit : int;</code></td></tr><tr id="type-rl.remaining" class="anchored"><td class="def field"><a href="#type-rl.remaining" class="anchor"></a><code>remaining : int;</code></td></tr><tr id="type-rl.reset" class="anchored"><td class="def field"><a href="#type-rl.reset" class="anchor"></a><code>reset : int;</code></td></tr></table><code>}</code></dt><dd><p>Type representing ratelimit information.</p></dd></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>(<a href="index.html#type-rl">rl</a>, Core.read_write) Async.Mvar.t <a href="RouteMap/index.html#type-t">RouteMap.t</a></code></dt><dd><p>Type representing the specific case of <a href="RouteMap/index.html"><code>RouteMap</code></a>.</p></dd></dl><dl><dt class="spec value" id="val-rl_of_header"><a href="#val-rl_of_header" class="anchor"></a><code><span class="keyword">val </span>rl_of_header : Cohttp.Header.t <span>-></span> <a href="index.html#type-rl">rl</a> option</code></dt><dd><p>Converts Cohttp header data into ratelimit information.</p><dl><dt>returns</dt><dd><p>Some of ratelimit information or None on bad headers</p></dd></dl></dd></dl><dl><dt class="spec value" id="val-default"><a href="#val-default" class="anchor"></a><code><span class="keyword">val </span>default : <a href="index.html#type-rl">rl</a></code></dt><dd><p>Default for type rl. Used for prepopulating routes.</p></dd></dl><dl><dt class="spec value" id="val-empty"><a href="#val-empty" class="anchor"></a><code><span class="keyword">val </span>empty : <a href="index.html#type-t">t</a></code></dt><dd><p>Empty ratelimit route map.</p></dd></dl><dl><dt class="spec value" id="val-update"><a href="#val-update" class="anchor"></a><code><span class="keyword">val </span>update : <span class="type-var">'a</span> <a href="RouteMap/index.html#type-t">RouteMap.t</a> <span>-></span> string <span>-></span> f:(<span class="type-var">'a</span> option <span>-></span> <span class="type-var">'a</span>) <span>-></span> <span class="type-var">'a</span> <a href="RouteMap/index.html#type-t">RouteMap.t</a></code></dt><dd><p>Analogous to <a href="RouteMap/index.html#val-update"><code>RouteMap.update</code></a>.</p></dd></dl><dl><dt class="spec value" id="val-find"><a href="#val-find" class="anchor"></a><code><span class="keyword">val </span>find : <span class="type-var">'a</span> <a href="RouteMap/index.html#type-t">RouteMap.t</a> <span>-></span> string <span>-></span> <span class="type-var">'a</span> option</code></dt><dd><p>Analogous to <a href="RouteMap/index.html#val-find"><code>RouteMap.find</code></a>.</p></dd></dl><dl><dt class="spec value" id="val-find_exn"><a href="#val-find_exn" class="anchor"></a><code><span class="keyword">val </span>find_exn : <span class="type-var">'a</span> <a href="RouteMap/index.html#type-t">RouteMap.t</a> <span>-></span> string <span>-></span> <span class="type-var">'a</span></code></dt><dd><p>Analogous to <a href="RouteMap/index.html#val-find_exn"><code>RouteMap.find_exn</code></a>.</p></dd></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Role/index.html b/docs/disml/Disml__Role/index.html index 1847366..3a02aac 100644 --- a/docs/disml/Disml__Role/index.html +++ b/docs/disml/Disml__Role/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Role (disml.Disml__Role)</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> » Disml__Role</nav><h1>Module <code>Disml__Role</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="../Disml/index.html#module-Role_t">Disml.Role_t</a></code></span></summary><aside></aside><dl><dt class="spec type" id="type-role"><a href="#type-role" class="anchor"></a><code><span class="keyword">type </span>role</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-role.id" class="anchored"><td class="def field"><a href="#type-role.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-role.name" class="anchored"><td class="def field"><a href="#type-role.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-role.colour" class="anchored"><td class="def field"><a href="#type-role.colour" class="anchor"></a><code>colour : int;</code></td></tr><tr id="type-role.hoist" class="anchored"><td class="def field"><a href="#type-role.hoist" class="anchor"></a><code>hoist : bool;</code></td></tr><tr id="type-role.position" class="anchored"><td class="def field"><a href="#type-role.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-role.permissions" class="anchored"><td class="def field"><a href="#type-role.permissions" class="anchor"></a><code>permissions : int;</code></td></tr><tr id="type-role.managed" class="anchored"><td class="def field"><a href="#type-role.managed" class="anchor"></a><code>managed : bool;</code></td></tr><tr id="type-role.mentionable" class="anchored"><td class="def field"><a href="#type-role.mentionable" class="anchor"></a><code>mentionable : bool;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-role_of_sexp"><a href="#val-role_of_sexp" class="anchor"></a><code><span class="keyword">val </span>role_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-role">role</a></code></dt><dt class="spec value" id="val-sexp_of_role"><a href="#val-sexp_of_role" class="anchor"></a><code><span class="keyword">val </span>sexp_of_role : <a href="index.html#type-role">role</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-role_to_yojson"><a href="#val-role_to_yojson" class="anchor"></a><code><span class="keyword">val </span>role_to_yojson : <a href="index.html#type-role">role</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-role_of_yojson"><a href="#val-role_of_yojson" class="anchor"></a><code><span class="keyword">val </span>role_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-role">role</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-role">role</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-role">role</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-role_of_yojson_exn"><a href="#val-role_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>role_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-role">role</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-role">role</a></code></dt></dl><dl><dt class="spec type" id="type-role_update"><a href="#type-role_update" class="anchor"></a><code><span class="keyword">type </span>role_update</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-role_update.role" class="anchored"><td class="def field"><a href="#type-role_update.role" class="anchor"></a><code>role : <a href="index.html#type-role">role</a>;</code></td></tr><tr id="type-role_update.guild_id" class="anchored"><td class="def field"><a href="#type-role_update.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-role_update_of_sexp"><a href="#val-role_update_of_sexp" class="anchor"></a><code><span class="keyword">val </span>role_update_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-role_update">role_update</a></code></dt><dt class="spec value" id="val-sexp_of_role_update"><a href="#val-sexp_of_role_update" class="anchor"></a><code><span class="keyword">val </span>sexp_of_role_update : <a href="index.html#type-role_update">role_update</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-role_update_to_yojson"><a href="#val-role_update_to_yojson" class="anchor"></a><code><span class="keyword">val </span>role_update_to_yojson : <a href="index.html#type-role_update">role_update</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-role_update_of_yojson"><a href="#val-role_update_of_yojson" class="anchor"></a><code><span class="keyword">val </span>role_update_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-role_update">role_update</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-role_update">role_update</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-role_update">role_update</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-role_update_of_yojson_exn"><a href="#val-role_update_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>role_update_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-role_update">role_update</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-role_update">role_update</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="../Disml/Snowflake/index.html#type-t">Disml.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.colour" class="anchored"><td class="def field"><a href="#type-t.colour" class="anchor"></a><code>colour : int;</code></td></tr><tr id="type-t.hoist" class="anchored"><td class="def field"><a href="#type-t.hoist" class="anchor"></a><code>hoist : bool;</code></td></tr><tr id="type-t.position" class="anchored"><td class="def field"><a href="#type-t.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-t.permissions" class="anchored"><td class="def field"><a href="#type-t.permissions" class="anchor"></a><code>permissions : int;</code></td></tr><tr id="type-t.managed" class="anchored"><td class="def field"><a href="#type-t.managed" class="anchor"></a><code>managed : bool;</code></td></tr><tr id="type-t.mentionable" class="anchored"><td class="def field"><a href="#type-t.mentionable" class="anchor"></a><code>mentionable : bool;</code></td></tr><tr id="type-t.guild_id" class="anchored"><td class="def field"><a href="#type-t.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</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 : guild_id:<a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> <a href="index.html#type-role">role</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-allow_mention"><a href="#val-allow_mention" class="anchor"></a><code><span class="keyword">val </span>allow_mention : <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-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> Yojson.Safe.json Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-disallow_mention"><a href="#val-disallow_mention" class="anchor"></a><code><span class="keyword">val </span>disallow_mention : <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-hoist"><a href="#val-hoist" class="anchor"></a><code><span class="keyword">val </span>hoist : <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-set_colour"><a href="#val-set_colour" class="anchor"></a><code><span class="keyword">val </span>set_colour : colour:int <span>-></span> <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-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> Yojson.Safe.json Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-unhoist"><a href="#val-unhoist" class="anchor"></a><code><span class="keyword">val </span>unhoist : <a href="index.html#type-t">t</a> <span>-></span> Yojson.Safe.json Async.Deferred.Or_error.t</code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Role (disml.Disml__Role)</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> » Disml__Role</nav><h1>Module <code>Disml__Role</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="../Disml/index.html#module-Role_t">Disml.Role_t</a></code></span></summary><aside></aside><dl><dt class="spec type" id="type-role"><a href="#type-role" class="anchor"></a><code><span class="keyword">type </span>role</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-role.id" class="anchored"><td class="def field"><a href="#type-role.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-role.name" class="anchored"><td class="def field"><a href="#type-role.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-role.colour" class="anchored"><td class="def field"><a href="#type-role.colour" class="anchor"></a><code>colour : int;</code></td></tr><tr id="type-role.hoist" class="anchored"><td class="def field"><a href="#type-role.hoist" class="anchor"></a><code>hoist : bool;</code></td></tr><tr id="type-role.position" class="anchored"><td class="def field"><a href="#type-role.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-role.permissions" class="anchored"><td class="def field"><a href="#type-role.permissions" class="anchor"></a><code>permissions : int;</code></td></tr><tr id="type-role.managed" class="anchored"><td class="def field"><a href="#type-role.managed" class="anchor"></a><code>managed : bool;</code></td></tr><tr id="type-role.mentionable" class="anchored"><td class="def field"><a href="#type-role.mentionable" class="anchor"></a><code>mentionable : bool;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-role_of_sexp"><a href="#val-role_of_sexp" class="anchor"></a><code><span class="keyword">val </span>role_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-role">role</a></code></dt><dt class="spec value" id="val-sexp_of_role"><a href="#val-sexp_of_role" class="anchor"></a><code><span class="keyword">val </span>sexp_of_role : <a href="index.html#type-role">role</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-role_to_yojson"><a href="#val-role_to_yojson" class="anchor"></a><code><span class="keyword">val </span>role_to_yojson : <a href="index.html#type-role">role</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-role_of_yojson"><a href="#val-role_of_yojson" class="anchor"></a><code><span class="keyword">val </span>role_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-role">role</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-role_of_yojson_exn"><a href="#val-role_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>role_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-role">role</a></code></dt></dl><dl><dt class="spec type" id="type-role_update"><a href="#type-role_update" class="anchor"></a><code><span class="keyword">type </span>role_update</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-role_update.role" class="anchored"><td class="def field"><a href="#type-role_update.role" class="anchor"></a><code>role : <a href="index.html#type-role">role</a>;</code></td></tr><tr id="type-role_update.guild_id" class="anchored"><td class="def field"><a href="#type-role_update.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-role_update_of_sexp"><a href="#val-role_update_of_sexp" class="anchor"></a><code><span class="keyword">val </span>role_update_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-role_update">role_update</a></code></dt><dt class="spec value" id="val-sexp_of_role_update"><a href="#val-sexp_of_role_update" class="anchor"></a><code><span class="keyword">val </span>sexp_of_role_update : <a href="index.html#type-role_update">role_update</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-role_update_to_yojson"><a href="#val-role_update_to_yojson" class="anchor"></a><code><span class="keyword">val </span>role_update_to_yojson : <a href="index.html#type-role_update">role_update</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-role_update_of_yojson"><a href="#val-role_update_of_yojson" class="anchor"></a><code><span class="keyword">val </span>role_update_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-role_update">role_update</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-role_update_of_yojson_exn"><a href="#val-role_update_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>role_update_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-role_update">role_update</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="../Disml/Snowflake/index.html#type-t">Disml.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.colour" class="anchored"><td class="def field"><a href="#type-t.colour" class="anchor"></a><code>colour : int;</code></td></tr><tr id="type-t.hoist" class="anchored"><td class="def field"><a href="#type-t.hoist" class="anchor"></a><code>hoist : bool;</code></td></tr><tr id="type-t.position" class="anchored"><td class="def field"><a href="#type-t.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-t.permissions" class="anchored"><td class="def field"><a href="#type-t.permissions" class="anchor"></a><code>permissions : int;</code></td></tr><tr id="type-t.managed" class="anchored"><td class="def field"><a href="#type-t.managed" class="anchor"></a><code>managed : bool;</code></td></tr><tr id="type-t.mentionable" class="anchored"><td class="def field"><a href="#type-t.mentionable" class="anchor"></a><code>mentionable : bool;</code></td></tr><tr id="type-t.guild_id" class="anchored"><td class="def field"><a href="#type-t.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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-wrap"><a href="#val-wrap" class="anchor"></a><code><span class="keyword">val </span>wrap : guild_id:<a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> <a href="index.html#type-role">role</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-allow_mention"><a href="#val-allow_mention" class="anchor"></a><code><span class="keyword">val </span>allow_mention : <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-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> Yojson.Safe.json Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-disallow_mention"><a href="#val-disallow_mention" class="anchor"></a><code><span class="keyword">val </span>disallow_mention : <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-hoist"><a href="#val-hoist" class="anchor"></a><code><span class="keyword">val </span>hoist : <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-set_colour"><a href="#val-set_colour" class="anchor"></a><code><span class="keyword">val </span>set_colour : colour:int <span>-></span> <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-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> Yojson.Safe.json Async.Deferred.Or_error.t</code></dt><dt class="spec value" id="val-unhoist"><a href="#val-unhoist" class="anchor"></a><code><span class="keyword">val </span>unhoist : <a href="index.html#type-t">t</a> <span>-></span> Yojson.Safe.json Async.Deferred.Or_error.t</code></dt></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Role_t/index.html b/docs/disml/Disml__Role_t/index.html index f9426d9..927e302 100644 --- a/docs/disml/Disml__Role_t/index.html +++ b/docs/disml/Disml__Role_t/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Role_t (disml.Disml__Role_t)</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> » Disml__Role_t</nav><h1>Module <code>Disml__Role_t</code></h1></header><dl><dt class="spec type" id="type-role"><a href="#type-role" class="anchor"></a><code><span class="keyword">type </span>role</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-role.id" class="anchored"><td class="def field"><a href="#type-role.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-role.name" class="anchored"><td class="def field"><a href="#type-role.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-role.colour" class="anchored"><td class="def field"><a href="#type-role.colour" class="anchor"></a><code>colour : int;</code></td></tr><tr id="type-role.hoist" class="anchored"><td class="def field"><a href="#type-role.hoist" class="anchor"></a><code>hoist : bool;</code></td></tr><tr id="type-role.position" class="anchored"><td class="def field"><a href="#type-role.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-role.permissions" class="anchored"><td class="def field"><a href="#type-role.permissions" class="anchor"></a><code>permissions : int;</code></td></tr><tr id="type-role.managed" class="anchored"><td class="def field"><a href="#type-role.managed" class="anchor"></a><code>managed : bool;</code></td></tr><tr id="type-role.mentionable" class="anchored"><td class="def field"><a href="#type-role.mentionable" class="anchor"></a><code>mentionable : bool;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-role_of_sexp"><a href="#val-role_of_sexp" class="anchor"></a><code><span class="keyword">val </span>role_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-role">role</a></code></dt><dt class="spec value" id="val-sexp_of_role"><a href="#val-sexp_of_role" class="anchor"></a><code><span class="keyword">val </span>sexp_of_role : <a href="index.html#type-role">role</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-role_to_yojson"><a href="#val-role_to_yojson" class="anchor"></a><code><span class="keyword">val </span>role_to_yojson : <a href="index.html#type-role">role</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-role_of_yojson"><a href="#val-role_of_yojson" class="anchor"></a><code><span class="keyword">val </span>role_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-role">role</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-role">role</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-role">role</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-role_of_yojson_exn"><a href="#val-role_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>role_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-role">role</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-role">role</a></code></dt></dl><dl><dt class="spec type" id="type-role_update"><a href="#type-role_update" class="anchor"></a><code><span class="keyword">type </span>role_update</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-role_update.role" class="anchored"><td class="def field"><a href="#type-role_update.role" class="anchor"></a><code>role : <a href="index.html#type-role">role</a>;</code></td></tr><tr id="type-role_update.guild_id" class="anchored"><td class="def field"><a href="#type-role_update.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-role_update_of_sexp"><a href="#val-role_update_of_sexp" class="anchor"></a><code><span class="keyword">val </span>role_update_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-role_update">role_update</a></code></dt><dt class="spec value" id="val-sexp_of_role_update"><a href="#val-sexp_of_role_update" class="anchor"></a><code><span class="keyword">val </span>sexp_of_role_update : <a href="index.html#type-role_update">role_update</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-role_update_to_yojson"><a href="#val-role_update_to_yojson" class="anchor"></a><code><span class="keyword">val </span>role_update_to_yojson : <a href="index.html#type-role_update">role_update</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-role_update_of_yojson"><a href="#val-role_update_of_yojson" class="anchor"></a><code><span class="keyword">val </span>role_update_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-role_update">role_update</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-role_update">role_update</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-role_update">role_update</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-role_update_of_yojson_exn"><a href="#val-role_update_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>role_update_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-role_update">role_update</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-role_update">role_update</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="../Disml/Snowflake/index.html#type-t">Disml.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.colour" class="anchored"><td class="def field"><a href="#type-t.colour" class="anchor"></a><code>colour : int;</code></td></tr><tr id="type-t.hoist" class="anchored"><td class="def field"><a href="#type-t.hoist" class="anchor"></a><code>hoist : bool;</code></td></tr><tr id="type-t.position" class="anchored"><td class="def field"><a href="#type-t.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-t.permissions" class="anchored"><td class="def field"><a href="#type-t.permissions" class="anchor"></a><code>permissions : int;</code></td></tr><tr id="type-t.managed" class="anchored"><td class="def field"><a href="#type-t.managed" class="anchor"></a><code>managed : bool;</code></td></tr><tr id="type-t.mentionable" class="anchored"><td class="def field"><a href="#type-t.mentionable" class="anchor"></a><code>mentionable : bool;</code></td></tr><tr id="type-t.guild_id" class="anchored"><td class="def field"><a href="#type-t.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</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 : guild_id:<a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> <a href="index.html#type-role">role</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Role_t (disml.Disml__Role_t)</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> » Disml__Role_t</nav><h1>Module <code>Disml__Role_t</code></h1></header><dl><dt class="spec type" id="type-role"><a href="#type-role" class="anchor"></a><code><span class="keyword">type </span>role</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-role.id" class="anchored"><td class="def field"><a href="#type-role.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-role.name" class="anchored"><td class="def field"><a href="#type-role.name" class="anchor"></a><code>name : string;</code></td></tr><tr id="type-role.colour" class="anchored"><td class="def field"><a href="#type-role.colour" class="anchor"></a><code>colour : int;</code></td></tr><tr id="type-role.hoist" class="anchored"><td class="def field"><a href="#type-role.hoist" class="anchor"></a><code>hoist : bool;</code></td></tr><tr id="type-role.position" class="anchored"><td class="def field"><a href="#type-role.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-role.permissions" class="anchored"><td class="def field"><a href="#type-role.permissions" class="anchor"></a><code>permissions : int;</code></td></tr><tr id="type-role.managed" class="anchored"><td class="def field"><a href="#type-role.managed" class="anchor"></a><code>managed : bool;</code></td></tr><tr id="type-role.mentionable" class="anchored"><td class="def field"><a href="#type-role.mentionable" class="anchor"></a><code>mentionable : bool;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-role_of_sexp"><a href="#val-role_of_sexp" class="anchor"></a><code><span class="keyword">val </span>role_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-role">role</a></code></dt><dt class="spec value" id="val-sexp_of_role"><a href="#val-sexp_of_role" class="anchor"></a><code><span class="keyword">val </span>sexp_of_role : <a href="index.html#type-role">role</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-role_to_yojson"><a href="#val-role_to_yojson" class="anchor"></a><code><span class="keyword">val </span>role_to_yojson : <a href="index.html#type-role">role</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-role_of_yojson"><a href="#val-role_of_yojson" class="anchor"></a><code><span class="keyword">val </span>role_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-role">role</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-role_of_yojson_exn"><a href="#val-role_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>role_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-role">role</a></code></dt></dl><dl><dt class="spec type" id="type-role_update"><a href="#type-role_update" class="anchor"></a><code><span class="keyword">type </span>role_update</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-role_update.role" class="anchored"><td class="def field"><a href="#type-role_update.role" class="anchor"></a><code>role : <a href="index.html#type-role">role</a>;</code></td></tr><tr id="type-role_update.guild_id" class="anchored"><td class="def field"><a href="#type-role_update.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-role_update_of_sexp"><a href="#val-role_update_of_sexp" class="anchor"></a><code><span class="keyword">val </span>role_update_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-role_update">role_update</a></code></dt><dt class="spec value" id="val-sexp_of_role_update"><a href="#val-sexp_of_role_update" class="anchor"></a><code><span class="keyword">val </span>sexp_of_role_update : <a href="index.html#type-role_update">role_update</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-role_update_to_yojson"><a href="#val-role_update_to_yojson" class="anchor"></a><code><span class="keyword">val </span>role_update_to_yojson : <a href="index.html#type-role_update">role_update</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-role_update_of_yojson"><a href="#val-role_update_of_yojson" class="anchor"></a><code><span class="keyword">val </span>role_update_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-role_update">role_update</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-role_update_of_yojson_exn"><a href="#val-role_update_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>role_update_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-role_update">role_update</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="../Disml/Snowflake/index.html#type-t">Disml.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.colour" class="anchored"><td class="def field"><a href="#type-t.colour" class="anchor"></a><code>colour : int;</code></td></tr><tr id="type-t.hoist" class="anchored"><td class="def field"><a href="#type-t.hoist" class="anchor"></a><code>hoist : bool;</code></td></tr><tr id="type-t.position" class="anchored"><td class="def field"><a href="#type-t.position" class="anchor"></a><code>position : int;</code></td></tr><tr id="type-t.permissions" class="anchored"><td class="def field"><a href="#type-t.permissions" class="anchor"></a><code>permissions : int;</code></td></tr><tr id="type-t.managed" class="anchored"><td class="def field"><a href="#type-t.managed" class="anchor"></a><code>managed : bool;</code></td></tr><tr id="type-t.mentionable" class="anchored"><td class="def field"><a href="#type-t.mentionable" class="anchor"></a><code>mentionable : bool;</code></td></tr><tr id="type-t.guild_id" class="anchored"><td class="def field"><a href="#type-t.guild_id" class="anchor"></a><code>guild_id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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-wrap"><a href="#val-wrap" class="anchor"></a><code><span class="keyword">val </span>wrap : guild_id:<a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> <a href="index.html#type-role">role</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Sharder/Shard/index.html b/docs/disml/Disml__Sharder/Shard/index.html index 506b6b9..e75a3f8 100644 --- a/docs/disml/Disml__Sharder/Shard/index.html +++ b/docs/disml/Disml__Sharder/Shard/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Shard (disml.Disml__Sharder.Shard)</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__Sharder</a> » Shard</nav><h1>Module <code>Disml__Sharder.Shard</code></h1></header><dl><dt class="spec type" id="type-shard"><a href="#type-shard" class="anchor"></a><code><span class="keyword">type </span>shard</code></dt><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>'a t</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-t.state" class="anchored"><td class="def field"><a href="#type-t.state" class="anchor"></a><code><span class="keyword">mutable </span>state : <span class="type-var">'a</span>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-heartbeat"><a href="#val-heartbeat" class="anchor"></a><code><span class="keyword">val </span>heartbeat : <a href="index.html#type-shard">shard</a> <span>-></span> <a href="index.html#type-shard">shard</a> Async.Deferred.t</code></dt><dt class="spec value" id="val-set_status"><a href="#val-set_status" class="anchor"></a><code><span class="keyword">val </span>set_status : status:Yojson.Safe.json <span>-></span> <a href="index.html#type-shard">shard</a> <span>-></span> <a href="index.html#type-shard">shard</a> Async.Deferred.t</code></dt><dt class="spec value" id="val-request_guild_members"><a href="#val-request_guild_members" class="anchor"></a><code><span class="keyword">val </span>request_guild_members : ?⁠query:string <span>-></span> ?⁠limit:int <span>-></span> guild:<a href="../../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> <a href="index.html#type-shard">shard</a> <span>-></span> <a href="index.html#type-shard">shard</a> Async.Deferred.t</code></dt><dt class="spec value" id="val-create"><a href="#val-create" class="anchor"></a><code><span class="keyword">val </span>create : url:string <span>-></span> shards:(int<span class="keyword"> * </span>int) <span>-></span> unit <span>-></span> <a href="index.html#type-shard">shard</a> Async.Deferred.t</code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Shard (disml.Disml__Sharder.Shard)</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__Sharder</a> » Shard</nav><h1>Module <code>Disml__Sharder.Shard</code></h1><p>Module representing a single shard.</p></header><dl><dt class="spec type" id="type-shard"><a href="#type-shard" class="anchor"></a><code><span class="keyword">type </span>shard</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-shard.hb_interval" class="anchored"><td class="def field"><a href="#type-shard.hb_interval" class="anchor"></a><code>hb_interval : Core.Time.Span.t Async.Ivar.t;</code></td><td class="doc"><p>Time span between heartbeats, wrapped in an Ivar.</p></td></tr><tr id="type-shard.seq" class="anchored"><td class="def field"><a href="#type-shard.seq" class="anchor"></a><code>seq : int;</code></td><td class="doc"><p>Current sequence number</p></td></tr><tr id="type-shard.session" class="anchored"><td class="def field"><a href="#type-shard.session" class="anchor"></a><code>session : string option;</code></td><td class="doc"><p>Session id, if one exists.</p></td></tr><tr id="type-shard.pipe" class="anchored"><td class="def field"><a href="#type-shard.pipe" class="anchor"></a><code>pipe : Websocket_async.Frame.t Async.Pipe.Reader.t<span class="keyword"> * </span>Websocket_async.Frame.t Async.Pipe.Writer.t;</code></td><td class="doc"><p>Raw frame IO pipe used for websocket communications.</p></td></tr><tr id="type-shard.ready" class="anchored"><td class="def field"><a href="#type-shard.ready" class="anchor"></a><code>ready : unit Async.Ivar.t;</code></td><td class="doc"><p>A simple Ivar indicating if the shard has received READY.</p></td></tr><tr id="type-shard.url" class="anchored"><td class="def field"><a href="#type-shard.url" class="anchor"></a><code>url : string;</code></td><td class="doc"><p>The websocket URL in use.</p></td></tr><tr id="type-shard.id" class="anchored"><td class="def field"><a href="#type-shard.id" class="anchor"></a><code>id : int<span class="keyword"> * </span>int;</code></td><td class="doc"><p>A tuple as expected by Discord. First element is the current shard index, second element is the total shard count.</p></td></tr></table><code>}</code></dt><dd><p>Representation of the state of a shard.</p><p>Wrapper around an internal state, used to wrap <a href="index.html#type-shard"><code>shard</code></a>.</p></dd></dl><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>'a t</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-t.state" class="anchored"><td class="def field"><a href="#type-t.state" class="anchor"></a><code><span class="keyword">mutable </span>state : <span class="type-var">'a</span>;</code></td></tr></table><code>}</code></dt><dd><p>Wrapper around an internal state, used to wrap <a href="index.html#type-shard"><code>shard</code></a>.</p></dd></dl><dl><dt class="spec value" id="val-heartbeat"><a href="#val-heartbeat" class="anchor"></a><code><span class="keyword">val </span>heartbeat : <a href="index.html#type-shard">shard</a> <span>-></span> <a href="index.html#type-shard">shard</a> Async.Deferred.t</code></dt><dd><p>Send a heartbeat to Discord. This is handled automatically.</p></dd></dl><dl><dt class="spec value" id="val-set_status"><a href="#val-set_status" class="anchor"></a><code><span class="keyword">val </span>set_status : status:Yojson.Safe.json <span>-></span> <a href="index.html#type-shard">shard</a> <span>-></span> <a href="index.html#type-shard">shard</a> Async.Deferred.t</code></dt><dd><p>Set the status of the shard.</p></dd></dl><dl><dt class="spec value" id="val-request_guild_members"><a href="#val-request_guild_members" class="anchor"></a><code><span class="keyword">val </span>request_guild_members : ?⁠query:string <span>-></span> ?⁠limit:int <span>-></span> guild:<a href="../../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> <a href="index.html#type-shard">shard</a> <span>-></span> <a href="index.html#type-shard">shard</a> Async.Deferred.t</code></dt><dd><p>Request guild members for the shard's guild. Causes dispatch of multiple <span class="xref-unresolved" title="unresolved reference to "Dispatch.members_chunk""><span>member chunk</span></span> events.</p></dd></dl><dl><dt class="spec value" id="val-create"><a href="#val-create" class="anchor"></a><code><span class="keyword">val </span>create : url:string <span>-></span> shards:(int<span class="keyword"> * </span>int) <span>-></span> unit <span>-></span> <a href="index.html#type-shard">shard</a> Async.Deferred.t</code></dt><dd><p>Create a new shard</p></dd></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Sharder/index.html b/docs/disml/Disml__Sharder/index.html index 5039516..69dfbe7 100644 --- a/docs/disml/Disml__Sharder/index.html +++ b/docs/disml/Disml__Sharder/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Sharder (disml.Disml__Sharder)</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> » Disml__Sharder</nav><h1>Module <code>Disml__Sharder</code></h1></header><dl><dt class="spec exception" id="exception-Invalid_Payload"><a href="#exception-Invalid_Payload" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">Invalid_Payload</span></code></dt><dt class="spec exception" id="exception-Failure_to_Establish_Heartbeat"><a href="#exception-Failure_to_Establish_Heartbeat" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">Failure_to_Establish_Heartbeat</span></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></dt></dl><dl><dt class="spec value" id="val-start"><a href="#val-start" class="anchor"></a><code><span class="keyword">val </span>start : ?⁠count:int <span>-></span> unit <span>-></span> <a href="index.html#type-t">t</a> Async.Deferred.t</code></dt></dl><div class="spec module" id="module-Shard"><a href="#module-Shard" class="anchor"></a><code><span class="keyword">module </span><a href="Shard/index.html">Shard</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><dl><dt class="spec value" id="val-set_status"><a href="#val-set_status" class="anchor"></a><code><span class="keyword">val </span>set_status : status:Yojson.Safe.json <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Shard/index.html#type-shard">Shard.shard</a> list Async.Deferred.t</code></dt><dt class="spec value" id="val-set_status_with"><a href="#val-set_status_with" class="anchor"></a><code><span class="keyword">val </span>set_status_with : f:(<a href="Shard/index.html#type-shard">Shard.shard</a> <span>-></span> Yojson.Safe.json) <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Shard/index.html#type-shard">Shard.shard</a> list Async.Deferred.t</code></dt><dt class="spec value" id="val-request_guild_members"><a href="#val-request_guild_members" class="anchor"></a><code><span class="keyword">val </span>request_guild_members : ?⁠query:string <span>-></span> ?⁠limit:int <span>-></span> guild:<a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Shard/index.html#type-shard">Shard.shard</a> list Async.Deferred.t</code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Sharder (disml.Disml__Sharder)</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> » Disml__Sharder</nav><h1>Module <code>Disml__Sharder</code></h1><p>Internal sharding manager. Most of this is accessed through <code>Client</code>.</p></header><dl><dt class="spec exception" id="exception-Invalid_Payload"><a href="#exception-Invalid_Payload" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">Invalid_Payload</span></code></dt><dt class="spec exception" id="exception-Failure_to_Establish_Heartbeat"><a href="#exception-Failure_to_Establish_Heartbeat" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">Failure_to_Establish_Heartbeat</span></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></dt></dl><dl><dt class="spec value" id="val-start"><a href="#val-start" class="anchor"></a><code><span class="keyword">val </span>start : ?⁠count:int <span>-></span> unit <span>-></span> <a href="index.html#type-t">t</a> Async.Deferred.t</code></dt><dd><p>Start the Sharder. This is called by <span class="xref-unresolved" title="unresolved reference to "Client.start""><code>Client</code>.start</span>.</p></dd></dl><dl><dt class="spec module" id="module-Shard"><a href="#module-Shard" class="anchor"></a><code><span class="keyword">module </span><a href="Shard/index.html">Shard</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></dt><dd><p>Module representing a single shard.</p></dd></dl><dl><dt class="spec value" id="val-set_status"><a href="#val-set_status" class="anchor"></a><code><span class="keyword">val </span>set_status : status:Yojson.Safe.json <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Shard/index.html#type-shard">Shard.shard</a> list Async.Deferred.t</code></dt><dd><p>Calls <a href="Shard/index.html#val-set_status"><code>Shard.set_status</code></a> for each shard registered with the sharder.</p></dd></dl><dl><dt class="spec value" id="val-set_status_with"><a href="#val-set_status_with" class="anchor"></a><code><span class="keyword">val </span>set_status_with : f:(<a href="Shard/index.html#type-shard">Shard.shard</a> <span>-></span> Yojson.Safe.json) <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Shard/index.html#type-shard">Shard.shard</a> list Async.Deferred.t</code></dt><dd><p>Like <a href="index.html#val-set_status"><code>set_status</code></a> but takes a function with a <a href="Shard/index.html#type-shard"><span>shard</span></a> as its parameter and <span class="xref-unresolved" title="unresolved reference to "Yojson.Safe.json""><span>json</span></span> for its return.</p></dd></dl><dl><dt class="spec value" id="val-request_guild_members"><a href="#val-request_guild_members" class="anchor"></a><code><span class="keyword">val </span>request_guild_members : ?⁠query:string <span>-></span> ?⁠limit:int <span>-></span> guild:<a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a> <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> <a href="Shard/index.html#type-shard">Shard.shard</a> list Async.Deferred.t</code></dt><dd><p>Calls <a href="Shard/index.html#val-request_guild_members"><code>Shard.request_guild_members</code></a> for each shard registered with the sharder.</p></dd></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__Snowflake/index.html b/docs/disml/Disml__Snowflake/index.html index 6bd4886..ef6befe 100644 --- a/docs/disml/Disml__Snowflake/index.html +++ b/docs/disml/Disml__Snowflake/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Snowflake (disml.Disml__Snowflake)</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> » Disml__Snowflake</nav><h1>Module <code>Disml__Snowflake</code></h1></header><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>Core.Int.t</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-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> Core.Int.t</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> (Core.Int.t, string) Core._result</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 : Core.Int.t <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-timestamp"><a href="#val-timestamp" class="anchor"></a><code><span class="keyword">val </span>timestamp : int <span>-></span> int</code></dt><dt class="spec value" id="val-timestamp_iso"><a href="#val-timestamp_iso" class="anchor"></a><code><span class="keyword">val </span>timestamp_iso : int <span>-></span> string</code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__Snowflake (disml.Disml__Snowflake)</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> » Disml__Snowflake</nav><h1>Module <code>Disml__Snowflake</code></h1></header><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>Core.Int.t</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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-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-timestamp"><a href="#val-timestamp" class="anchor"></a><code><span class="keyword">val </span>timestamp : <a href="index.html#type-t">t</a> <span>-></span> int</code></dt><dt class="spec value" id="val-timestamp_iso"><a href="#val-timestamp_iso" class="anchor"></a><code><span class="keyword">val </span>timestamp_iso : <a href="index.html#type-t">t</a> <span>-></span> string</code></dt></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__User/index.html b/docs/disml/Disml__User/index.html index 77892ad..b88ff5e 100644 --- a/docs/disml/Disml__User/index.html +++ b/docs/disml/Disml__User/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__User (disml.Disml__User)</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> » Disml__User</nav><h1>Module <code>Disml__User</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="../Disml/index.html#module-User_t">Disml.User_t</a></code></span></summary><aside></aside><dl><dt class="spec type" id="type-partial_user"><a href="#type-partial_user" class="anchor"></a><code><span class="keyword">type </span>partial_user</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-partial_user.id" class="anchored"><td class="def field"><a href="#type-partial_user.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-partial_user_of_sexp"><a href="#val-partial_user_of_sexp" class="anchor"></a><code><span class="keyword">val </span>partial_user_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-partial_user">partial_user</a></code></dt><dt class="spec value" id="val-sexp_of_partial_user"><a href="#val-sexp_of_partial_user" class="anchor"></a><code><span class="keyword">val </span>sexp_of_partial_user : <a href="index.html#type-partial_user">partial_user</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-partial_user_to_yojson"><a href="#val-partial_user_to_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_user_to_yojson : <a href="index.html#type-partial_user">partial_user</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-partial_user_of_yojson"><a href="#val-partial_user_of_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_user_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_user">partial_user</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-partial_user">partial_user</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-partial_user">partial_user</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-partial_user_of_yojson_exn"><a href="#val-partial_user_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>partial_user_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_user">partial_user</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-partial_user">partial_user</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="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-t.username" class="anchored"><td class="def field"><a href="#type-t.username" class="anchor"></a><code>username : string;</code></td></tr><tr id="type-t.discriminator" class="anchored"><td class="def field"><a href="#type-t.discriminator" class="anchor"></a><code>discriminator : string;</code></td></tr><tr id="type-t.avatar" class="anchored"><td class="def field"><a href="#type-t.avatar" class="anchor"></a><code>avatar : string option;</code></td></tr><tr id="type-t.bot" class="anchored"><td class="def field"><a href="#type-t.bot" class="anchor"></a><code>bot : bool;</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></dl></details></div></div></div><dl><dt class="spec value" id="val-tag"><a href="#val-tag" class="anchor"></a><code><span class="keyword">val </span>tag : <a href="index.html#type-t">t</a> <span>-></span> string</code></dt><dt class="spec value" id="val-mention"><a href="#val-mention" class="anchor"></a><code><span class="keyword">val </span>mention : <a href="index.html#type-t">t</a> <span>-></span> string</code></dt><dt class="spec value" id="val-default_avatar"><a href="#val-default_avatar" class="anchor"></a><code><span class="keyword">val </span>default_avatar : <a href="index.html#type-t">t</a> <span>-></span> string</code></dt><dt class="spec value" id="val-face"><a href="#val-face" class="anchor"></a><code><span class="keyword">val </span>face : <a href="index.html#type-t">t</a> <span>-></span> string</code></dt></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__User (disml.Disml__User)</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> » Disml__User</nav><h1>Module <code>Disml__User</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="../Disml/index.html#module-User_t">Disml.User_t</a></code></span></summary><aside></aside><dl><dt class="spec type" id="type-partial_user"><a href="#type-partial_user" class="anchor"></a><code><span class="keyword">type </span>partial_user</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-partial_user.id" class="anchored"><td class="def field"><a href="#type-partial_user.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-partial_user_of_sexp"><a href="#val-partial_user_of_sexp" class="anchor"></a><code><span class="keyword">val </span>partial_user_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-partial_user">partial_user</a></code></dt><dt class="spec value" id="val-sexp_of_partial_user"><a href="#val-sexp_of_partial_user" class="anchor"></a><code><span class="keyword">val </span>sexp_of_partial_user : <a href="index.html#type-partial_user">partial_user</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-partial_user_to_yojson"><a href="#val-partial_user_to_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_user_to_yojson : <a href="index.html#type-partial_user">partial_user</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-partial_user_of_yojson"><a href="#val-partial_user_of_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_user_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_user">partial_user</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-partial_user_of_yojson_exn"><a href="#val-partial_user_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>partial_user_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_user">partial_user</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="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-t.username" class="anchored"><td class="def field"><a href="#type-t.username" class="anchor"></a><code>username : string;</code></td></tr><tr id="type-t.discriminator" class="anchored"><td class="def field"><a href="#type-t.discriminator" class="anchor"></a><code>discriminator : string;</code></td></tr><tr id="type-t.avatar" class="anchored"><td class="def field"><a href="#type-t.avatar" class="anchor"></a><code>avatar : string option;</code></td></tr><tr id="type-t.bot" class="anchored"><td class="def field"><a href="#type-t.bot" class="anchor"></a><code>bot : bool;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></dl></details></div></div></div><dl><dt class="spec value" id="val-tag"><a href="#val-tag" class="anchor"></a><code><span class="keyword">val </span>tag : <a href="index.html#type-t">t</a> <span>-></span> string</code></dt><dt class="spec value" id="val-mention"><a href="#val-mention" class="anchor"></a><code><span class="keyword">val </span>mention : <a href="index.html#type-t">t</a> <span>-></span> string</code></dt><dt class="spec value" id="val-default_avatar"><a href="#val-default_avatar" class="anchor"></a><code><span class="keyword">val </span>default_avatar : <a href="index.html#type-t">t</a> <span>-></span> string</code></dt><dt class="spec value" id="val-face"><a href="#val-face" class="anchor"></a><code><span class="keyword">val </span>face : <a href="index.html#type-t">t</a> <span>-></span> string</code></dt></dl></div></body></html>
\ No newline at end of file diff --git a/docs/disml/Disml__User_t/index.html b/docs/disml/Disml__User_t/index.html index 958ed83..baecc2a 100644 --- a/docs/disml/Disml__User_t/index.html +++ b/docs/disml/Disml__User_t/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__User_t (disml.Disml__User_t)</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> » Disml__User_t</nav><h1>Module <code>Disml__User_t</code></h1></header><dl><dt class="spec type" id="type-partial_user"><a href="#type-partial_user" class="anchor"></a><code><span class="keyword">type </span>partial_user</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-partial_user.id" class="anchored"><td class="def field"><a href="#type-partial_user.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-partial_user_of_sexp"><a href="#val-partial_user_of_sexp" class="anchor"></a><code><span class="keyword">val </span>partial_user_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-partial_user">partial_user</a></code></dt><dt class="spec value" id="val-sexp_of_partial_user"><a href="#val-sexp_of_partial_user" class="anchor"></a><code><span class="keyword">val </span>sexp_of_partial_user : <a href="index.html#type-partial_user">partial_user</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt><dt class="spec value" id="val-partial_user_to_yojson"><a href="#val-partial_user_to_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_user_to_yojson : <a href="index.html#type-partial_user">partial_user</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-partial_user_of_yojson"><a href="#val-partial_user_of_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_user_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_user">partial_user</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-partial_user">partial_user</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-partial_user">partial_user</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-partial_user_of_yojson_exn"><a href="#val-partial_user_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>partial_user_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_user">partial_user</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-partial_user">partial_user</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="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-t.username" class="anchored"><td class="def field"><a href="#type-t.username" class="anchor"></a><code>username : string;</code></td></tr><tr id="type-t.discriminator" class="anchored"><td class="def field"><a href="#type-t.discriminator" class="anchor"></a><code>discriminator : string;</code></td></tr><tr id="type-t.avatar" class="anchored"><td class="def field"><a href="#type-t.avatar" class="anchor"></a><code>avatar : string option;</code></td></tr><tr id="type-t.bot" class="anchored"><td class="def field"><a href="#type-t.bot" class="anchor"></a><code>bot : bool;</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></dl></div></body></html>
\ No newline at end of file +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Disml__User_t (disml.Disml__User_t)</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> » Disml__User_t</nav><h1>Module <code>Disml__User_t</code></h1></header><dl><dt class="spec type" id="type-partial_user"><a href="#type-partial_user" class="anchor"></a><code><span class="keyword">type </span>partial_user</code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-partial_user.id" class="anchored"><td class="def field"><a href="#type-partial_user.id" class="anchor"></a><code>id : <a href="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-partial_user_of_sexp"><a href="#val-partial_user_of_sexp" class="anchor"></a><code><span class="keyword">val </span>partial_user_of_sexp : Ppx_sexp_conv_lib.Sexp.t <span>-></span> <a href="index.html#type-partial_user">partial_user</a></code></dt><dt class="spec value" id="val-sexp_of_partial_user"><a href="#val-sexp_of_partial_user" class="anchor"></a><code><span class="keyword">val </span>sexp_of_partial_user : <a href="index.html#type-partial_user">partial_user</a> <span>-></span> Ppx_sexp_conv_lib.Sexp.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-partial_user_to_yojson"><a href="#val-partial_user_to_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_user_to_yojson : <a href="index.html#type-partial_user">partial_user</a> <span>-></span> Yojson.Safe.json</code></dt><dt class="spec value" id="val-partial_user_of_yojson"><a href="#val-partial_user_of_yojson" class="anchor"></a><code><span class="keyword">val </span>partial_user_of_yojson : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_user">partial_user</a> Ppx_deriving_yojson_runtime.error_or</code></dt><dt class="spec value" id="val-partial_user_of_yojson_exn"><a href="#val-partial_user_of_yojson_exn" class="anchor"></a><code><span class="keyword">val </span>partial_user_of_yojson_exn : Yojson.Safe.json <span>-></span> <a href="index.html#type-partial_user">partial_user</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="../Disml/Snowflake/index.html#type-t">Disml.Snowflake.t</a>;</code></td></tr><tr id="type-t.username" class="anchored"><td class="def field"><a href="#type-t.username" class="anchor"></a><code>username : string;</code></td></tr><tr id="type-t.discriminator" class="anchored"><td class="def field"><a href="#type-t.discriminator" class="anchor"></a><code>discriminator : string;</code></td></tr><tr id="type-t.avatar" class="anchored"><td class="def field"><a href="#type-t.avatar" class="anchor"></a><code>avatar : string option;</code></td></tr><tr id="type-t.bot" class="anchored"><td class="def field"><a href="#type-t.bot" class="anchor"></a><code>bot : bool;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><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></dl></div></div></div><dl><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-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></dl></div></body></html>
\ No newline at end of file |