Compare commits
2 Commits
3baf1eda9a
...
8e872e7ada
Author | SHA1 | Date | |
---|---|---|---|
8e872e7ada | |||
71c910ab93 |
@ -18,8 +18,8 @@ public record ExecutableSlashCommandDefinition(
|
||||
ExecutableSlashCommandDefinition other = (ExecutableSlashCommandDefinition) o;
|
||||
boolean equals = false;
|
||||
|
||||
if (this.applicationCommand() != null && other.subCommandGroup() != null)
|
||||
equals = this.applicationCommand.name().equals(other.applicationCommand().name());
|
||||
if (this.applicationCommand() != null && other.applicationCommand() != null)
|
||||
equals = this.applicationCommand().name().equals(other.applicationCommand().name());
|
||||
|
||||
if (this.subCommandGroup() != null && other.subCommandGroup() != null)
|
||||
equals = this.subCommandGroup().name().equals(other.subCommandGroup().name());
|
||||
|
Loading…
x
Reference in New Issue
Block a user