Compare commits
	
		
			2 Commits
		
	
	
		
			b72c55fc6e
			...
			9a89544a9e
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 9a89544a9e | |||
| 455fc4955f | 
| @@ -32,9 +32,13 @@ public record ExecutableSlashCommandDefinition( | |||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
|     public final String toString() { |     public final String toString() { | ||||||
|         return applicationCommand.name() +  |         StringBuilder builder = new StringBuilder(); | ||||||
|         subCommandGroup != null ? "::" + subCommand.name() : "" +  |         builder.append(applicationCommand.name()); | ||||||
|         subCommand != null ? "::" + subCommand.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() { |     public boolean isRootCommand() { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user