mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-02-20 17:46:51 +08:00
🔀 Merge back branch master
This commit is contained in:
commit
7a8b38bd07
11
.github/workflows/publish-bot.yml
vendored
11
.github/workflows/publish-bot.yml
vendored
@ -21,7 +21,10 @@ jobs:
|
||||
uses: nonebot/nonebot2-publish-bot@main
|
||||
with:
|
||||
token: ${{ secrets.GH_TOKEN }}
|
||||
base: master
|
||||
plugin_path: website/static/plugins.json
|
||||
bot_path: website/static/bots.json
|
||||
adapter_path: website/static/adapters.json
|
||||
config: >
|
||||
{
|
||||
"base": "master",
|
||||
"plugin_path": "website/static/plugins.json",
|
||||
"bot_path": "website/static/bots.json",
|
||||
"adapter_path": "website/static/adapters.json"
|
||||
}
|
||||
|
18
README.md
18
README.md
@ -108,7 +108,8 @@ NoneBot2 不是 NoneBot1 的替代品。事实上,它们都在被积极的维
|
||||
|
||||
懒得看文档?下面是快速安装指南:
|
||||
|
||||
1. (可选)使用你喜欢的 Python 环境管理工具创建新的虚拟环境。
|
||||
1. (**强烈建议**)使用你喜欢的 Python 环境管理工具创建新的虚拟环境。
|
||||
|
||||
2. 使用 `pip` (或其他) 安装 NoneBot 脚手架。
|
||||
|
||||
```bash
|
||||
@ -153,7 +154,14 @@ NoneBot2 不是 NoneBot1 的替代品。事实上,它们都在被积极的维
|
||||
|
||||
## 许可证
|
||||
|
||||
`NoneBot` 采用 `MIT` 协议开源,协议文件参考 [LICENSE](./LICENSE)。
|
||||
`NoneBot` 采用 `MIT` 许可证进行开源
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
## 贡献
|
||||
|
||||
@ -161,7 +169,11 @@ NoneBot2 不是 NoneBot1 的替代品。事实上,它们都在被积极的维
|
||||
|
||||
如果你要提交 Pull Request,请确保你的代码风格和项目已有的代码保持一致,遵循 [PEP 8](https://www.python.org/dev/peps/pep-0008/) 与 [PEP 484](https://www.python.org/dev/peps/pep-0484/),变量命名清晰,有适当的注释与测试代码,**并且请以 `dev` 分支作为 Pull Request 目标分支**。
|
||||
|
||||
感谢以下开发者对 NoneBot2 的贡献:
|
||||
<!--TODO: Add a CONTRIBUTING.md-->
|
||||
|
||||
### 鸣谢
|
||||
|
||||
感谢以下开发者对 NoneBot2 作出的贡献:
|
||||
|
||||
<a href="https://github.com/nonebot/nonebot2/graphs/contributors">
|
||||
<img src="https://contrib.rocks/image?repo=nonebot/nonebot2" />
|
||||
|
@ -22,6 +22,8 @@ const config = {
|
||||
"zh-Hans": { label: "简体中文" },
|
||||
},
|
||||
},
|
||||
|
||||
scripts: ["/unregister-sw.js"],
|
||||
|
||||
presets: [
|
||||
[
|
||||
@ -149,7 +151,8 @@ const config = {
|
||||
darkTheme: darkCodeTheme,
|
||||
},
|
||||
algolia: {
|
||||
apiKey: "ef449608d0ad6e81b9efd05db6367040",
|
||||
appId: "X0X5UACHZQ",
|
||||
apiKey: "ac03e1ac2bd0812e2ea38c0cc1ea38c5",
|
||||
indexName: "nonebot",
|
||||
contextualSearch: true,
|
||||
// searchParameters: {
|
||||
|
@ -792,5 +792,50 @@
|
||||
"homepage": "https://github.com/MeetWq/nonebot-plugin-memes",
|
||||
"tags": [],
|
||||
"is_official": false
|
||||
},
|
||||
{
|
||||
"module_name": "nonebot_plugin_repeater",
|
||||
"project_link": "nonebot-plugin-repeater",
|
||||
"name": "群聊复读机",
|
||||
"desc": "谁不喜欢+1呢?",
|
||||
"author": "ninthseason",
|
||||
"homepage": "https://github.com/ninthseason/nonebot-plugin-repeater",
|
||||
"tags": [],
|
||||
"is_official": false
|
||||
},
|
||||
{
|
||||
"module_name": "nonebot_plugin_PCtrl",
|
||||
"project_link": "nonebot-plugin-pctrl",
|
||||
"name": "插件管理器",
|
||||
"desc": "基于HOOK的插件管理器,提供常用功能",
|
||||
"author": "CherryGS",
|
||||
"homepage": "https://github.com/CherryGS/nonebot_plugin_PCtrl",
|
||||
"tags": [],
|
||||
"is_official": false
|
||||
},
|
||||
{
|
||||
"module_name": "nonebot_plugin_directlinker",
|
||||
"project_link": "nonebot-plugin-directlinker",
|
||||
"name": "群文件直链提取器",
|
||||
"desc": "提取群文件的下载直链。",
|
||||
"author": "ninthseason",
|
||||
"homepage": "https://github.com/ninthseason/nonebot-plugin-directlinker",
|
||||
"tags": [
|
||||
{
|
||||
"label": "a:cqhttp",
|
||||
"color": "#ea5252"
|
||||
}
|
||||
],
|
||||
"is_official": false
|
||||
},
|
||||
{
|
||||
"module_name": "nonebot_plugin_forwarder",
|
||||
"project_link": "nonebot-plugin-forwarder",
|
||||
"name": "转发姬",
|
||||
"desc": "群聊消息实时转发",
|
||||
"author": "ninthseason",
|
||||
"homepage": "https://github.com/ninthseason/nonebot_plugin_forwarder",
|
||||
"tags": [],
|
||||
"is_official": false
|
||||
}
|
||||
]
|
||||
]
|
1
website/static/unregister-sw.js
Normal file
1
website/static/unregister-sw.js
Normal file
@ -0,0 +1 @@
|
||||
navigator.serviceWorker.getRegistrations().then(function(e){for(var r,i=e,t=Array.isArray(i),a=0,i=t?i:i[Symbol.iterator]();;){if(t){if(a>=i.length)break;r=i[a++]}else{if((a=i.next()).done)break;r=a.value}r.unregister()}});
|
Loading…
x
Reference in New Issue
Block a user