Skip to content

Commit

Permalink
改readme,换版本
Browse files Browse the repository at this point in the history
  • Loading branch information
eya46 committed Feb 1, 2023
1 parent 283b521 commit 6db4c0a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
2 changes: 1 addition & 1 deletion nonebot_plugin_b23/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
22 changes: 18 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 6db4c0a

Please sign in to comment.