{"id":228,"date":"2026-08-22T19:58:15","date_gmt":"2026-08-22T11:58:15","guid":{"rendered":"https:\/\/blog.huajimc.cn\/?p=228"},"modified":"2026-08-22T20:30:04","modified_gmt":"2026-08-22T12:30:04","slug":"napcat-nonebot2-qq-bot","status":"publish","type":"post","link":"https:\/\/blog.huajimc.cn\/index.php\/2026\/08\/22\/napcat-nonebot2-qq-bot\/","title":{"rendered":"\u57fa\u4e8e NapCat \u548c NoneBot2 \u642d\u5efa QQ \u673a\u5668\u4eba"},"content":{"rendered":"<blockquote>\n<p>\u672c\u6587\u5c06\u624b\u628a\u624b\u6307\u5bfc\u4f60\u5b8c\u6210\u534f\u8bae\u7aef Napcat \u7684\u90e8\u7f72\u4ee5\u53ca\u501f\u52a9 Nonebot2 WebUI \u8fdb\u884c NoneBot2 \u673a\u5668\u4eba\u7684\u521b\u5efa\u3001\u7ba1\u7406\u4e0e\u5f00\u53d1\uff0c\u9ad8\u6548\u5feb\u901f\u5730\u5b8c\u6210 QQ \u673a\u5668\u4eba\u7684\u642d\u5efa\u53ca\u5b9a\u5236\u5316\u63d2\u4ef6\u5f00\u53d1\u3002<\/p>\n<\/blockquote>\n<h2>\u4e00\u3001\u7ec4\u4ef6\u4ecb\u7ecd<\/h2>\n<p><strong><a href=\"https:\/\/github.com\/nonebot\/nonebot2\" title=\"Github\/nonebot2\" target=\"_blank\"  rel=\"nofollow\" >NoneBot2<\/a> \u662f\u4e00\u4e2a\u73b0\u4ee3\u3001\u8de8\u5e73\u53f0\u3001\u53ef\u6269\u5c55\u7684 Python \u5f02\u6b65\u673a\u5668\u4eba\u6846\u67b6\u3002<\/strong>\u5b83\u672c\u8eab\u4e0d\u76f4\u63a5\u4e0e\u804a\u5929\u8f6f\u4ef6\u901a\u4fe1\uff0c\u800c\u662f\u7531\u4e8b\u4ef6\u9a71\u52a8\uff0c\u4e13\u6ce8\u4e8e\u5904\u7406\u63a5\u6536\u5230\u7684\u6d88\u606f\u4e8b\u4ef6\uff0c\u540c\u65f6\u91c7\u7528\u63d2\u4ef6\u5316\u67b6\u6784\uff0c\u6240\u6709\u673a\u5668\u4eba\u529f\u80fd\u90fd\u4ee5\u63d2\u4ef6\u5f62\u5f0f\u8fd0\u884c\uff0c\u901a\u8fc7\u63d2\u4ef6\u5b8c\u6210\u6d88\u606f\u5904\u7406\u548c\u56de\u590d\u3002<\/p>\n<p><strong><a href=\"https:\/\/napneko.github.io\/\" title=\"NapCat\" target=\"_blank\"  rel=\"nofollow\" >NapCat<\/a> \u662f\u4e00\u4e2a\u57fa\u4e8e NTQQ \u534f\u8bae\u7684 OneBot \u534f\u8bae\u5b9e\u73b0\u6846\u67b6<\/strong>\u3002\u5b83\u8d1f\u8d23\u4e0e QQ \u8fdb\u884c\u901a\u4fe1\uff0c\u8ba9\u673a\u5668\u4eba\u8d26\u53f7\u767b\u5f55 QQ\uff0c\u5b9e\u73b0\u6d88\u606f\u7684\u63a5\u6536\u4e0e\u53d1\u9001\u3002\u5e76\u5c06 QQ \u5185\u90e8\u901a\u4fe1\u534f\u8bae\u6807\u51c6\u5316\u4e3a OneBot v11 \u534f\u8bae\u683c\u5f0f\uff0c\u662f\u8fde\u63a5 QQ \u548c NoneBot2 \u7684\u6865\u6881\u3002\u5b83\u672c\u8eab\u4e0d\u5305\u542b\u4e1a\u52a1\u903b\u8f91\uff0c\u4ec5\u4f5c\u4e3a\u6d88\u606f\u901a\u9053\u5c42\u3002<\/p>\n<p><strong><a href=\"https:\/\/github.com\/HuajiMX\/nonebot-webui\" title=\"Github\/nonebot-webui\" target=\"_blank\"  rel=\"nofollow\" >Nonebot2 WebUI<\/a> \u662f\u4e00\u4e2a\u672c\u5730\u7f51\u9875\u7ba1\u7406\u9762\u677f\uff0c\u4e3a NoneBot2 \u673a\u5668\u4eba\u63d0\u4f9b\u4e00\u7ad9\u5f0f\u7ba1\u7406\u3002<\/strong>\u4e0d\u7528\u8bb0\u547d\u4ee4\u3001\u4e0d\u7528\u78b0\u4ee3\u7801\uff0c\u521b\u5efa\u673a\u5668\u4eba\u3001\u7f16\u5199\u63d2\u4ef6\u3001\u67e5\u770b\u65e5\u5fd7\u3001\u6253\u5f00\u7ec8\u7aef\u3001\u76d1\u63a7\u670d\u52a1\u5668\uff0c\u5168\u90e8\u5728\u6d4f\u89c8\u5668\u91cc\u4ee5\u53ef\u89c6\u5316\u65b9\u5f0f\u5b8c\u6210\uff0c\u6781\u5927\u5730\u65b9\u4fbf\u4e86 NoneBot2 \u673a\u5668\u4eba\u7684\u7ba1\u7406\u548c\u5f00\u53d1\u3002<\/p>\n<p>NapCat \u4e0e NoneBot2 \u7684\u534f\u4f5c\u65b9\u5f0f\u5982\u4e0b\u56fe\uff1a<\/p>\n<pre><code class=\"language-mermaid\">sequenceDiagram\n    participant User as QQ\u597d\u53cb\n    participant NC as NapCat\n    participant NB as NoneBot2\n    participant Plugin as \u4f60\u7684\u63d2\u4ef6\n\n    User-&gt;&gt;NC: 1. \u53d1\u9001\u6d88\u606f\n    NC-&gt;&gt;NC: 2. \u8f6c\u6362\u4e3a\u6807\u51c6OneBot\u683c\u5f0f\n    NC-&gt;&gt;NB: 3. \u901a\u8fc7WebSocket\u4e0a\u62a5\u4e8b\u4ef6\n    NB-&gt;&gt;Plugin: 4. \u5206\u53d1\u4e8b\u4ef6\u7ed9\u5bf9\u5e94\u63d2\u4ef6\n    Plugin-&gt;&gt;Plugin: 5. \u6267\u884c\u903b\u8f91\u5904\u7406\n    Plugin-&gt;&gt;NB: 6. \u8fd4\u56de\u56de\u590d\u5185\u5bb9\n    NB-&gt;&gt;NC: 7. \u4e0b\u53d1\u56de\u590d\u6307\u4ee4\n    NC-&gt;&gt;User: 8. \u8c03\u7528QQ\u63a5\u53e3\u53d1\u9001\u56de\u590d<\/code><\/pre>\n<h2>\u4e8c\u3001\u51c6\u5907\u5de5\u4f5c<\/h2>\n<ul>\n<li><strong>Python<\/strong>\uff1a3.10+<\/li>\n<li><strong>python3-venv<\/strong>\uff1a<code>Debian \/ Ubuntu<\/code> \u7684 Python \u9ed8\u8ba4\u4e0d\u6253\u5305 venv\uff08ensurepip\uff09\u6a21\u5757\uff0c\u9700\u8981\u5148\u88c5 <code>sudo apt install python3 python3-venv<\/code>\uff0c\u5176\u4ed6\u7cfb\u7edf\u7528\u6237\u8bf7\u5ffd\u7565\u672c\u6761<\/li>\n<li><strong>QQ \u8d26\u53f7<\/strong>\uff1a\u4f7f\u7528\u5c0f\u53f7\uff0c\u4f5c\u4e3a\u673a\u5668\u4eba\u8d26\u53f7\uff08\u56e0\u4e3a\u6709\u4e00\u5b9a\u5c01\u53f7\u98ce\u9669\uff09<\/li>\n<\/ul>\n<blockquote>\n<p>\u672c\u6587\u4ee5 Linux \u73af\u5883\u8fdb\u884c\u8bb2\u89e3\uff0cWindows\/MacOS \u73af\u5883\u7684\u90e8\u7f72\u65b9\u5f0f\u5927\u540c\u5c0f\u5f02\uff0c\u5982\u9047\u95ee\u9898\u8bf7\u67e5\u9605\u6587\u672b<strong>\u5b98\u65b9\u6587\u6863<\/strong><\/p>\n<\/blockquote>\n<h2>\u4e09\u3001\u5b89\u88c5\u548c\u90e8\u7f72 NapCat<\/h2>\n<h3>3.1 \u5b89\u88c5<\/h3>\n<h4>3.1.1 Windows \u4e00\u952e\u5b89\u88c5<\/h4>\n<ol>\n<li>\u524d\u5f80 <a href=\"https:\/\/github.com\/NapNeko\/NapCatQQ\/releases\" title=\"Github\/NapCatQQ\/releases\" target=\"_blank\"  rel=\"nofollow\" >NapCatQQ \u7684 Releases \u9875\u9762<\/a> \u4e0b\u8f7d <code>NapCat.Shell.Windows.OneKey.zip<\/code> \u65e0\u5934\u7eff\u8272\u7248\u672c\u89e3\u538b<\/li>\n<li>\u70b9\u51fb <code>NapCatInstaller.exe<\/code> \u7b49\u5f85\u81ea\u52a8\u5316\u914d\u7f6e<\/li>\n<li>\u8fdb\u53bb <code>NapCat.XXXX.Shell<\/code> \u76ee\u5f55<\/li>\n<li>\u542f\u52a8 <code>napcat.bat<\/code><\/li>\n<\/ol>\n<h4>3.1.2 Linux \u4e00\u952e\u5b89\u88c5\u547d\u4ee4<\/h4>\n<pre><code class=\"language-shell\">curl -o \\\nnapcat.sh \\\nhttps:\/\/nclatest.znin.net\/NapNeko\/NapCat-Installer\/main\/script\/install.sh \\\n&amp;&amp; bash napcat.sh<\/code><\/pre>\n<p>\u5982\u679c\u5b98\u65b9\u6e90\u65e0\u6cd5\u4e0b\u8f7d\uff0c\u53ef\u91c7\u7528\u4ee5\u4e0b\u547d\u4ee4\u4ece Github \u62c9\u53d6\uff1a<\/p>\n<pre><code class=\"language-shell\">curl -o \\\nnapcat.sh \\\nhttps:\/\/raw.githubusercontent.com\/NapNeko\/NapCat-Installer\/main\/script\/install.sh \\\n&amp;&amp; bash napcat.sh<\/code><\/pre>\n<h3>3.2 \u914d\u7f6e<\/h3>\n<h4>3.2.1 \u542f\u52a8 NapCat<\/h4>\n<p><strong>Windows<\/strong> \u4e0b\u53cc\u51fb <code>napcat.bat<\/code> \u542f\u52a8\uff0c\u968f\u540e\u6253\u5f00 WebUI\uff1b<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.huajimc.cn\/wp-content\/uploads\/2026\/08\/1787388352-3a1417cd-74a9-45e3-a43f-c8c56dca48c5.png\" alt=\"Windows WebUI\" title=\"Windows WebUI\" \/><\/p>\n<p><strong>Linux<\/strong> \u4e0b\u6267\u884c <code>napcat<\/code> \u547d\u4ee4\u542f\u52a8\uff0c\u8fdb\u5165 TUI \u754c\u9762\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.huajimc.cn\/wp-content\/uploads\/2026\/08\/1787319718-28b5c1ea-ed78-4037-80b0-bf9cbcc1d977.png\" alt=\"NapCat \u83dc\u5355\" title=\"NapCat \u83dc\u5355\" \/><\/p>\n<h4>3.2.2 \u767b\u5f55 QQ \u8d26\u53f7<\/h4>\n<p>\u8fdb\u5165\u83dc\u5355\u7684 <code>\u914d\u7f6e<\/code> \u9009\u9879\uff0c\u9009\u62e9 <code>\u6dfb\u52a0\u65b0\u8d26\u53f7<\/code>\uff0c\u8f93\u5165\u51c6\u5907\u597d\u7684\u673a\u5668\u4eba QQ \u53f7\uff0c\u63d0\u4ea4\u540e\u6dfb\u52a0\u6210\u529f\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.huajimc.cn\/wp-content\/uploads\/2026\/08\/1787387057-11e213ef-20fa-4aab-b9d3-c467d1160afc.png\" alt=\"\u6dfb\u52a0 QQ\" title=\"\u6dfb\u52a0 QQ\" \/><\/p>\n<p>\u7136\u540e\u8fdb\u5165\u5bf9\u5e94 QQ \u53f7\u7684\u914d\u7f6e\u9875\uff0c\u9009\u62e9 <code>\u53cd\u5411ws<\/code> \u8fdb\u884c\u914d\u7f6e\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.huajimc.cn\/wp-content\/uploads\/2026\/08\/1787401699-32a501c0-7666-4f63-b69a-e77705af62a4.png\" alt=\"\u914d\u7f6e QQ\" title=\"\u914d\u7f6e QQ\" \/><\/p>\n<p>\u540d\u79f0\u4efb\u610f\uff0cToken \u81ea\u5df1\u8bbe\u7f6e\u5e76\u59a5\u5584\u4fdd\u7ba1\uff0c\u5fc3\u8df3\u95f4\u9694\u4e0e\u91cd\u8fde\u95f4\u9694\u4fdd\u7559\u9ed8\u8ba4\u5373\u53ef\u3002<\/p>\n<p>Url \u586b <code>ws:\/\/127.0.0.1:8080\/onebot\/v11\/ws<\/code>\uff0c\u8fd9\u662f\u4e3a\u4e86\u5bf9\u63a5\u6211\u4eec\u7684 NoneBot2 \u670d\u52a1\uff0c<code>8080<\/code> \u662f NoneBot2 \u7684\u9ed8\u8ba4\u7aef\u53e3\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.huajimc.cn\/wp-content\/uploads\/2026\/08\/1787401700-c769aa47-78fc-4436-b6b1-27e803a14fb9.png\" alt=\"\u914d\u7f6e\u53cd\u5411 ws\" title=\"\u914d\u7f6e\u53cd\u5411 ws\" \/><\/p>\n<p>\u6d88\u606f\u683c\u5f0f\u63a8\u8350\u9009\u62e9 <code>\u6570\u7ec4<\/code>\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.huajimc.cn\/wp-content\/uploads\/2026\/08\/1787401702-8d9666d7-88c8-4171-b6b6-cacc5f54ecaf.png\" alt=\"\u6d88\u606f\u683c\u5f0f\" title=\"\u6d88\u606f\u683c\u5f0f\" \/><\/p>\n<p>\u914d\u7f6e\u5b8c\u6210\u540e\u56de\u5230\u83dc\u5355\u9875\uff0c\u9009\u62e9 <code>\u542f\u52a8<\/code> \u9009\u9879\uff0c\u9009\u62e9\u6211\u4eec\u7684\u673a\u5668\u4eba\u8d26\u53f7\u8fdb\u884c\u542f\u52a8\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.huajimc.cn\/wp-content\/uploads\/2026\/08\/1787401703-953761e6-f495-4e62-9f62-bd64576b4c61.png\" alt=\"\u542f\u52a8\u8d26\u53f7\" title=\"\u542f\u52a8\u8d26\u53f7\" \/><\/p>\n<p>\u4e4b\u540e\u4f1a\u751f\u6210\u4e00\u4e2a\u4e8c\u7ef4\u7801\uff0c\u6211\u4eec\u7528\u767b\u5f55\u4e86\u673a\u5668\u4eba\u8d26\u53f7\u7684 QQ \u626b\u7801\u767b\u5f55\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.huajimc.cn\/wp-content\/uploads\/2026\/08\/1787388610-9efe3c10-3c30-4c6e-96e0-331ac5addcd7.png\" alt=\"\u767b\u5f55 QQ\" title=\"\u767b\u5f55 QQ\" \/><\/p>\n<p>\u5bf9\u5e94\u8d26\u53f7\u72b6\u6001\u53d8\u4e3a <code>\u8fd0\u884c\u4e2d<\/code>\uff0c\u5373\u542f\u52a8\u6210\u529f\uff0cNapCat \u90e8\u5206\u7684\u914d\u7f6e\u4e5f\u5230\u6b64\u5b8c\u6210\uff01<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.huajimc.cn\/wp-content\/uploads\/2026\/08\/1787388770-f3401755-eadc-4e24-839a-7b31df9c07ad.png\" alt=\"\u6210\u529f\u8fd0\u884c\" title=\"\u6210\u529f\u8fd0\u884c\" \/><\/p>\n<h2>\u56db\u3001\u501f\u52a9 NoneBot2 WebUI \u5feb\u901f\u5b8c\u6210 NoneBot2 \u7684\u90e8\u7f72\u4e0e\u5f00\u53d1<\/h2>\n<h3>4.1 \u5b89\u88c5 NoneBot2 WebUI<\/h3>\n<p>\u9879\u76ee Github \u5730\u5740\uff1a<a href=\"https:\/\/github.com\/HuajiMX\/nonebot-webui\" target=\"_blank\"  rel=\"nofollow\" >NoneBot2 WebUI<\/a><\/p>\n<h4>4.1.1 Windows\uff08PowerShell\uff09<\/h4>\n<pre><code class=\"language-shell\">powershell -ExecutionPolicy Bypass -Command \"Invoke-WebRequest -Uri https:\/\/raw.githubusercontent.com\/HuajiMX\/nonebot-webui\/main\/install.ps1 -OutFile install.ps1; .\\install.ps1\"<\/code><\/pre>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u8fdb\u5165 <code>nonebot-webui<\/code> \u6587\u4ef6\u5939\uff0c\u53cc\u51fb <code>\u542f\u52a8WebUI.bat<\/code> \u6253\u5f00\u6d4f\u89c8\u5668 WebUI\u3002<\/p>\n<h4>4.1.2 Linux \/ macOS<\/h4>\n<pre><code class=\"language-shell\">curl -fsSL https:\/\/raw.githubusercontent.com\/HuajiMX\/nonebot-webui\/main\/install.sh -o install.sh &amp;&amp; bash install.sh<\/code><\/pre>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6267\u884c <code>cd nonebot-webui && .\/.venv\/bin\/python start.py<\/code>\uff0c\u7136\u540e\u6253\u5f00\u6d4f\u89c8\u5668\u8bbf\u95ee <code>http:\/\/127.0.0.1:9527<\/code>\uff0c\u6309\u63d0\u793a\u8bbe\u7f6e\u7ba1\u7406\u5458\u8d26\u53f7\uff0c\u5373\u53ef\u5f00\u59cb\u4f7f\u7528\u3002<\/p>\n<blockquote>\n<p>\u82e5\u90e8\u7f72\u5728\u8fdc\u7a0b\u670d\u52a1\u5668\uff0c\u9700\u8981\u672c\u5730\u8bbf\u95ee WebUI\uff0c\u8bf7\u5148\u653e\u884c\u670d\u52a1\u5668 <code>9527<\/code> \u7aef\u53e3\uff0c\u5e76\u5728\u672c\u5730\u8bbf\u95ee <code>http:\/\/[\u670d\u52a1\u5668 IP]:9527<\/code>\u3002<\/p>\n<\/blockquote>\n<h3>4.2 \u542f\u52a8 WebUI<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/blog.huajimc.cn\/wp-content\/uploads\/2026\/08\/1787391616-37e25c983ece1844107d1e01ae10d394.png\" alt=\"\u5b89\u88c5\u5b8c\u6210\u5e76\u542f\u52a8\" title=\"\u5b89\u88c5\u5b8c\u6210\u5e76\u542f\u52a8\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.huajimc.cn\/wp-content\/uploads\/2026\/08\/1787391717-e019d375-1037-4bda-b48f-abaeacf4d84b-2048x1171.png\" alt=\"\u767b\u5f55 WebUI\" title=\"\u767b\u5f55 WebUI\" \/><\/p>\n<h3>4.3 \u673a\u5668\u4eba\u7ba1\u7406<\/h3>\n<p>\u901a\u8fc7 WebUI\uff0c\u6211\u4eec\u80fd\u5feb\u901f\u521b\u5efa\u4e00\u4e2a\u673a\u5668\u4eba\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.huajimc.cn\/wp-content\/uploads\/2026\/08\/1787392065-493c0819-f014-4eb6-a076-91afa2d86789-2048x1171.png\" alt=\"\u521b\u5efa\u673a\u5668\u4eba\" title=\"\u521b\u5efa\u673a\u5668\u4eba\" \/><\/p>\n<p>\u5728\u673a\u5668\u4eba\u5217\u8868\u53ef\u4ee5\u6e05\u6670\u5730\u770b\u5230\u673a\u5668\u4eba\u7684\u5404\u9879\u4fe1\u606f\u4e0e\u8fd0\u884c\u72b6\u6001\uff0c\u4ee5\u53ca\u5feb\u6377\u64cd\u4f5c\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.huajimc.cn\/wp-content\/uploads\/2026\/08\/1787392486-53cecb15-acad-4909-aae6-a1eda8bcae06-2048x297.png\" alt=\"\u673a\u5668\u4eba\u7ba1\u7406\" title=\"\u673a\u5668\u4eba\u7ba1\u7406\" \/><\/p>\n<p>\u8be6\u60c5\u9875\u4e5f\u80fd\u65b9\u4fbf\u5feb\u6377\u5730\u4ece\u7ba1\u7406\u673a\u5668\u4eba\u7684\u65b9\u65b9\u9762\u9762\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.huajimc.cn\/wp-content\/uploads\/2026\/08\/1787393085-5444aa0a-4d96-4010-b365-f9e3ffbfda6d-2048x1171.png\" alt=\"\u673a\u5668\u4eba\u8be6\u60c5\" title=\"\u673a\u5668\u4eba\u8be6\u60c5\" \/><\/p>\n<h3>4.4 \u53ef\u89c6\u5316\u63d2\u4ef6\u7f16\u5199<\/h3>\n<p>\u8fd9\u662f NoneBot2 WebUI \u7684\u4eae\u70b9\u529f\u80fd\u4e4b\u4e00\uff0c\u4f7f\u6211\u4eec\u5b9a\u5236\u7b80\u5355\u529f\u80fd\u63d2\u4ef6\u65f6\u907f\u514d\u7e41\u7410\u7684\u4ee3\u7801\uff0c\u901a\u8fc7\u56fe\u5f62\u5316\u65b9\u5f0f\u5feb\u901f\u642d\u5efa\u903b\u8f91\u3002<\/p>\n<p>WebUI \u63d0\u4f9b\u4e86\u8bb8\u591a\u529f\u80fd\u4e30\u5bcc\u7684\u5185\u7f6e\u7ec4\u4ef6\uff0c\u4e5f\u53ef\u81ea\u5df1\u7f16\u5199\u81ea\u5b9a\u4e49 Python \u4ee3\u7801\uff0c\u672a\u6765\u6211\u4eec\u4f1a\u7ee7\u7eed\u52a0\u5165\u66f4\u591a\u7ec4\u4ef6\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.huajimc.cn\/wp-content\/uploads\/2026\/08\/1787393753-250062d7-48a0-4f84-bbd3-368777d1122d-2048x1171.png\" alt=\"\u53ef\u89c6\u5316\u63d2\u4ef6\u7f16\u5199\" title=\"\u53ef\u89c6\u5316\u63d2\u4ef6\u7f16\u5199\" \/><\/p>\n<p>\u7f16\u5199\u5b8c\u53ef\u89c6\u5316\u63d2\u4ef6\u540e\u5728\u5217\u8868\u5c06\u5176\u88c5\u914d\u81f3\u673a\u5668\u4eba\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.huajimc.cn\/wp-content\/uploads\/2026\/08\/1787393988-e1e5dedbed6386f57ca763d86f04d4ff-2048x528.png\" alt=\"\u88c5\u914d\u63d2\u4ef6\" title=\"\u88c5\u914d\u63d2\u4ef6\" \/><\/p>\n<p>\u53ef\u4ee5\u6d4b\u8bd5\u63d2\u4ef6\u8fd0\u884c\u6548\u679c\u6216\u67e5\u770b\u673a\u5668\u4eba\u8fd0\u884c\u65e5\u5fd7\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.huajimc.cn\/wp-content\/uploads\/2026\/08\/1787399012-QQ_1787398858019.png\" alt=\"\u8fd0\u884c\u6548\u679c\" title=\"\u8fd0\u884c\u6548\u679c\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.huajimc.cn\/wp-content\/uploads\/2026\/08\/1787399015-a69faf1d-1569-4533-aa41-fb41663795ce-2048x1171.png\" alt=\"\u8fd0\u884c\u65e5\u5fd7\" title=\"\u8fd0\u884c\u65e5\u5fd7\" \/><\/p>\n<h2>\u4e94\u3001\u5199\u5728\u6700\u540e<\/h2>\n<p>\u901a\u8fc7 NoneBot2 WebUI\uff0c\u6211\u4eec\u80fd\u591f\u4fbf\u6377\u9ad8\u6548\u5730\u8fdb\u884c QQ \u673a\u5668\u4eba\u7684\u5f00\u53d1\u548c\u7ba1\u7406\u3002\u5bf9\u4e8e\u4f7f\u7528\u4e2d\u9047\u5230\u7684\u95ee\u9898\u6216\u5efa\u8bae\uff0c\u6b22\u8fce\u63d0\u4ea4 <a href=\"https:\/\/github.com\/HuajiMX\/nonebot-webui\/issues\" target=\"_blank\"  rel=\"nofollow\" >Issues<\/a>\u3002<\/p>\n<h2>\u53c2\u8003\u6587\u732e<\/h2>\n<ol>\n<li><a href=\"https:\/\/nonebot.dev\/docs\/\" target=\"_blank\"  rel=\"nofollow\" >NoneBot2 \u5b98\u65b9\u5f00\u53d1\u6587\u6863<\/a><\/li>\n<li><a href=\"https:\/\/napneko.github.io\/guide\/napcat\" target=\"_blank\"  rel=\"nofollow\" >NapCat \u5b98\u65b9\u5f00\u53d1\u6587\u6863<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/HuajiMX\/nonebot-webui\" target=\"_blank\"  rel=\"nofollow\" >NoneBot2 WebUI Github<\/a><\/li>\n<li><a href=\"https:\/\/blog.csdn.net\/2401_88939603\/article\/details\/159955399\" target=\"_blank\"  rel=\"nofollow\" >\u4ece\u96f6\u90e8\u7f72 QQ \u673a\u5668\u4eba\uff1aNapCat + NoneBot2 \u5b8c\u6574\u6307\u5357 - CSDN<\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u5c06\u624b\u628a\u624b\u6307\u5bfc\u4f60\u5b8c\u6210\u534f\u8bae\u7aef Napcat \u7684\u90e8\u7f72\u4ee5\u53ca\u501f\u52a9 Nonebot2 WebUI \u8fdb\u884c NoneBot2 \u673a\u5668\u4eba\u7684\u521b\u5efa\u3001\u7ba1\u7406\u4e0e\u5f00\u53d1\uff0c\u9ad8\u6548\u5feb\u901f\u5730\u5b8c\u6210 QQ \u673a\u5668\u4eba\u7684\u642d\u5efa\u53ca\u5b9a\u5236\u5316\u63d2\u4ef6\u5f00\u53d1\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[23],"tags":[24,27,26,25,28],"class_list":["post-228","post","type-post","status-publish","format-standard","hentry","category-bot","tag-bot","tag-napcat","tag-nonebot","tag-qq","tag-28"],"_links":{"self":[{"href":"https:\/\/blog.huajimc.cn\/index.php\/wp-json\/wp\/v2\/posts\/228","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.huajimc.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.huajimc.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.huajimc.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.huajimc.cn\/index.php\/wp-json\/wp\/v2\/comments?post=228"}],"version-history":[{"count":7,"href":"https:\/\/blog.huajimc.cn\/index.php\/wp-json\/wp\/v2\/posts\/228\/revisions"}],"predecessor-version":[{"id":267,"href":"https:\/\/blog.huajimc.cn\/index.php\/wp-json\/wp\/v2\/posts\/228\/revisions\/267"}],"wp:attachment":[{"href":"https:\/\/blog.huajimc.cn\/index.php\/wp-json\/wp\/v2\/media?parent=228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.huajimc.cn\/index.php\/wp-json\/wp\/v2\/categories?post=228"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.huajimc.cn\/index.php\/wp-json\/wp\/v2\/tags?post=228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}