Wait for a component
You use the collector as follows:
client.awaitComponent(message, 5000, message.author).then(collector => { console.log(collector) })
Last updated 2 years ago