discordpy get role permissions code example
Example: how to give a role permissions discord py
server = ctx.message.server
perms = discord.Permissions(send_messages=False, read_messages=True)
await client.create_role(server, name='NoSend', permissions=perms)