Skip to content

Commit

Permalink
更新ISU -m参数的权限限制
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyv404 committed Dec 22, 2023
1 parent 1ad0d20 commit f74a342
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ class ISU : NfApp(), IFshApp {
}

if (more && (MinecraftServerPlayerQQMapping { qq = msg.uid() }.getPermissionByQQ()
?: Permissions.Default) < Permissions.Basic
?: Permissions.Default) < Permissions.OP
) {
msg.reply("需要权限至少为妖怪", true)
msg.reply("需要权限至少为${Permissions.OP}", true)
return false
}

Expand Down

0 comments on commit f74a342

Please sign in to comment.