Merge branch 'dev' into feat/logging
All checks were successful
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 32s
Test / Gradle-Test (push) Successful in 40s

This commit is contained in:
Tueem 2024-12-20 17:05:18 +01:00
commit 8e872e7ada
Signed by: tueem
GPG Key ID: F2CE0513D231AD7A

View File

@ -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());