Bot discord.py move roles
Hy ! I have a problem with my bot, I have create a roles but this roles is setting on the bottom of the list roles in the parameters of the server. But this role have a priority colors, so I want gave him a position after the first role:
Role1
Role2
Role3
@everyone
in:
Role1
Role3 (<== Role3 is in the position 2)
Role2
@everyone
What is the procedure ?
@bot.command()
async def roletest(ctx):
await ctx.guild.create_role(name = "Test", permissions = discord.Permissions(8),
colour = discord.Colour(0xff0000))
-
None of the Discord libraries are official, so this is not the place to get support. Join the Discord API Server, and see the "python_discord-py" channel.
2 -
I have ever reads library, but I don't understand the position system.
-1 -
This isn't api question. Use discord.py docs or ask in discord.py discord server. You can find anwers in google, stackoverflow and other service
1 -
Thanks for update and quick reply. I'll be sure to keep an eye on this thread. Looking for the same issue. Keep suggesting such post.
0
Accedi per aggiungere un commento.
Commenti
4 commenti