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> <modelVersion>4.0.0</modelVersion>
<groupId>com.fpghoti</groupId> <groupId>com.fpghoti</groupId>
<artifactId>Biscuit</artifactId> <artifactId>Biscuit</artifactId>
<version>1.8.2</version> <version>1.9</version>
<build> <build>
<sourceDirectory>src/main/java</sourceDirectory> <sourceDirectory>src/main/java</sourceDirectory>
<resources> <resources>

View File

@ -48,13 +48,6 @@ public class HelpCommand extends ClientCommand {
commands.add(cc); 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()) { for(BaseCommand bc : CommandManager.getCommands()) {
String bclabel = bc.getUsage().split(" ")[0]; String bclabel = bc.getUsage().split(" ")[0];

View File

@ -17,7 +17,7 @@ public class SaveConfigCommand extends ClientCommand{
public SaveConfigCommand() { public SaveConfigCommand() {
name = "Save Config"; name = "Save Config";
description = "Saves the config of the current guild."; 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; minArgs = 0;
maxArgs = 0; maxArgs = 0;
identifiers.add("saveconfig"); identifiers.add("saveconfig");