Skip to content

Commit

Permalink
更新 README
Browse files Browse the repository at this point in the history
  • Loading branch information
1umine committed Dec 21, 2022
1 parent 8281746 commit 54aefd4
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@

## 版本

v0.0.4 - 修复了参数获取的 bug , ~~有没有新bug就不知道了~~
v0.0.5 - 适配了 rc 版本


### ⚠ 适配nonebot2-2.0.0beta版本;(rc版本需要更改部分内容,下面说)

## 安装

Expand All @@ -43,7 +43,7 @@ v0.0.4 - 修复了参数获取的 bug , ~~有没有新bug就不知道了~~

## 命令

`生成幻影坦克` / `miragetank`
`幻影坦克` / `miragetank`

⚠ 需要 nonebot2 配置的命令前缀,如果没配置默认 `/` ,即发送`/miragetank`可触发

Expand All @@ -54,14 +54,5 @@ v0.0.4 - 修复了参数获取的 bug , ~~有没有新bug就不知道了~~

可随时取消命令

## 版本适配问题
beta2 及以上可以更改如下内容

`from nonebot.params import CommandArg, State` 改为 `from nonebot.params import CommandArg`

`state: T_State = State()` 改为 `state: T_State` (所有地方都要改,可以使用全文替换来做)

其他问题可提 issue

## 致谢
插件核心算法来自 [MirageTankGO](https://github.com/Aloxaf/MirageTankGo)

0 comments on commit 54aefd4

Please sign in to comment.