From f12c83cf96357dae7923e29876490e38fa131251 Mon Sep 17 00:00:00 2001 From: tueem Date: Fri, 25 Oct 2024 20:09:22 +0200 Subject: [PATCH] add isGlobal variable to the command annotation --- .../interaction/commands/annotation/ApplicationCommand.java | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/main/java/net/tomatentum/marinara/interaction/commands/annotation/ApplicationCommand.java b/lib/src/main/java/net/tomatentum/marinara/interaction/commands/annotation/ApplicationCommand.java index 62acfaa..af81f35 100644 --- a/lib/src/main/java/net/tomatentum/marinara/interaction/commands/annotation/ApplicationCommand.java +++ b/lib/src/main/java/net/tomatentum/marinara/interaction/commands/annotation/ApplicationCommand.java @@ -12,4 +12,5 @@ public @interface ApplicationCommand { public String description() default ""; public String[] aliases() default {}; public CommandOption[] options() default {}; + public boolean isGlobal() default false; }