member = message.author var = discord.utils.get(message.guild.roles, name = "role name") member.add_role(var)