diff options
Diffstat (limited to 'docs/disml/Disml__Role_t/index.html')
| -rw-r--r-- | docs/disml/Disml__Role_t/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/disml/Disml__Role_t/index.html b/docs/disml/Disml__Role_t/index.html index 927e302..23ce4a9 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><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 +<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__/Role_id/index.html#type-t">Disml__.Role_id.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><dd><p>A role as Discord sends it. Only difference between this and <a href="index.html#type-t"><code>t</code></a> is the lack of the guild_id field.</p></dd></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-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__/Role_id/index.html#type-t">Disml__.Role_id.t</a>;</code></td><td class="doc"><p>The role's snowflake ID.</p></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><td class="doc"><p>The role's name.</p></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><td class="doc"><p>The integer representation of the role colour.</p></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><td class="doc"><p>Whether the role is hoisted. This property controls whether the role is separated on the sidebar.</p></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><td class="doc"><p>The position of the role. <code>@everyone</code> begins the list at 0.</p></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><td class="doc"><p>The integer representation of the permissions the role has.</p></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><td class="doc"><p>Whether the guild is managed by an integration.</p></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><td class="doc"><p>Whether the role can be mentioned.</p></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__/Guild_id_t/index.html#type-t">Disml__.Guild_id_t.t</a>;</code></td><td class="doc"><p>The guild ID this role belongs to.</p></td></tr></table><code>}</code></dt><dd><p>A role object.</p></dd></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><dd><p>Convenience method to produce <a href="index.html#type-t"><code>t</code></a> from <a href="index.html#type-role"><code>role</code></a> and a snowflake.</p></dd></dl></div></body></html>
\ No newline at end of file |