diff --git a/README.md b/README.md index 4394c72..6203b68 100644 --- a/README.md +++ b/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 nonebot-plugin-helldivers-tools -``` -pip install pillow -pip install httpx - -pip install playwright - -playwright install -``` - -### 触发指令 +## 触发指令 `简报` 获取最新得星系战争情报 -`随机战备` 随机四个战备 +`随机战备` 按照提示回复数字,按照一定套路随机四个战备 -### TODO -- 构建带规则的随机方法 -- 还没想好 \ No newline at end of file +## TODO +- [x] 构建带规则的随机方法 +- [ ] 还没想好 \ No newline at end of file diff --git a/nonebot_plugin_helldivers_tools/__init__.py b/nonebot_plugin_helldivers_tools/__init__.py index 3cb180f..74770ae 100644 --- a/nonebot_plugin_helldivers_tools/__init__.py +++ b/nonebot_plugin_helldivers_tools/__init__.py @@ -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__)