diff --git a/nonebot_plugin_b23/config.py b/nonebot_plugin_b23/config.py index 1a52287..9d984bc 100644 --- a/nonebot_plugin_b23/config.py +++ b/nonebot_plugin_b23/config.py @@ -5,5 +5,5 @@ class Config(BaseModel, extra=Extra.ignore): b23_commands: Set[str] = Field(default={'b23', 'B站热搜'}) - b23_block: bool = Field(default=True) + b23_block: bool = Field(default=False) b23_priority: int = Field(default=99) diff --git a/readme.md b/readme.md index f758e94..25af807 100644 --- a/readme.md +++ b/readme.md @@ -1,15 +1,29 @@ # Bilibili热搜 -## on_command -b站热搜 | B站热搜 | b23 +## 默认命令 + +* b站热搜 +* B站热搜 +* b23 ## 作用 -> 获取本站热搜 +获取B站热搜 + +## 安装 + +pip install nonebot-plugin-b23==0.0.6 + +## 配置 +| 名称 | 默认值 | 描述 | +|:------------:|:---------------:|:--------:| +| b23_commands | {'b23', 'B站热搜'} | 命令名 | +| b23_block | False | 是否阻止向下传播 | +| b23_priority | 99 | 优先级 | ## [依赖](requirements.txt) * httpx~=0.23.0 -* nonebot>=2.0.0-beta.1 +* nonebot2>=2.0.0-beta.1 * pydantic~=1.10.4 \ No newline at end of file diff --git a/setup.py b/setup.py index e98ae25..563f0ce 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setuptools.setup( name="nonebot-plugin-b23", - version="0.0.5", + version="0.0.6", author="eya46", install_requires=[ 'httpx~=0.23.0',