Коллекционер Discord-Buttons

let sent = message.channel.send("text", button)

function filter(b){ b.clicker.user.id === message.author.id }
const collector = sent.createButtonCollector(filter, { time: 120000 })

collector.on("collect", async btn => {
	console.log(btn.id)
});
wynd