add role to a user from another server discord.py code example
Example: add role discord .py
member = message.author
var = discord.utils.get(message.guild.roles, name = "role name")
member.add_role(var)
member = message.author
var = discord.utils.get(message.guild.roles, name = "role name")
member.add_role(var)