Update Permissions.md

[no ci]
This commit is contained in:
微莹·纤绫 2022-03-11 19:49:29 +08:00 committed by GitHub
parent 5e0a187bc0
commit 2f0972296c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -173,8 +173,10 @@ fun Permission.testPermission(PermitteeId): Boolean
在 Java请查看 [`PermissionService`] 中的伴生对象。
> 查看使用示例: [Him188/mirai-console-example-plugin](https://github.com/Him188/mirai-console-example-plugin/blob/master/src/main/kotlin/org/example/my/plugin/MyPluginMain.kt#L116)
> 查看使用示例:
>
> - [Him188/mirai-console-example-plugin](https://github.com/Him188/mirai-console-example-plugin/blob/master/src/main/kotlin/org/example/my/plugin/MyPluginMain.kt#L116)
> - [Karlatemp/mirai-console-permission-service-example (gist)](https://gist.github.com/Karlatemp/38b1491dc033854755c0ec7367ba081b)
### 注册权限