LiteyukiBot/assets/on.html-D9aaBFCR.js

2 lines
3.4 KiB
JavaScript

import{_ as e,o as r,c as t,e as o}from"./app-vZ92a7EE.js";const i={},a=o('<h3 id="def-on-message-rule-rule-priority-int-block-bool-matcher" tabindex="-1"><a class="header-anchor" href="#def-on-message-rule-rule-priority-int-block-bool-matcher"><span><em><strong>def</strong></em> <code>on_message(rule: Rule, priority: int, block: bool) -&gt; Matcher</code></span></a></h3><h3 id="var-current-priority-1" tabindex="-1"><a class="header-anchor" href="#var-current-priority-1"><span><em><strong>var</strong></em> <code>current_priority = -1</code></span></a></h3><h3 id="var-matcher-matcher-rule-priority-block" tabindex="-1"><a class="header-anchor" href="#var-matcher-matcher-rule-priority-block"><span><em><strong>var</strong></em> <code>matcher = Matcher(rule, priority, block)</code></span></a></h3><h3 id="var-current-priority-matcher-priority" tabindex="-1"><a class="header-anchor" href="#var-current-priority-matcher-priority"><span><em><strong>var</strong></em> <code>current_priority = matcher.priority</code></span></a></h3>',4),c=[a];function n(l,s){return r(),t("div",null,c)}const h=e(i,[["render",n],["__file","on.html.vue"]]),m=JSON.parse('{"path":"/dev/api/message/on.html","title":"liteyuki.message.on","lang":"zh-CN","frontmatter":{"title":"liteyuki.message.on","order":1,"icon":"laptop-code","category":"API","description":"def on_message(rule: Rule, priority: int, block: bool) -> Matcher var current_priority = -1 var matcher = Matcher(rule, priority, block) var current_priority = matcher.priority","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/message/on.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/message/on.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.message.on"}],["meta",{"property":"og:description","content":"def on_message(rule: Rule, priority: int, block: bool) -> Matcher var current_priority = -1 var matcher = Matcher(rule, priority, block) var current_priority = matcher.priority"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.message.on\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def on_message(rule: Rule, priority: int, block: bool) -> Matcher","slug":"def-on-message-rule-rule-priority-int-block-bool-matcher","link":"#def-on-message-rule-rule-priority-int-block-bool-matcher","children":[]},{"level":3,"title":"var current_priority = -1","slug":"var-current-priority-1","link":"#var-current-priority-1","children":[]},{"level":3,"title":"var matcher = Matcher(rule, priority, block)","slug":"var-matcher-matcher-rule-priority-block","link":"#var-matcher-matcher-rule-priority-block","children":[]},{"level":3,"title":"var current_priority = matcher.priority","slug":"var-current-priority-matcher-priority","link":"#var-current-priority-matcher-priority","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.1,"words":30},"filePathRelative":"dev/api/message/on.md","autoDesc":true}');export{h as comp,m as data};