fix: small bug in InfoCommand lol

This commit is contained in:
Chayapak 2025-03-24 17:00:25 +07:00
parent e37d3b1a6e
commit 87ef3b8a95
Signed by: ChomeNS
SSH key fingerprint: SHA256:0YoxhdyXsgbc0nfeB2N6FYE60mxMU7DS4uCUMaw2mvA
2 changed files with 2 additions and 2 deletions
build-number.txt
src/main/java/me/chayapak1/chomens_bot/commands

View file

@ -1 +1 @@
2129
2131

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`