Skip to content

Commit

Permalink
Update doc by Github Action
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Apr 29, 2024
1 parent e2e70f6 commit 54b36d9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions _sources/intro/event-process.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
本文档将这些方法称为“绑定方法”,同时将绑定方法绑定的函数称为:“处理方法”或“处理函数”。

- 绑定一个任意事件的处理方法:{meth}`~.BotPlugin.on_event`
- 绑定一个消息事件的处理方法:{meth}`~.BotPlugin.on_message`、{meth}`~.BotPlugin.on_at_qq`、{meth}`~.BotPlugin.on_start_match`、{meth}`~.BotPlugin.on_contain_match`、{meth}`~.BotPlugin.on_full_match`、{meth}`~.BotPlugin.on_end_match`、{meth}`~.BotPlugin.on_regex_match`
- 绑定一个请求事件的处理方法:{meth}`~.BotPlugin.on_request`、{meth}`~.BotPlugin.on_friend_request`、{meth}`~.BotPlugin.on_group_request`
- 绑定一个消息事件的处理方法:{meth}`~.BotPlugin.on_message`、{meth}`~.BotPlugin.on_at_qq`、{meth}`~.BotPlugin.on_command`、{meth}`~.BotPlugin.on_start_match`、{meth}`~.BotPlugin.on_contain_match`、{meth}`~.BotPlugin.on_full_match`、{meth}`~.BotPlugin.on_end_match`、{meth}`~.BotPlugin.on_regex_match`
- 绑定一个请求事件的处理方法:{meth}`~.BotPlugin.on_request`
- 绑定一个通知事件的处理方法:{meth}`~.BotPlugin.on_notice`
- 绑定一个元事件的处理方法:{meth}`~.BotPlugin.on_meta_event`

Expand Down
4 changes: 2 additions & 2 deletions intro/event-process.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@ <h2>绑定方法与处理方法<a class="headerlink" href="#id2" title="Link to
<p>本文档将这些方法称为“绑定方法”,同时将绑定方法绑定的函数称为:“处理方法”或“处理函数”。</p>
<ul class="simple">
<li><p>绑定一个任意事件的处理方法:<a class="reference internal" href="../api/melobot.plugin.html#melobot.plugin.BotPlugin.on_event" title="melobot.plugin.BotPlugin.on_event"><code class="xref py py-meth docutils literal notranslate"><span class="pre">on_event()</span></code></a></p></li>
<li><p>绑定一个消息事件的处理方法:<a class="reference internal" href="../api/melobot.plugin.html#melobot.plugin.BotPlugin.on_message" title="melobot.plugin.BotPlugin.on_message"><code class="xref py py-meth docutils literal notranslate"><span class="pre">on_message()</span></code></a><a class="reference internal" href="../api/melobot.plugin.html#melobot.plugin.BotPlugin.on_at_qq" title="melobot.plugin.BotPlugin.on_at_qq"><code class="xref py py-meth docutils literal notranslate"><span class="pre">on_at_qq()</span></code></a><a class="reference internal" href="../api/melobot.plugin.html#melobot.plugin.BotPlugin.on_start_match" title="melobot.plugin.BotPlugin.on_start_match"><code class="xref py py-meth docutils literal notranslate"><span class="pre">on_start_match()</span></code></a><a class="reference internal" href="../api/melobot.plugin.html#melobot.plugin.BotPlugin.on_contain_match" title="melobot.plugin.BotPlugin.on_contain_match"><code class="xref py py-meth docutils literal notranslate"><span class="pre">on_contain_match()</span></code></a><a class="reference internal" href="../api/melobot.plugin.html#melobot.plugin.BotPlugin.on_full_match" title="melobot.plugin.BotPlugin.on_full_match"><code class="xref py py-meth docutils literal notranslate"><span class="pre">on_full_match()</span></code></a><a class="reference internal" href="../api/melobot.plugin.html#melobot.plugin.BotPlugin.on_end_match" title="melobot.plugin.BotPlugin.on_end_match"><code class="xref py py-meth docutils literal notranslate"><span class="pre">on_end_match()</span></code></a><a class="reference internal" href="../api/melobot.plugin.html#melobot.plugin.BotPlugin.on_regex_match" title="melobot.plugin.BotPlugin.on_regex_match"><code class="xref py py-meth docutils literal notranslate"><span class="pre">on_regex_match()</span></code></a></p></li>
<li><p>绑定一个请求事件的处理方法:<a class="reference internal" href="../api/melobot.plugin.html#melobot.plugin.BotPlugin.on_request" title="melobot.plugin.BotPlugin.on_request"><code class="xref py py-meth docutils literal notranslate"><span class="pre">on_request()</span></code></a><code class="xref py py-meth docutils literal notranslate"><span class="pre">on_friend_request()</span></code><code class="xref py py-meth docutils literal notranslate"><span class="pre">on_group_request()</span></code></p></li>
<li><p>绑定一个消息事件的处理方法:<a class="reference internal" href="../api/melobot.plugin.html#melobot.plugin.BotPlugin.on_message" title="melobot.plugin.BotPlugin.on_message"><code class="xref py py-meth docutils literal notranslate"><span class="pre">on_message()</span></code></a><a class="reference internal" href="../api/melobot.plugin.html#melobot.plugin.BotPlugin.on_at_qq" title="melobot.plugin.BotPlugin.on_at_qq"><code class="xref py py-meth docutils literal notranslate"><span class="pre">on_at_qq()</span></code></a><a class="reference internal" href="../api/melobot.plugin.html#melobot.plugin.BotPlugin.on_command" title="melobot.plugin.BotPlugin.on_command"><code class="xref py py-meth docutils literal notranslate"><span class="pre">on_command()</span></code></a><a class="reference internal" href="../api/melobot.plugin.html#melobot.plugin.BotPlugin.on_start_match" title="melobot.plugin.BotPlugin.on_start_match"><code class="xref py py-meth docutils literal notranslate"><span class="pre">on_start_match()</span></code></a><a class="reference internal" href="../api/melobot.plugin.html#melobot.plugin.BotPlugin.on_contain_match" title="melobot.plugin.BotPlugin.on_contain_match"><code class="xref py py-meth docutils literal notranslate"><span class="pre">on_contain_match()</span></code></a><a class="reference internal" href="../api/melobot.plugin.html#melobot.plugin.BotPlugin.on_full_match" title="melobot.plugin.BotPlugin.on_full_match"><code class="xref py py-meth docutils literal notranslate"><span class="pre">on_full_match()</span></code></a><a class="reference internal" href="../api/melobot.plugin.html#melobot.plugin.BotPlugin.on_end_match" title="melobot.plugin.BotPlugin.on_end_match"><code class="xref py py-meth docutils literal notranslate"><span class="pre">on_end_match()</span></code></a><a class="reference internal" href="../api/melobot.plugin.html#melobot.plugin.BotPlugin.on_regex_match" title="melobot.plugin.BotPlugin.on_regex_match"><code class="xref py py-meth docutils literal notranslate"><span class="pre">on_regex_match()</span></code></a></p></li>
<li><p>绑定一个请求事件的处理方法:<a class="reference internal" href="../api/melobot.plugin.html#melobot.plugin.BotPlugin.on_request" title="melobot.plugin.BotPlugin.on_request"><code class="xref py py-meth docutils literal notranslate"><span class="pre">on_request()</span></code></a></p></li>
<li><p>绑定一个通知事件的处理方法:<a class="reference internal" href="../api/melobot.plugin.html#melobot.plugin.BotPlugin.on_notice" title="melobot.plugin.BotPlugin.on_notice"><code class="xref py py-meth docutils literal notranslate"><span class="pre">on_notice()</span></code></a></p></li>
<li><p>绑定一个元事件的处理方法:<a class="reference internal" href="../api/melobot.plugin.html#melobot.plugin.BotPlugin.on_meta_event" title="melobot.plugin.BotPlugin.on_meta_event"><code class="xref py py-meth docutils literal notranslate"><span class="pre">on_meta_event()</span></code></a></p></li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit 54b36d9

Please sign in to comment.