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