Compare commits
No commits in common. "c5a7f3665e9dda3a0594202184d809a1437aaef1" and "aaf4f3297a99409fddf36ef19b7971841db6ef91" have entirely different histories.
c5a7f3665e
...
aaf4f3297a
@ -41,13 +41,7 @@ public record ExecutableSlashCommandDefinition(
|
||||
|
||||
@Override
|
||||
public final String toString() {
|
||||
StringBuilder builder = new StringBuilder();
|
||||
builder.append(applicationCommand.name());
|
||||
if (subCommandGroup != null && subCommandGroup.name() != null)
|
||||
builder.append("::").append(subCommandGroup.name());
|
||||
if (subCommand != null && subCommand.name() != null)
|
||||
builder.append("::").append(subCommand.name());
|
||||
return builder.toString();
|
||||
return applicationCommand.name() + subCommand.name() != null ? "::" + subCommand.name() : "";
|
||||
}
|
||||
|
||||
public boolean isRootCommand() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user