title: My bot is always sending the same random message (as an interaction)
body: <p>I'm more or less new to coding, and I'm trying to code a bot by myself, to play Rock, Paper Scissors.</p>
  <p>This RPS game works with Discord buttons, when you click on one of the 3 buttons, the bot randomly replies with one of the 3 different options.</p>
  <p>I tested the bot, and everything works fine, except for the random reply. My bot sends one of the 3 options, but until I restart it through the console, it will always send the same option no matter which utton I click.</p>
  <p>Here is the part of the code where the options are defined, as well as the interaction:</p>
  <pre><code>const emoji = [
      &quot;✊&quot;, 
      &quot;✋&quot;, 
      &quot;✌&quot;
  ];
  
  const randomemoji = emoji[Math.floor(Math.random() * emoji.length)];
  
  client.on(&quot;interactionCreate&quot;, async interaction =&gt; {
      if(interaction.isButton()){
      if(interaction.customId === &quot;Pierre&quot; || &quot;Papier&quot; || &quot;Ciseaux&quot;){
         await interaction.reply(randomemoji);
      }```
  
  What could I do to make my bot not send the same emoji every time, without restarting it every time?
  
  Thanks in advance !
  </code></pre>