Exemple #1
0
 /// <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;
     }
 }
Exemple #2
0
 /// <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;
 }