Add Choices and Autocomplete #8

Open
tueem wants to merge 9 commits from feat/choices into dev
Showing only changes of commit a5e1230fc6 - Show all commits

@ -27,8 +27,8 @@ public record ExecutableSlashCommandDefinition(
ExecutableSlashCommandDefinition other = (ExecutableSlashCommandDefinition) o; ExecutableSlashCommandDefinition other = (ExecutableSlashCommandDefinition) o;
boolean equals = false; boolean equals = false;
if (this.applicationCommand() != null && other.subCommandGroup() != null) if (this.applicationCommand() != null && other.applicationCommand() != null)
equals = this.applicationCommand.name().equals(other.applicationCommand().name()); equals = this.applicationCommand().name().equals(other.applicationCommand().name());
if (this.subCommandGroup() != null && other.subCommandGroup() != null) if (this.subCommandGroup() != null && other.subCommandGroup() != null)
equals = this.subCommandGroup().name().equals(other.subCommandGroup().name()); equals = this.subCommandGroup().name().equals(other.subCommandGroup().name());