#Creating an interaction

1 messages · Page 1 of 1 (latest)

lean kite
#

I am currently using messageCreate event to handle commands.

Is it possible to create interactions ( e.g: buttons ) in this event?
something like const interaction = new Interaction(type) ?
if yes, please provide an example

north plank
#

You can send buttons in the message

vast brookBOT
lean kite
#

after sending a button, how do I catch the event? 🤔

#

onclick

north plank
#

Create a messageComponentCollector

vast brookBOT
lean kite
#

Alright, I will see if I can figure it out 😁 thank you

north plank
#

Good luck!