title: discord bot list all roles python
body: <p>I have this code</p>
  <pre><code>async def allroles(ctx):
    output2 = &quot;&quot;
    server = ctx.message.guild
    role_id = server.roles[0]
  
    for role in server.roles:
      if role_id == 640586288029892618:
        print(&quot;it´s everyone role&quot;)
      else:
        output2 +=f&quot;{role.name} \n&quot;
    await ctx.send(output2)
  </code></pre>
  <p>where 640586288029892618 == @everyone
  I wanna write every role except everyone, but when I tried this it just wrote all roles include everyone, so I guess my try to not write it was wrong (and if there is option to instead ID of everyone use role_name so I don´t have to change it for every @everyone server role but write into</p>
  <pre><code>if role.name == &quot;@everyone&quot;:
      Skip
  else:
      output2 +=f&quot;{role.name} \n&quot;
  await ctx.send(output2)
  </code></pre>
  <p>It would be nice.  Thank you for helping me out!</p>