title: Way to check if a channel exists
body: <pre><code>module.exports.run = async (bot, message, args) =&gt; {
  
      let ticketreason = args[1];
      let ticketname = "ticket" + ticketreason;
  
      message.guild.createChannel("tickets",  "category")
      message.guild.createChannel(ticketname, "text");
  
  }
  </code></pre>
  
  <p>So I've got this very simple and basic code here. I am trying to find a way to check if a channel exists before creating it. I've attempted to search around the discord.js documentation a few times for a solution, but I've had no luck so far. I need an explanation for how I can achieve this.</p>