From eba17ecef23352e5070c9c52b893c26e5483f874 Mon Sep 17 00:00:00 2001 From: thmsdy Date: Sat, 24 Apr 2021 15:40:45 -0500 Subject: [PATCH] Fix typo and help command --- pom.xml | 2 +- .../com/fpghoti/biscuit/commands/discord/HelpCommand.java | 7 ------- .../biscuit/commands/discord/SaveConfigCommand.java | 2 +- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index eef6b98..538d338 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.fpghoti Biscuit - 1.8.2 + 1.9 src/main/java diff --git a/src/main/java/com/fpghoti/biscuit/commands/discord/HelpCommand.java b/src/main/java/com/fpghoti/biscuit/commands/discord/HelpCommand.java index b2a2502..8032e4a 100644 --- a/src/main/java/com/fpghoti/biscuit/commands/discord/HelpCommand.java +++ b/src/main/java/com/fpghoti/biscuit/commands/discord/HelpCommand.java @@ -48,13 +48,6 @@ public class HelpCommand extends ClientCommand { commands.add(cc); } } - ccs = Main.getMainBiscuit().getProperties().getCustomCmds(); - for(String s : ccs) { - if(!Util.contains(biscuit.getProperties().disabledCommands(), s)) { - CustomCommand cc = new CustomCommand(s, Main.getMainBiscuit()); - commands.add(cc); - } - } for(BaseCommand bc : CommandManager.getCommands()) { String bclabel = bc.getUsage().split(" ")[0]; diff --git a/src/main/java/com/fpghoti/biscuit/commands/discord/SaveConfigCommand.java b/src/main/java/com/fpghoti/biscuit/commands/discord/SaveConfigCommand.java index 4f967c5..6bec822 100644 --- a/src/main/java/com/fpghoti/biscuit/commands/discord/SaveConfigCommand.java +++ b/src/main/java/com/fpghoti/biscuit/commands/discord/SaveConfigCommand.java @@ -17,7 +17,7 @@ public class SaveConfigCommand extends ClientCommand{ public SaveConfigCommand() { name = "Save Config"; description = "Saves the config of the current guild."; - usage = Main.getMainBiscuit().getProperties().getCommandSignifier() + "getconfig (with file upload)"; + usage = Main.getMainBiscuit().getProperties().getCommandSignifier() + "saveconfig (with file upload)"; minArgs = 0; maxArgs = 0; identifiers.add("saveconfig");