mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 04:16:57 +08:00
commit
5028f6408a
@ -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"
|
||||
}
|
||||
]
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user