title: Why does bulkDelete not work with no error?
body: <p>I've tried to look for typo and other inaccuracies and tried to add permission requirement for the prune command but still, the ping pong and the &quot;not a valid number&quot; replies work but not the prune when I enter the amount.</p>
  <p>Details: I'm trying to make a Discord bot that can prune based on input. I use DJS v12 and follow(ed) this guide <a href="https://v12.discordjs.guide/creating-your-bot/commands-with-user-input.html#number-ranges" rel="nofollow noreferrer">https://v12.discordjs.guide/creating-your-bot/commands-with-user-input.html#number-ranges</a></p>
  <pre><code>if (!msg.content.startsWith(prefix) || msg.author.bot) return;
  if (!msg.member.hasPermission(&quot;BAN_MEMBERS&quot;)) {
    msg.channel.send(&quot;You don\'t have permission.&quot;);
  }
  const args = msg.content.slice(prefix.length).trim().split('/ +/');
  const cmd = args.shift().toLowerCase();
    if (cmd === `ping`) {
      msg.reply('pong.');
    } else if (cmd === `prune`) {
      if (!msg.guild.me.hasPermission(&quot;MANAGE_MESSAGES&quot;)) return;
      const amount = parseInt(args[0]) + 1;
      
      if (isNaN(amount)) {
        return msg.reply('Not a valid number.');
      } else if (amount &lt;= 1 || amount &gt; 100) {
        return msg.reply('Please input a number between 1 and 99.');
      }
    msg.channel.bulkDelete(amount, true).catch(err =&gt; {
          console.error(err);
          msg.channel.send('Error!');
     });
    }
  });
  </code></pre>