fix: last commit didn't fix it lol

This commit is contained in:
Chayapak 2025-03-24 17:02:54 +07:00
parent 87ef3b8a95
commit 043efe9547
Signed by: ChomeNS
SSH key fingerprint: SHA256:0YoxhdyXsgbc0nfeB2N6FYE60mxMU7DS4uCUMaw2mvA

View file

@ -71,7 +71,7 @@ public class InfoCommand extends Command {
final Bot bot = context.bot;
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.userInputCommandName.toLowerCase() : // use that as the action (e.g. "discord", "creator")
context.getString(false, false, true); // else just take the argument of `info`
switch (action) {