fix: small bug in InfoCommand lol

This commit is contained in:
ChomeNS
2025-03-24 17:00:25 +07:00
parent e37d3b1a6e
commit 87ef3b8a95
2 changed files with 2 additions and 2 deletions

View File

@@ -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`