//----------------------------------On collector collect------------------------------
collector.on('collect', async(r) => {
clearTimeout(timeout); //Reset timeout
if (r.emoji.name === "◀") { //index commands page
await interactiveMessage.edit({ embed: mainCommands });
} else if (r.emoji.name === "▶") { //help commands page
await interactiveMessage.edit({ embed: helpCommands });
} else if (r.emoji.name === "▶") { //fun commands page
await interactiveMessage.edit({ embed: funCommands });
} else if (r.emoji.name === '') { //nsfw commands wow
await interactiveMessage.edit({ embed: nsfwCommands });
确切地说,我有好几页(9
),但是在我打到第一个else if
至help commands
之后,如果我再次尝试执行该反应,它将不会继续下一页fun commands
我如何继续下去?