Merge branch 'dev' into feat/logging
Some checks failed
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 32s
Test / Gradle-Test (push) Failing after 39s

This commit is contained in:
Tueem 2024-12-19 21:23:48 +01:00
commit b72c55fc6e
Signed by: tueem
GPG Key ID: F2CE0513D231AD7A

View File

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