Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #role #permissions
ADD COMMENT
Topic
Name
4+3 =