|
|
|
@ -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()
|
|
|
|
|