Answer the question
In order to leave comments, you need to log in
How to create a role with color?
Good afternoon, I want to create a role with color ->
await ctx.guild.create_role(name=f'{rname}', permissions=perms, color=discord.Colour.dark_blue)
Error - 'function' object has no attribute 'value' I
also tried await ctx.guild.create_role(name=f'{rname}', permissions=perms, colour=discord.Colour(255)) .
It worked, but not the colors.
255, 113, 178 no longer works.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question