title: Role Positions: Discord.js
body: <p>I am trying to create roles in my server via my bot in a certain order, but every time i run the command the role positions are all wrong.</p>
  <p>Code:</p>
  <pre><code>client.on(&quot;message&quot;, message =&gt; {
      if(message.content.startsWith(prefix + &quot;createrole&quot;)){
          message.guild.roles.create({
              data: {
                  name: &quot;Owner&quot;,
                  color: &quot;BLUE&quot;,
                  position: 1
              }
          })
          .then(role =&gt; console.log(red(`Role created`)))
          .catch(err =&gt; console.log(err))
          message.guild.roles.create({
              data: {
                  name: &quot;Admin&quot;,
                  color: &quot;BLUE&quot;,
                  position: 2
              }
          })
          .then(role =&gt; console.log(red(`Role created`)))
          .catch(err =&gt; console.log(err))
          message.guild.roles.create({
              data: {
                  name: &quot;Mod&quot;,
                  color: &quot;BLUE&quot;,
                  position: 3
              }
          })
          .then(role =&gt; console.log(red(`Role created`)))
          .catch(err =&gt; console.log(err))
      }
  })
  </code></pre>
  <p><a href="https://i.stack.imgur.com/9ELDN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9ELDN.png" alt="enter image description here" /></a></p>
  <p>In Theory this should be in order but I am not sure what is going on !</p>
  <p>Any help would be appreciated.</p>