title: C# Discord.NET Commands How to Have a String Array as an Argument
body: <p>I am using Discord.NET 1.0.2 and this question is specific to Discord.NET.</p>
  
  <p>I am using <code>Discord.Commands</code> for how I work my commands and I initialize them as so</p>
  
  <pre><code>var msg = message as SocketUserMessage;
  var context = new SocketCommandContext(_client, msg);
  int argPos = 0;
  if(msg.HasCharPrefix('&gt;', ref argPos))
  {
      var result = await _service.ExecuteAsync(context, argPos);
  }
  </code></pre>
  
  <p>Then in my separate class for a specific command I have</p>
  
  <pre><code>public class Command : ModuleBase&lt;SocketCommandContext&gt;
  {
      [Command("test")]
      public async Task balanceCommmand(String[] stringArray)
      {
          // code
      }
  }
  </code></pre>
  
  <p>However, when running the program, I receive a <code>System.InvalidOperationException</code> "Additional information: No type reader found for type String[], one must be specified"</p>
  
  <p>I have used parameters under the async task before, but it does not seem to want to have an array of Strings as a parameter.</p>
  
  <p>How would I be able to pass an array of strings as an argument to a command using Discord.Commands version 1.0.2.</p>
  
  <p>If there is not a way to do this, is there a way I could mimic this by using an alternative?</p>
  
  <p>I have looked around on google and haven't found someone with a similar problem as myself or even similar to it.</p>