title: Deleting all Slash Commands
body: <p>how to delete all slash commands using discord.js? I'm using 13.5.0 version</p>
  <pre><code>bot.on('interactionCreate', interaction =&gt; {
            if (!interaction.isCommand()) return;
            bot.api.applications(bot.user.id).commands(interaction.commandId).delete();
  });
  </code></pre>
  <p>I tried to do this, but it's just gives me error: <code>Uncaught DiscordAPIError: Unknown application command</code></p>