Fix typo and help command

This commit is contained in:
Ghoti 2021-04-24 15:40:45 -05:00
parent 0ba282406f
commit eba17ecef2
3 changed files with 2 additions and 9 deletions

View File

@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.fpghoti</groupId>
<artifactId>Biscuit</artifactId>
<version>1.8.2</version>
<version>1.9</version>
<build>
<sourceDirectory>src/main/java</sourceDirectory>
<resources>

View File

@ -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];

View File

@ -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");