1
0
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:
Him188 2020-09-15 22:58:29 +08:00
parent 8a7f56f90b
commit 22112d222b

View File

@ -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}"
)
}