diff --git a/docs/.vuepress/public/plugins.json b/docs/.vuepress/public/plugins.json index fdf436a8..0e9abd39 100644 --- a/docs/.vuepress/public/plugins.json +++ b/docs/.vuepress/public/plugins.json @@ -54,5 +54,29 @@ "desc": "APScheduler 定时任务插件", "name": "定时任务", "repo": "nonebot/plugin-apscheduler" + }, + { + "id": "nonebot_plugin_picsearcher", + "link": "nonebot-plugin-picsearcher", + "author": "synodriver", + "desc": "从基本上所有你想的出名字的搜图平台找图片", + "name": "图片搜索", + "repo": "synodriver/nonebot_plugin_picsearcher" + }, + { + "id": "nonebot_plugin_navicat", + "link": "nonebot-plugin-navicat", + "author": "synodriver", + "desc": "连接至各种数据库,为其他插件导出连接对象", + "name": "通用数据库连接", + "repo": "synodriver/nonebot_plugin_navicat" + }, + { + "id": "nonebot_plugin_translator", + "link": "nonebot-plugin-translator", + "author": "Lancercmd", + "desc": "多语种翻译插件", + "name": "translator", + "repo": "Lancercmd/nonebot_plugin_translator" } ] \ No newline at end of file diff --git a/docs/guide/creating-a-plugin.md b/docs/guide/creating-a-plugin.md index 0a6678db..5ce12a28 100644 --- a/docs/guide/creating-a-plugin.md +++ b/docs/guide/creating-a-plugin.md @@ -82,10 +82,10 @@ foo 示例: ```python -from pydantic import BaseSetting +from pydantic import BaseSettings -class Config(BaseSetting): +class Config(BaseSettings): # plugin custom config plugin_setting: str = "default"