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