Button Collector

Hi, I'm making a system that adds people to a club, I got everything, but because I'm new I don't know how to make a button collector. I looked for some of the help videos on Youtube and on the discord.js Website, but nothing.

How i want to look like:

It will send an embed 'zaproszenie' that sends a invitation on the interaction channel. After that there are 3 options.
1: Accept (only the person that was included in the user option can accept)
  1. Deny(only the person that was included in the user option can deny)
  2. Cancel (only the person that made the interaction can cancel)
If someone accepts, denies or cancels, it will show a proper embed. If someone accepts, it will get a role on the server.

I showed where I want the collector to be on the photo.

I hope someone can help. πŸ™‚

Kind regards,
official
image.png
Was this page helpful?