diff options
Diffstat (limited to 'doc/disml/Disml__Event/index.html')
| -rw-r--r-- | doc/disml/Disml__Event/index.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/disml/Disml__Event/index.html b/doc/disml/Disml__Event/index.html new file mode 100644 index 0000000..42071ab --- /dev/null +++ b/doc/disml/Disml__Event/index.html @@ -0,0 +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 |