how to make a autorole system in discord.py code example
Example: discord.py autorole
@client.event
async def on_raw_reaction_add(payload):
guild = client.get_guild(id=payload.guild_id)
roles = guild.get_role(role_id)
await user.add_roles(roles)