更新README
更新__init__.py元数据
This commit is contained in:
parent
e812c8bc18
commit
2b75da6741
31
README.md
31
README.md
@ -1,36 +1,29 @@
|
||||
### nonebot_plugin_helldivers_tools
|
||||
## nonebot_plugin_helldivers_tools
|
||||
|
||||
- 基于[nonebot2](https://github.com/nonebot/nonebot2)
|
||||
|
||||
### 功能
|
||||
## 功能
|
||||
|
||||
- 简报,从 https://hd2galaxy.com 获取最新得星系战争情报(仅对该网站进行截图操作,本人对星球名字做了文本对照,使其与游戏内对应)
|
||||
- 随机战备,使用随机数来随机选择四个战备,您可以使用该功能来丰富您得游戏体验
|
||||
|
||||
### 开始使用
|
||||
## 开始使用
|
||||
|
||||
使用pip安装库
|
||||
- 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
|
||||
|
||||
坏了我忘了怎么引入插件了,您可以将此插件作为自定义插件在您的插件目录下引用(另一种我不会()
|
||||
nb plugin install nonebot-plugin-helldivers-toolss
|
||||
|
||||
您需要安装以下依赖
|
||||
- 使用包管理器安装
|
||||
|
||||
```
|
||||
pip install pillow
|
||||
pip install nonebot-plugin-helldivers-tools
|
||||
|
||||
pip install httpx
|
||||
|
||||
pip install playwright
|
||||
|
||||
playwright install
|
||||
```
|
||||
|
||||
### 触发指令
|
||||
## 触发指令
|
||||
|
||||
`简报` 获取最新得星系战争情报
|
||||
|
||||
`随机战备` 随机四个战备
|
||||
`随机战备` 按照提示回复数字,按照一定套路随机四个战备
|
||||
|
||||
### TODO
|
||||
- 构建带规则的随机方法
|
||||
- 还没想好
|
||||
## TODO
|
||||
- [x] 构建带规则的随机方法
|
||||
- [ ] 还没想好
|
@ -27,9 +27,7 @@ __plugin_meta__ = PluginMetadata(
|
||||
usage="简报:获取星系战争简要概况\n"
|
||||
"随机战备:让机器人帮你随机一套战备",
|
||||
type="application",
|
||||
extra={
|
||||
|
||||
}
|
||||
homepage="https://github.com/sansenhoshi/nonebot_plugin_helldivers_tools"
|
||||
)
|
||||
|
||||
basic_path = os.path.dirname(__file__)
|
||||
|
Loading…
Reference in New Issue
Block a user