Edit Embed With Reacciones DIscord.js V12

Hi, What is the error in this code?

client.on("message", message => {
const embed1 = new Discord.MessageEmbed()
.setTitle("Hola")
.setDescription("Prueba")

 const embed2 = new Discord.MessageEmbed()
.setTitle("Hola2")
.setDescription("Prueba2")

 if(message.content.startsWith(prefix + "test")) {
message.channel.send(embed1).then(sentEmbed => {
  sentEmbed.react('1️⃣')
  sentEmbed.react('2️⃣')

  message.awaitReactions((reaction, user) => {
    if(message.author.id !== user.id) return;
    if(reaction.emoji.name === '1️⃣' ){
      sentEmbed.edit(embed1)
    }
    if(reaction.emoji.name === '2️⃣'){
      sentEmbed.edit(embed2)
    }
  })
})

}
})

it would be

client.on('message', async message => {
const embed1 = new Discord.MessageEmbed()
.setTitle("Hola")
.setDescription("Prueba")

 const embed2 = new Discord.MessageEmbed()
.setTitle("Hola2")
.setDescription("Prueba2")

 if(message.content.startsWith(prefix + "test")) {
message.channel.send(embed1).then(sentEmbed => {
  sentEmbed.react('1️⃣')
  sentEmbed.react('2️⃣')

  message.awaitReactions((reaction, user) => {
    if(message.author.id !== user.id) return;
    if(reaction.emoji.name === '1️⃣' ){
      sentEmbed.edit(embed1)
    }
    if(reaction.emoji.name === '2️⃣'){
      sentEmbed.edit(embed2)
    }
  })
})