How would i make a reaction role event. This is my code i tried with
@client.event
async def on_raw_reaction_add(payload):
msgID = 05793080854315018
if payload != None:
if payload.message_id == msgID:
if str(payload.emoji) == "✍️":
await add_roles("cool")
What i wanna do is have my bot checking for reactions on a specific message and then give the user a role if they reacted with the right emoji.