Change commands to use new usage message method.

This commit is contained in:
AnimeGitB
2022-07-21 21:05:23 +09:30
committed by Luke H-W
parent 2cfbe78184
commit 104e04f70a
34 changed files with 89 additions and 344 deletions

View File

@@ -30,7 +30,7 @@ public final class AccountCommand implements CommandHandler {
}
if (args.size() < 2) {
CommandHandler.sendTranslatedMessage(sender, "commands.account.command_usage");
sendUsageMessage(sender);
return;
}
@@ -39,7 +39,7 @@ public final class AccountCommand implements CommandHandler {
switch (action) {
default:
CommandHandler.sendTranslatedMessage(sender, "commands.account.command_usage");
sendUsageMessage(sender);
return;
case "create":
int uid = 0;