Compare commits

..

No commits in common. "b72c55fc6e0d28fd04de6403cd7d5cae45b43ce8" and "74d55d81cad1f1e89b4b8fb3c30dc52418a3d5f0" have entirely different histories.

View File

@ -32,9 +32,7 @@ public record ExecutableSlashCommandDefinition(
@Override
public final String toString() {
return applicationCommand.name() +
subCommandGroup != null ? "::" + subCommand.name() : "" +
subCommand != null ? "::" + subCommand.name() : "";
return applicationCommand.name() + subCommand.name() != null ? "::" + subCommand.name() : "";
}
public boolean isRootCommand() {