diff --git a/README.md b/README.md index 096e484..8893564 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,26 @@ +

+ BilibiliVideo +

+ +
+ +

+ + GitHub issues + + + GitHub license + + + Build Status + +

+ ## 命令 - bilibilivideo reload - 重载配置文件(无效命令,仅图个心里安慰) - bilibilivideo login - 绑定命令 +- bilibilivideo show - 查看绑定账户 - bilibilivideo receive - 领取奖励命令 ## 权限 @@ -9,6 +28,7 @@ - BilibiliVideo.command.use - 使用命令的权限 - BilibiliVideo.command.reload - 重载配置文件的权限,默认仅OP可用 - BilibiliVideo.command.login - 绑定命令的权限,默认全员可用 +- BilibiliVideo.command.show - 查看命令的权限,默认全员可用 - BilibiliVideo.command.receive - 领取奖励命令的权限,默认全员可用 ## 配置文件 diff --git a/gradle.properties b/gradle.properties index cd457db..c34852b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ group=online.bingiz.bilibili.video -version=1.0.8 \ No newline at end of file +version=1.0.8-1 \ No newline at end of file diff --git a/src/main/kotlin/online/bingiz/bilibili/video/internal/command/MainCommand.kt b/src/main/kotlin/online/bingiz/bilibili/video/internal/command/MainCommand.kt index 1181ba9..c5a2267 100644 --- a/src/main/kotlin/online/bingiz/bilibili/video/internal/command/MainCommand.kt +++ b/src/main/kotlin/online/bingiz/bilibili/video/internal/command/MainCommand.kt @@ -40,7 +40,7 @@ object MainCommand { } } - @CommandBody(permission = "", permissionDefault = PermissionDefault.TRUE) + @CommandBody(permission = "BilibiliVideo.command.show", permissionDefault = PermissionDefault.TRUE) val show = subCommand { execute { sender, _, _ -> // 因为是网络操作并且下层未进行异步操作