Fix typo and help command
This commit is contained in:
parent
0ba282406f
commit
eba17ecef2
2
pom.xml
2
pom.xml
|
@ -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>
|
||||
|
|
|
@ -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];
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue