From cc66b5b43e5767c95011b87390696ce0dadfd86a Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Wed, 27 Sep 2023 11:04:30 +0700 Subject: [PATCH] FIX THE USAGE IKN HELP (MAJOR) --- .../chayapak/chomens_bot/commands/HelpCommand.java | 10 ++++++++-- .../chayapak/chomens_bot/commands/ValidateCommand.java | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/HelpCommand.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/HelpCommand.java index 9c75193..0b9e1f2 100644 --- a/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/HelpCommand.java +++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/HelpCommand.java @@ -134,9 +134,15 @@ public class HelpCommand extends Command { .append(Component.text(" ")); if (command.trustLevel == TrustLevel.TRUSTED) { - usageComponent = usageComponent.append(Component.text("")); + usageComponent = usageComponent + .append(Component.text("")) + .append(Component.space()) + .color(ColorUtilities.getColorByString(bot.config.colorPalette.string)); } else if (command.trustLevel == TrustLevel.OWNER) { - usageComponent = usageComponent.append(Component.text("")); + usageComponent = usageComponent + .append(Component.text("")) + .append(Component.space()) + .color(ColorUtilities.getColorByString(bot.config.colorPalette.string)); } usageComponent = usageComponent.append(Component.text(usage).color(ColorUtilities.getColorByString(bot.config.colorPalette.string))); diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/ValidateCommand.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/ValidateCommand.java index 10abfda..44ba279 100644 --- a/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/ValidateCommand.java +++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/ValidateCommand.java @@ -13,7 +13,7 @@ public class ValidateCommand extends Command { super( "validate", "Validates a hash", - new String[] { "" }, + new String[] { "" }, new String[] { "checkhash" }, TrustLevel.TRUSTED, false