/// <summary> /// Copy constructor /// </summary> /// <param name="compiledCommandArguments">Compiled command arguments</param> public CompiledCommandArguments(CompiledCommandArguments compiledCommandArguments) { if (compiledCommandArguments != null) { Command = compiledCommandArguments.Command; rawArguments = compiledCommandArguments.rawArguments; arguments = compiledCommandArguments.arguments; Bot = compiledCommandArguments.Bot; } }
/// <summary> /// Constructor /// </summary> /// <param name="compiledCommandArguments">Compiled command arguments</param> /// <param name="messageChannel">Message channel</param> /// <param name="author">Author</param> internal CommandArguments(CompiledCommandArguments compiledCommandArguments, SocketUser author, ISocketMessageChannel messageChannel) : base(compiledCommandArguments) { MessageChannel = messageChannel; Author = author; }