Compare commits

..

3 Commits

2 changed files with 2 additions and 1 deletions

@ -15,7 +15,7 @@ public record ExecutableCommandDefinition(
if (!(o instanceof ExecutableCommandDefinition)) if (!(o instanceof ExecutableCommandDefinition))
return false; return false;
ExecutableCommandDefinition other = (ExecutableCommandDefinition) o; ExecutableCommandDefinition other = (ExecutableCommandDefinition) o;
return other.applicationCommand.equals(this.applicationCommand) && return other.applicationCommand.name().equals(this.applicationCommand.name()) &&
other.subCommandGroups.equals(this.subCommandGroups) && other.subCommandGroups.equals(this.subCommandGroups) &&
other.subCommand.equals(this.subCommand); other.subCommand.equals(this.subCommand);
} }

@ -12,4 +12,5 @@ public @interface ApplicationCommand {
public String description() default ""; public String description() default "";
public String[] aliases() default {}; public String[] aliases() default {};
public CommandOption[] options() default {}; public CommandOption[] options() default {};
public long[] serverIds() default {};
} }