Answers for "discord.py autorole"

0

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)
Posted by: Guest on February-01-2021

Python Answers by Framework

Browse Popular Code Answers by Language