title: Command supposed to delete author's message after the command is called but instead spams chat [discord.js]
body: <p>I'm trying to make a command where it's supposed to say something but then delete the author's message, but it instead spams the chat with the output and does not delete the message.</p>
  <p>This is my current code:</p>
  <pre><code>client.on('message', message =&gt; {
  if (message.content === &quot;##@square&quot;)
        message.delete(100);
        message.channel.send(&quot;Gaming&quot;);
  });
  </code></pre>
  <p>And this is the output I get: <a href="https://i.stack.imgur.com/M0aQd.png" rel="nofollow noreferrer">image</a></p>