diff --git a/build-number.txt b/build-number.txt index 5a8694e0..edaa2d42 100644 --- a/build-number.txt +++ b/build-number.txt @@ -1 +1 @@ -2129 \ No newline at end of file +2131 \ No newline at end of file diff --git a/src/main/java/me/chayapak1/chomens_bot/commands/InfoCommand.java b/src/main/java/me/chayapak1/chomens_bot/commands/InfoCommand.java index c0ecf56b..cc36af56 100644 --- a/src/main/java/me/chayapak1/chomens_bot/commands/InfoCommand.java +++ b/src/main/java/me/chayapak1/chomens_bot/commands/InfoCommand.java @@ -70,7 +70,7 @@ public class InfoCommand extends Command { final Bot bot = context.bot; - final String action = !context.userInputCommandName.equals(this.name) ? // if the input command is not `info` + final String action = !context.userInputCommandName.equalsIgnoreCase(this.name) ? // if the input command is not `info` context.userInputCommandName : // use that as the action (e.g. "discord", "creator") context.getString(false, false, true); // else just take the argument of `info`