title: How to make a random number generator discord.js?
body: <p>I'm making a command that randomly rates you when you do $rate. I just couldn't find a way to make a random number generator. This is my code:</p>
  <pre class="lang-js prettyprint-override"><code>execute(message, args) {
   var rating = Math.random() * 10 + 1;
   message.reply(`I rate you ${rating}/10`);
  };
  </code></pre>
  <p>But it doesn't work. Any help?</p>