title: Trying to get a discord bot to pick a random user
body: <p>I am attempting to make a bot that will print a random user for my discord channel. The problem is that I keep getting weird errors while in the bot.on function. I am trying to use the code <code>var randomUser = message.guild.name.random();</code> however this returns:</p>
  
  <pre><code>C:\Users\Robert\Desktop\Discord Bot\index.js:18       
          var randomUser = message.guild.name.random(); 
                                              ^
  
  TypeError: message.guild.name.random is not a function
  </code></pre>
  
  <p>Please Help!</p>