role permissions discordpy code example
Example 1: discord py get user by id
user = bot.get_user(user_id)
Example 2: 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)