Skip to content

Commit

Permalink
deploy: 07e4507
Browse files Browse the repository at this point in the history
  • Loading branch information
lc-cn committed Oct 9, 2023
1 parent 44c7726 commit 5e9f436
Show file tree
Hide file tree
Showing 103 changed files with 261 additions and 261 deletions.
4 changes: 2 additions & 2 deletions 404.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions api/adapter.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
<meta name="description" content="轻量、优雅的开发机器人">
<link rel="preload stylesheet" href="/assets/style.262150a7.css" as="style">

<script type="module" src="/assets/app.e080769b.js"></script>
<script type="module" src="/assets/app.00681d72.js"></script>
<link rel="preload" href="/assets/inter-roman-latin.2ed14f66.woff2" as="font" type="font/woff2" crossorigin="">
<link rel="modulepreload" href="/assets/chunks/framework.92ce8a2a.js">
<link rel="modulepreload" href="/assets/chunks/theme.02d3cd58.js">
<link rel="modulepreload" href="/assets/api_adapter.md.6f50b6a9.lean.js">
<link rel="modulepreload" href="/assets/chunks/framework.a70ca97d.js">
<link rel="modulepreload" href="/assets/chunks/theme.07c38e36.js">
<link rel="modulepreload" href="/assets/api_adapter.md.b2229641.lean.js">
<meta name="theme-color" content="#3c8772">
<script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
<script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
Expand Down Expand Up @@ -78,7 +78,7 @@
<span class="line"><span style="color:#24292E;"> Bot: Bot.botConstructors[protocol],</span></span>
<span class="line"><span style="color:#24292E;"> };</span></span>
<span class="line"><span style="color:#24292E;">}</span></span></code></pre></div></div></div></main><footer class="VPDocFooter" data-v-e521b9a4 data-v-9519b7ec><!--[--><!--]--><div class="edit-info" data-v-9519b7ec><div class="edit-link" data-v-9519b7ec><a class="VPLink link vp-external-link-icon no-icon edit-link-button" href="https://github.com/zhinjs/zhin/edit/master/docs/src/api/adapter.md" target="_blank" rel="noreferrer" data-v-9519b7ec><!--[--><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="edit-link-icon" aria-label="edit icon" data-v-9519b7ec><path d="M18,23H4c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h7c0.6,0,1,0.4,1,1s-0.4,1-1,1H4C3.4,5,3,5.4,3,6v14c0,0.6,0.4,1,1,1h14c0.6,0,1-0.4,1-1v-7c0-0.6,0.4-1,1-1s1,0.4,1,1v7C21,21.7,19.7,23,18,23z"></path><path d="M8,17c-0.3,0-0.5-0.1-0.7-0.3C7,16.5,6.9,16.1,7,15.8l1-4c0-0.2,0.1-0.3,0.3-0.5l9.5-9.5c1.2-1.2,3.2-1.2,4.4,0c1.2,1.2,1.2,3.2,0,4.4l-9.5,9.5c-0.1,0.1-0.3,0.2-0.5,0.3l-4,1C8.2,17,8.1,17,8,17zM9.9,12.5l-0.5,2.1l2.1-0.5l9.3-9.3c0.4-0.4,0.4-1.1,0-1.6c-0.4-0.4-1.2-0.4-1.6,0l0,0L9.9,12.5z M18.5,2.5L18.5,2.5L18.5,2.5z"></path></svg> 修正文档<!--]--></a></div><div class="last-updated" data-v-9519b7ec><p class="VPLastUpdated" data-v-9519b7ec data-v-9da12f1d>上次更新时间: <time datetime="2023-09-22T01:24:31.000Z" data-v-9da12f1d></time></p></div></div><nav class="prev-next" data-v-9519b7ec><div class="pager" data-v-9519b7ec><a class="pager-link prev" href="/api/service.html" data-v-9519b7ec><span class="desc" data-v-9519b7ec>上一节</span><span class="title" data-v-9519b7ec>服务</span></a></div><div class="pager" data-v-9519b7ec><a class="pager-link next" href="/api/bot.html" data-v-9519b7ec><span class="desc" data-v-9519b7ec>下一节</span><span class="title" data-v-9519b7ec>机器人</span></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-63b43b87 data-v-55867999><div class="container" data-v-55867999><p class="message" data-v-55867999>Released under the <a href="https://github.com/zhinjs/zhin/blob/master/LICENSE">MIT License</a>.</p><p class="copyright" data-v-55867999>Copyright © 2022-2023 <a href="https://github.com/lc-cn">凉菜</a></p></div></footer><!--[--><!--]--></div></div>
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api_adapter.md\":\"6f50b6a9\",\"api_service-router.md\":\"39103ed0\",\"api_service-server.md\":\"1f88d64b\",\"api_service-koa.md\":\"242dc76e\",\"api_bot.md\":\"0c1c4c65\",\"guide_config.md\":\"4b5bf972\",\"api_service.md\":\"5a114de9\",\"api_session.md\":\"e4da566a\",\"api_render-template.md\":\"062634d6\",\"config_adapter-icqq.md\":\"afa28d66\",\"api_zhin.md\":\"0100760c\",\"api_event_map.md\":\"54c622e9\",\"api_index.md\":\"eeb9d294\",\"config_adapter-onebot.md\":\"62c102dc\",\"guide_command.md\":\"a5f9dce0\",\"api_context.md\":\"c6253daa\",\"config_common.md\":\"0c75fc46\",\"config_built-plugin.md\":\"a5725e00\",\"guide_bot.md\":\"6b1c20fb\",\"guide_component.md\":\"214c2185\",\"guide_deploy.md\":\"c84c69c0\",\"guide_prepare.md\":\"4f967516\",\"guide_repeater.md\":\"e4c94440\",\"guide_prompt.md\":\"cc0fbe14\",\"guide_start.md\":\"124d279d\",\"index.md\":\"9c62e22e\",\"guide_plugin.md\":\"ac9658fb\",\"api_command.md\":\"a2be7bff\",\"api_message.md\":\"177a6532\",\"api_render-component.md\":\"8f680310\",\"api_render-element.md\":\"7225b815\",\"guide_decorator.md\":\"96d2ae67\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"zh-CN\",\"dir\":\"ltr\",\"title\":\"知音(Zhin)\",\"titleTemplate\":\":title - 知音(Zhin)\",\"description\":\"轻量、优雅的开发机器人\",\"base\":\"/\",\"head\":[],\"appearance\":true,\"themeConfig\":{\"search\":{\"provider\":\"algolia\",\"options\":{\"appId\":\"JJ7HNQWQ9J\",\"apiKey\":\"be3cc799b1d0dd165a4bd11a006690b8\",\"indexName\":\"zhin\",\"locales\":{\"zh\":{\"placeholder\":\"搜索文档\",\"translations\":{\"button\":{\"buttonText\":\"搜索文档\",\"buttonAriaLabel\":\"搜索文档\"},\"modal\":{\"searchBox\":{\"resetButtonTitle\":\"清除查询条件\",\"resetButtonAriaLabel\":\"清除查询条件\",\"cancelButtonText\":\"取消\",\"cancelButtonAriaLabel\":\"取消\"},\"startScreen\":{\"recentSearchesTitle\":\"搜索历史\",\"noRecentSearchesText\":\"没有搜索历史\",\"saveRecentSearchButtonTitle\":\"保存至搜索历史\",\"removeRecentSearchButtonTitle\":\"从搜索历史中移除\",\"favoriteSearchesTitle\":\"收藏\",\"removeFavoriteSearchButtonTitle\":\"从收藏中移除\"},\"errorScreen\":{\"titleText\":\"无法获取结果\",\"helpText\":\"你可能需要检查你的网络连接\"},\"footer\":{\"selectText\":\"选择\",\"navigateText\":\"切换\",\"closeText\":\"关闭\",\"searchByText\":\"搜索提供者\"},\"noResultsScreen\":{\"noResultsText\":\"无法找到相关结果\",\"suggestedQueryText\":\"你可以尝试查询\",\"reportMissingResultsText\":\"你认为该查询应该有结果?\",\"reportMissingResultsLinkText\":\"点击反馈\"}}}}}}},\"nav\":[{\"text\":\"开始\",\"link\":\"/guide/start\",\"activeMatch\":\"/guide/\"},{\"text\":\"配置\",\"link\":\"/config/common\",\"activeMatch\":\"/config/\"},{\"text\":\"API\",\"link\":\"/api/zhin\",\"activeMatch\":\"/api/\"},{\"text\":\"2.4.3\",\"items\":[{\"text\":\"Changelog\",\"link\":\"https://github.com/zhinjs/zhin/blob/main/CHANGELOG.md\"},{\"text\":\"贡献\",\"link\":\"https://github.com/zhinjs/zhin/blob/main/.github/contributing.md\"}]}],\"sidebar\":{\"/guide/\":[{\"text\":\"介绍\",\"collapsible\":true,\"items\":[{\"text\":\"准备工作\",\"link\":\"/guide/prepare\"},{\"text\":\"安装\",\"link\":\"/guide/start\"},{\"text\":\"HelloWorld\",\"link\":\"/guide/repeater\"}]},{\"text\":\"深入了解\",\"collapsible\":true,\"items\":[{\"text\":\"插件 - Plugin\",\"link\":\"/guide/plugin\"},{\"text\":\"指令 - Command\",\"link\":\"/guide/command\"},{\"text\":\"可交互输入 - Prompt\",\"link\":\"/guide/prompt\"},{\"text\":\"组件 - Component\",\"link\":\"/guide/component\"},{\"text\":\"Bot API\",\"link\":\"/guide/bot\"},{\"text\":\"装饰器(实验性)\",\"link\":\"/guide/decorator\"}]},{\"text\":\"部署\",\"link\":\"/guide/deploy\"}],\"/api/\":[{\"text\":\"目录\",\"link\":\"/api/\"},{\"text\":\"核心模块\",\"collapsible\":true,\"items\":[{\"text\":\"知音\",\"link\":\"/api/zhin\"},{\"text\":\"服务\",\"link\":\"/api/service\"},{\"text\":\"适配器\",\"link\":\"/api/adapter\"},{\"text\":\"机器人\",\"link\":\"/api/bot\"},{\"text\":\"指令\",\"link\":\"/api/command\"},{\"text\":\"上下文\",\"link\":\"/api/context\"},{\"text\":\"会话\",\"link\":\"/api/session\"}]},{\"text\":\"消息定义\",\"link\":\"/api/message\"},{\"text\":\"内置服务\",\"collapsible\":true,\"items\":[{\"text\":\"server\",\"link\":\"/api/service-server\"},{\"text\":\"router\",\"link\":\"/api/service-router\"},{\"text\":\"koa\",\"link\":\"/api/service-koa\"}]},{\"text\":\"事件系统\",\"collapsible\":true,\"items\":[{\"text\":\"事件地图\",\"link\":\"/api/event/map\"}]}],\"/config\":[{\"text\":\"通用配置\",\"link\":\"/config/common\"},{\"text\":\"适配器\",\"collapsible\":true,\"items\":[{\"text\":\"icqq\",\"link\":\"/config/adapter-icqq\"},{\"text\":\"onebot\",\"link\":\"/config/adapter-onebot\"}]},{\"text\":\"内置插件\",\"link\":\"/config/built-plugin\"}]},\"footer\":{\"message\":\"Released under the <a href=\\\"https://github.com/zhinjs/zhin/blob/master/LICENSE\\\">MIT License</a>.\",\"copyright\":\"Copyright © 2022-2023 <a href=\\\"https://github.com/lc-cn\\\">凉菜</a>\"},\"editLink\":{\"pattern\":\"https://github.com/zhinjs/zhin/edit/master/docs/src/:path\",\"text\":\"修正文档\"},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/zhinjs/zhin\"}],\"lastUpdatedText\":\"上次更新时间\",\"docFooter\":{\"prev\":\"上一节\",\"next\":\"下一节\"}},\"locales\":{},\"scrollOffset\":90,\"cleanUrls\":false}");</script>
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api_adapter.md\":\"b2229641\",\"guide_prompt.md\":\"79c1bde5\",\"api_zhin.md\":\"9004c8b6\",\"config_adapter-onebot.md\":\"96719c7e\",\"api_service.md\":\"1f0216ca\",\"api_service-server.md\":\"7b1e07ad\",\"api_command.md\":\"bcaa6806\",\"api_session.md\":\"31b1c322\",\"api_context.md\":\"a1666a56\",\"config_common.md\":\"64e1f1d8\",\"config_built-plugin.md\":\"92642de5\",\"config_adapter-icqq.md\":\"a60a05db\",\"api_bot.md\":\"e78c3c45\",\"api_message.md\":\"20479619\",\"api_render-component.md\":\"ab2e9db1\",\"api_render-element.md\":\"879d066d\",\"api_service-koa.md\":\"bb821993\",\"api_event_map.md\":\"492cc266\",\"api_service-router.md\":\"3a3ed283\",\"api_index.md\":\"ef77c987\",\"guide_start.md\":\"c32296c5\",\"guide_plugin.md\":\"71fd8879\",\"api_render-template.md\":\"7efaa8b1\",\"guide_component.md\":\"b75d5907\",\"guide_repeater.md\":\"b7a12305\",\"guide_command.md\":\"d56fb897\",\"guide_bot.md\":\"f961e6f6\",\"guide_config.md\":\"f8fcfade\",\"guide_decorator.md\":\"380837fa\",\"guide_deploy.md\":\"5067e783\",\"guide_prepare.md\":\"640d5bab\",\"index.md\":\"8a1cb2e3\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"zh-CN\",\"dir\":\"ltr\",\"title\":\"知音(Zhin)\",\"titleTemplate\":\":title - 知音(Zhin)\",\"description\":\"轻量、优雅的开发机器人\",\"base\":\"/\",\"head\":[],\"appearance\":true,\"themeConfig\":{\"search\":{\"provider\":\"algolia\",\"options\":{\"appId\":\"JJ7HNQWQ9J\",\"apiKey\":\"be3cc799b1d0dd165a4bd11a006690b8\",\"indexName\":\"zhin\",\"locales\":{\"zh\":{\"placeholder\":\"搜索文档\",\"translations\":{\"button\":{\"buttonText\":\"搜索文档\",\"buttonAriaLabel\":\"搜索文档\"},\"modal\":{\"searchBox\":{\"resetButtonTitle\":\"清除查询条件\",\"resetButtonAriaLabel\":\"清除查询条件\",\"cancelButtonText\":\"取消\",\"cancelButtonAriaLabel\":\"取消\"},\"startScreen\":{\"recentSearchesTitle\":\"搜索历史\",\"noRecentSearchesText\":\"没有搜索历史\",\"saveRecentSearchButtonTitle\":\"保存至搜索历史\",\"removeRecentSearchButtonTitle\":\"从搜索历史中移除\",\"favoriteSearchesTitle\":\"收藏\",\"removeFavoriteSearchButtonTitle\":\"从收藏中移除\"},\"errorScreen\":{\"titleText\":\"无法获取结果\",\"helpText\":\"你可能需要检查你的网络连接\"},\"footer\":{\"selectText\":\"选择\",\"navigateText\":\"切换\",\"closeText\":\"关闭\",\"searchByText\":\"搜索提供者\"},\"noResultsScreen\":{\"noResultsText\":\"无法找到相关结果\",\"suggestedQueryText\":\"你可以尝试查询\",\"reportMissingResultsText\":\"你认为该查询应该有结果?\",\"reportMissingResultsLinkText\":\"点击反馈\"}}}}}}},\"nav\":[{\"text\":\"开始\",\"link\":\"/guide/start\",\"activeMatch\":\"/guide/\"},{\"text\":\"配置\",\"link\":\"/config/common\",\"activeMatch\":\"/config/\"},{\"text\":\"API\",\"link\":\"/api/zhin\",\"activeMatch\":\"/api/\"},{\"text\":\"2.4.3\",\"items\":[{\"text\":\"Changelog\",\"link\":\"https://github.com/zhinjs/zhin/blob/main/CHANGELOG.md\"},{\"text\":\"贡献\",\"link\":\"https://github.com/zhinjs/zhin/blob/main/.github/contributing.md\"}]}],\"sidebar\":{\"/guide/\":[{\"text\":\"介绍\",\"collapsible\":true,\"items\":[{\"text\":\"准备工作\",\"link\":\"/guide/prepare\"},{\"text\":\"安装\",\"link\":\"/guide/start\"},{\"text\":\"HelloWorld\",\"link\":\"/guide/repeater\"}]},{\"text\":\"深入了解\",\"collapsible\":true,\"items\":[{\"text\":\"插件 - Plugin\",\"link\":\"/guide/plugin\"},{\"text\":\"指令 - Command\",\"link\":\"/guide/command\"},{\"text\":\"可交互输入 - Prompt\",\"link\":\"/guide/prompt\"},{\"text\":\"组件 - Component\",\"link\":\"/guide/component\"},{\"text\":\"Bot API\",\"link\":\"/guide/bot\"},{\"text\":\"装饰器(实验性)\",\"link\":\"/guide/decorator\"}]},{\"text\":\"部署\",\"link\":\"/guide/deploy\"}],\"/api/\":[{\"text\":\"目录\",\"link\":\"/api/\"},{\"text\":\"核心模块\",\"collapsible\":true,\"items\":[{\"text\":\"知音\",\"link\":\"/api/zhin\"},{\"text\":\"服务\",\"link\":\"/api/service\"},{\"text\":\"适配器\",\"link\":\"/api/adapter\"},{\"text\":\"机器人\",\"link\":\"/api/bot\"},{\"text\":\"指令\",\"link\":\"/api/command\"},{\"text\":\"上下文\",\"link\":\"/api/context\"},{\"text\":\"会话\",\"link\":\"/api/session\"}]},{\"text\":\"消息定义\",\"link\":\"/api/message\"},{\"text\":\"内置服务\",\"collapsible\":true,\"items\":[{\"text\":\"server\",\"link\":\"/api/service-server\"},{\"text\":\"router\",\"link\":\"/api/service-router\"},{\"text\":\"koa\",\"link\":\"/api/service-koa\"}]},{\"text\":\"事件系统\",\"collapsible\":true,\"items\":[{\"text\":\"事件地图\",\"link\":\"/api/event/map\"}]}],\"/config\":[{\"text\":\"通用配置\",\"link\":\"/config/common\"},{\"text\":\"适配器\",\"collapsible\":true,\"items\":[{\"text\":\"icqq\",\"link\":\"/config/adapter-icqq\"},{\"text\":\"onebot\",\"link\":\"/config/adapter-onebot\"}]},{\"text\":\"内置插件\",\"link\":\"/config/built-plugin\"}]},\"footer\":{\"message\":\"Released under the <a href=\\\"https://github.com/zhinjs/zhin/blob/master/LICENSE\\\">MIT License</a>.\",\"copyright\":\"Copyright © 2022-2023 <a href=\\\"https://github.com/lc-cn\\\">凉菜</a>\"},\"editLink\":{\"pattern\":\"https://github.com/zhinjs/zhin/edit/master/docs/src/:path\",\"text\":\"修正文档\"},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/zhinjs/zhin\"}],\"lastUpdatedText\":\"上次更新时间\",\"docFooter\":{\"prev\":\"上一节\",\"next\":\"下一节\"}},\"locales\":{},\"scrollOffset\":90,\"cleanUrls\":false}");</script>

</body>
</html>
Loading

0 comments on commit 5e9f436

Please sign in to comment.