const report_message = interaction.guild.channels.cache.get('1230849852024557638').send({content:"新报告!", embeds: [embed], Components: button_row}); const report_filter = (interaction_filter) => {返回 true;}
尝试{ const确认=等待report_message.awaitMessageComponent({过滤器:report_filter,时间:“60000000000000000000000000000000000000000000000”})
我被困在这个问题上,我希望它能发挥作用
也许阅读文档。那可以帮助你。 https://discordjs.guide/message-components/interactions.html#awaiting-components
如果你还是不明白,给我完整的代码。我帮你编辑一下