fix: last commit didn't fix it lol
This commit is contained in:
parent
87ef3b8a95
commit
043efe9547
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue