Quick refactor

keep-around/23b8b9e8830874d5f04b57600c3660bddce1287b
Pingex aka Raphaël 9 years ago
parent c7268fe850
commit a754f46337

@ -12,7 +12,7 @@ public class Context
/**
* The command being executed
*/
private Command targetCommand;
private Command command;
/**
* Arguments provided
@ -29,17 +29,17 @@ public class Context
*/
private IDiscordClient client;
public Context(Command targetCommand, List<String> arguments, IMessage originatingMessage, IDiscordClient client)
public Context(Command command, List<String> arguments, IMessage originatingMessage, IDiscordClient client)
{
this.targetCommand = targetCommand;
this.command = command;
this.arguments = arguments;
this.originatingMessage = originatingMessage;
this.client = client;
}
public Command getTargetCommand()
public Command getCommand()
{
return targetCommand;
return command;
}
public List<String> getArguments()