如何回应嵌入

目前,我正在尝试在我的漫游器上工作并更新其响应。现在,我正在尝试使用下面的代码,使其对我的随机嵌入做出响应。由于某些原因,使用此代码时,机器人会以“ NaN”或“ 3”响应?

const embeds = [`${yellowinfocommandembed}`, `${whiteinfocommandembed}`, `${redinfocommandembed}`, `${purpleinfocommandembed}`, `${pinkinfocommandembed}`, `${orangeinfocommandembed}`,`${limeinfocommandembed}`,`${greeninfocommandembed}`,`${cyaninfocommandembed}`,`${browninfocommandembed}`,`${blueinfocommandembed}`,`${blackinfocommandembed}` ];
const embed = Math.floor(Math.random() * embeds.length);
    if(message.channel.type == "dm") {
        message.channel.send(embed);
    }
        else {
            message.delete ();
            message.channel.send(embed);
        }
}