Javascript 更改嵌入颜色的正确方法(discord.js)

Javascript 更改嵌入颜色的正确方法(discord.js),javascript,discord.js,Javascript,Discord.js,我想知道他们是否是一种编辑已发送的嵌入颜色的方法。我想在用户对某个表情做出反应后更新颜色 经过一些调试,我发现可以从messageReaction.message.embeddes [ MessageEmbed { type: 'rich', title: null, description: 'Its the description thats showing this, kinda cool inst it?', url: null, color:

我想知道他们是否是一种编辑已发送的嵌入颜色的方法。我想在用户对某个表情做出反应后更新颜色

经过一些调试,我发现可以从
messageReaction.message.embeddes

[
  MessageEmbed {
    type: 'rich',
    title: null,
    description: 'Its the description thats showing this, kinda cool inst it?',
    url: null,
    color: 9807270,
    timestamp: 1607934639684,
    fields: [],
    thumbnail: {
      url: 'https://cdn.discordapp.com/avatars/501923384448385025/2a50751b22710319060b3b3af8e4952b.webp',
      proxyURL: 'https://images-ext-1.discordapp.net/external/cKWwFnPdQCHFZ_o3x4-g17bDb4Yi8JfKiNkkd7qiXao/https/cdn.discordapp.com/avatars/501923384448385025/2a50751b22710319060b3b3af8e4952b.webp',
      height: 128,
      width: 128
    },
    image: null,
    video: null,
    author: null,
    provider: null,
    footer: {
      text: 'I am a nice little footer that is for testing because test.',
      iconURL: undefined,
      proxyIconURL: undefined
    },
    files: []
  }
]
但是当我使用
console.log(messageReaction.message.embeddes.description)
时,它返回
undefined


因此,使用
.edit
功能编辑消息将不起作用,因为嵌入中的描述、时间戳、页脚、缩略图等将丢失。

发现了问题,因为它返回了我需要使用的数组
messageReaction.message.embeddes[0]。description