Answers for "discord py member role update"

3

how to change role permissions in discord.py

#edit permissions of role
permissions = discord.Permissions()
permissions.update(kick_members = False)
await role.edit(reason = None, colour = discord.Colour.blue(), permissions=permissions)
Posted by: Guest on November-25-2020

Python Answers by Framework

Browse Popular Code Answers by Language