title: How can I change a Discord channel name using nodeJS and discordJS?
body: <p>I'm coding my first discord bot with node.js and discord.js.</p>
  
  <p>The main goal is to give information about a Minecraft server via Discord.</p>
  
  <p>I want to have a channel that every some time, updates its name to:</p>
  
  <blockquote>
    <p>There are [x] active players in this server.</p>
  </blockquote>
  
  <p>I have a variable that updates every <code>1 minute</code> with the number of people currently playing.</p>
  
  <p>How can I update a channel name knowing its ID?</p>
  
  <p>I checked the discord.js documentation but I'm a beginner in JS and I don't fully understand what I have to do.</p>