Reaction on message based logic.

Hello!
I'm new to discord js, and i'm lost on what i "need".
Would love some guidance/links to a guid/docs that can help me.

So what i have today is a /apply command, you fill in a modal, and the bot will create an embed to admins for review. Today if a user is accepted, admins manually give them a role, if not they will right-click and delete the embed.

I would like to add the abillity for admins to react with ✅ to accept a user and give that user a role, and the bot should move the embed to "accepted chat". And if an admin reacts with ❎ the embed should simply be deleted.

How can i make this, and what is it i need to study?
Was this page helpful?