title: Discord.js Set position to a text channel
body: <p>I have a problem with discord.js: I want to set a position to a channel :</p>
  <pre><code>const chanName = message.channel.name;
      let categoryId = message.channel.parentID
      let position = message.channel.position
      console.dir(position)
      const catego = message.guild.channels.cache.find(c =&gt; c.id == categoryId &amp;&amp; c.type == &quot;category&quot;)
      message.channel.delete().catch();
      
      const chan = message.guild.channels.create(chanName, {type: 'text'}).then((channel) =&gt; channel.setParent(catego) &amp;&amp; channel.setPosition(position) &amp;&amp; channel.send(`Succesfully nuked \`${chanName}\`\nhttps://imgur.com/LIyGeCR`))
      chan
  </code></pre>
  <p>but when i execute the command the channel is not set at the position.</p>
  <p>I would also like to save the permissions to put them back after</p>