The MessageCollector
class provides us with the parameter of the collected
elements through the end
event. We can use it to determine how many messages were collected by simply typing:
collector.on('end', async m => console.log(m.size))
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…