我真的需要帮助。 如何将多个消息嵌入到一条消息中,而不是一一发送?
if (msg.content.startsWith(prefix + "find")) {
const item = game.data.members;
const GQ = msg.content.split(' ').slice(1);
let ign;
let gq;
for (var i = 0; i < item.length; i++) {
if (item[i].task_finished_week < GQ) {
ign = item[i].name;
gq = item[i].task_finished_week;
const embed = new Discord.RichEmbed()
.setTitle(ign)
.addField('Weekly GQ', gq);
msg.channel.send({ embed });
}
}