fix: small bug in InfoCommand lol
This commit is contained in:
parent
e37d3b1a6e
commit
87ef3b8a95
2 changed files with 2 additions and 2 deletions
|
@ -1 +1 @@
|
|||
2129
|
||||
2131
|
|
@ -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`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue