title: Deleting single channel/all channels does not work
body: <p>I'm creating a bot that manages a server to get used to JavaScript and the Discord.js library. I tried deleting a channel using this code, but it didn't work.</p>
  
  <pre><code>guild.channel.delete('Making room for new channels')
    .then(deleted =&gt; console.log(`Deleted ${deleted.name} to make room for new channels`))
    .catch(console.error);
  </code></pre>
  
  <p>I've already tried to replace the first line with <code>channel.delete</code> and <code>channel.guild.delete</code>, but I kind of gave up since I have no clue on how to make it delete every channel in the guild.<br>
  As bad as this sounds, I'm not trying to destroy any discord server.<br>
  Thanks in advance.</p>