From e9fa84c93eefe67a2a4a5021726d106cbd717352 Mon Sep 17 00:00:00 2001 From: ChomeNS Date: Sat, 25 Mar 2023 10:28:20 +0700 Subject: [PATCH] max totally not chipmunk real nickname reference --- .../me/chayapak1/chomens_bot/plugins/CommandHandlerPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/chayapak1/chomens_bot/plugins/CommandHandlerPlugin.java b/src/main/java/me/chayapak1/chomens_bot/plugins/CommandHandlerPlugin.java index 2a79348..bbee0ca 100644 --- a/src/main/java/me/chayapak1/chomens_bot/plugins/CommandHandlerPlugin.java +++ b/src/main/java/me/chayapak1/chomens_bot/plugins/CommandHandlerPlugin.java @@ -56,7 +56,7 @@ public class CommandHandlerPlugin { final int minimumArgs = getMinimumArgs(usage); final int maximumArgs = getMaximumArgs(usage); if (fullArgs.length < minimumArgs) return Component.text("Excepted minimum of " + minimumArgs + " argument(s), got " + fullArgs.length).color(NamedTextColor.RED); - if (fullArgs.length > maximumArgs && !usage.contains("{")) return Component.text("Too much arguments, expected " + maximumArgs).color(NamedTextColor.RED); + if (fullArgs.length > maximumArgs && !usage.contains("{")) return Component.text("Too much arguments, expected " + maximumArgs + " max").color(NamedTextColor.RED); String userHash = ""; if (trustLevel > 0 && splitInput.length >= 2) userHash = splitInput[1];