Merge branch 'dev' into feat/logging
This commit is contained in:
commit
9a89544a9e
@ -32,9 +32,13 @@ public record ExecutableSlashCommandDefinition(
|
||||
|
||||
@Override
|
||||
public final String toString() {
|
||||
return applicationCommand.name() +
|
||||
subCommandGroup != null ? "::" + subCommand.name() : "" +
|
||||
subCommand != null ? "::" + subCommand.name() : "";
|
||||
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();
|
||||
}
|
||||
|
||||
public boolean isRootCommand() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user