Skip to content

Commit

Permalink
update: 更新Readme文件
Browse files Browse the repository at this point in the history
额外的事项:
1. show的权限已被补全
  • Loading branch information
BingZi-233 committed Nov 21, 2023
1 parent ce932e3 commit ad2ed3d
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,34 @@
<h1 align="center">
BilibiliVideo
</h1>

<hr>

<p align="center" class="shields">
<a href="https://github.com/BingZi-233/BilibiliVideo/issues" style="text-decoration:none">
<img src="https://img.shields.io/github/issues/BingZi-233/BilibiliVideo.svg" alt="GitHub issues"/>
</a>
<a href="https://github.com/BingZi-233/BilibiliVideo/blob/master/LICENSE" style="text-decoration:none" >
<img src="https://img.shields.io/github/license/BingZi-233/BilibiliVideo" alt="GitHub license"/>
</a>
<a href='https://ci-dev.bingzi.online/job/BilibiliVideo/'>
<img src='https://ci-dev.bingzi.online/job/BilibiliVideo/badge/icon' alt="Build Status">
</a>
</p>

## 命令

- bilibilivideo reload - 重载配置文件(无效命令,仅图个心里安慰)
- bilibilivideo login - 绑定命令
- bilibilivideo show - 查看绑定账户
- bilibilivideo receive - 领取奖励命令

## 权限

- BilibiliVideo.command.use - 使用命令的权限
- BilibiliVideo.command.reload - 重载配置文件的权限,默认仅OP可用
- BilibiliVideo.command.login - 绑定命令的权限,默认全员可用
- BilibiliVideo.command.show - 查看命令的权限,默认全员可用
- BilibiliVideo.command.receive - 领取奖励命令的权限,默认全员可用

## 配置文件
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
group=online.bingiz.bilibili.video
version=1.0.8
version=1.0.8-1
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ object MainCommand {
}
}

@CommandBody(permission = "", permissionDefault = PermissionDefault.TRUE)
@CommandBody(permission = "BilibiliVideo.command.show", permissionDefault = PermissionDefault.TRUE)
val show = subCommand {
execute<Player> { sender, _, _ ->
// 因为是网络操作并且下层未进行异步操作
Expand Down

0 comments on commit ad2ed3d

Please sign in to comment.