We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04b3503 commit 6d15b6dCopy full SHA for 6d15b6d
1 file changed
src/main/java/org/mangorage/mangobotcore/api/command/v1/AbstractCommand.java
@@ -150,6 +150,7 @@ public R execute(CommandContext<C> ctx) {
150
if (getPermissionNode().hasPermission(ctx)) {
151
return run(ctx);
152
} else {
153
+ result.addMessage("Missing access to %s permission node".formatted(getPermissionNode().getId()));
154
return getNoPermission();
155
}
156
@@ -172,6 +173,7 @@ public R execute(CommandContext<C> ctx) {
172
173
174
175
176
177
178
179
} catch (Throwable t) {
0 commit comments