Compare commits
3 Commits
d0cbb096a8
...
0c9d8ecb53
Author | SHA1 | Date | |
---|---|---|---|
0c9d8ecb53 | |||
ec75215b72 | |||
f12c83cf96 |
@ -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 {};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user