= Updated capitalization
This commit is contained in:
@@ -59,7 +59,7 @@ public abstract class Command
|
||||
if(!CanCall(guild, channel, user))
|
||||
return;
|
||||
|
||||
OnRun(guild, channel, user, input, res);
|
||||
onRun(guild, channel, user, input, res);
|
||||
}
|
||||
|
||||
public ArrayList<String> RegisteredNames()
|
||||
@@ -79,12 +79,12 @@ public abstract class Command
|
||||
|
||||
// OVERRIDE ME! (This is not required but advised!)
|
||||
// Returns if the command succeeded or not.
|
||||
public String HelpText()
|
||||
public String getHelpText()
|
||||
{
|
||||
return "No help text has been added yet for " + this.getClass().getSimpleName() + "!";
|
||||
}
|
||||
|
||||
// OVERRIDE ME! (This is required)
|
||||
// Returns if the command succeeded or not.
|
||||
public abstract void OnRun(KittyGuild guild, KittyChannel channel, KittyUser user, UserInput input, Response res);
|
||||
public abstract void onRun(KittyGuild guild, KittyChannel channel, KittyUser user, UserInput input, Response res);
|
||||
}
|
||||
|
||||
@@ -116,7 +116,7 @@ public class CommandManager
|
||||
Command command = commands.get(lookup);
|
||||
|
||||
if(command != null)
|
||||
return command.HelpText();
|
||||
return command.getHelpText();
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user