title: Javascript discord bot mention user midsentence
body: <p>Trying to get the bot to spit out random scenario messages that also include @user midsentence.</p>
  
  <pre class="lang-js prettyprint-override"><code>var myArray = [
    message.author + " challenges the producers, but fails to survive a single puppet",
    "Oh no, " + message.author + " got demolished by **Mr. Smiles**",
    "After gearing up in several events " + message.author + " tried to swim and drowned"
  ]
  var rand = myArray[Math.floor(Math.random() * myArray.length)];
  channel.message(rand)
  </code></pre>
  
  <p>The command is linking to this script and so far works, although instead of mentioning the user doing the command, it prints "undefined".</p>
  
  <p>I'm fairly new to javascript, but let me know if you need more information</p>