diff --git a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/CommandPermission.kt b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/CommandPermission.kt index 9db1daf5a..6ea195f7d 100644 --- a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/CommandPermission.kt +++ b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/CommandPermission.kt @@ -83,7 +83,7 @@ public fun interface CommandPermission { /** * 管理员 (不包含群主) 可以使用这个指令 */ - public object Administrator : CommandPermission { + public object GroupAdmin : CommandPermission { public override fun CommandSender.hasPermission(): Boolean { return this is MemberCommandSender && this.user.isAdministrator() }