title: Concatenating to user input
body: <p>An example would be if I type !greet  it would output "Hello username". </p>
  
  <p>The end goal is to integrate this into a discord bot.</p>
  
  <p>An example of what I have tried:</p>
  
  <pre><code>function doGreeting() {
      var input = document.getElementById('userInput')
      alert(input);
  }
  
  if (msg.content === prefix + 'greet') {
      msg.channel.sendMessage('Hello ' + doGreeting())
  };
  </code></pre>