#confused about something in the guide
18 messages · Page 1 of 1 (latest)
By using collectors: https://discordjs.guide/interactions/buttons.html#component-collectors
confused about something in the guide
so in the guide for interaction collectors, it has
message.createMessageComponentCollector():
or something
what is message?
A Message
like
how do you get it?
like is it imported from discord.js
do I have to do const { ..... , Message } = require discord.js??
const message = await interaction.reply({ content, components: [buttons], fetchReply: true })
yes, cus it wud return nothing
Yes, otherwise it would return undefined
thank you a lot 🙂