Z
Z
Zero None2020-10-17 15:29:28
Python
Zero None, 2020-10-17 15:29:28

How to change the rights of the role on the server through the Bot?

I need to change the permissions of a role on a server using just the bot. I found the list of permissions, but I don’t know how to change it. I use Discord.py

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Nevzorov, 2020-10-17
@ZERRITO

role.edit(permissions=discord.Permissions()): https://discordpy.readthedocs.io/en/stable/api.htm...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question