title: Tmi.js how to make bot command take arguments
body: <p>I can't figure out how to make my chatbot take args after commands.</p>
  <p>Example: !poll weights [50, 60, 75]</p>
  <p>Code:</p>
  <pre><code>client.on('message', (target, context, msg, self) =&gt; {
    if (self) { return; }
    const msgcon = msg.trim();
    if (msgcon.startsWith('!')) {
      if (msgcon === '!poll') {
          client.say(target, '')
          console.log(`* Executed ${msgcon} command at ${target}`);
      } else {
          console.log(`* Unknown command ${msgcon} attempted at ${target}`);
      }
    }
  });
  </code></pre>
  <p>How do I make it take args?</p>