mirror of
https://github.com/mamoe/mirai.git
synced 2025-04-14 23:20:49 +08:00
Fix PermissionDeniedException.message
This commit is contained in:
parent
8a7f56f90b
commit
22112d222b
@ -200,7 +200,7 @@ internal class MemberImpl constructor(
|
||||
private fun checkBotPermissionHigherThanThis(operationName: String) {
|
||||
check(group.botPermission > this.permission) {
|
||||
throw PermissionDeniedException(
|
||||
"`$operationName` operation requires a higher permission, while" +
|
||||
"`$operationName` operation requires a higher permission, while " +
|
||||
"${group.botPermission} < ${this.permission}"
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user