edit.messages discord.js code example
Example: discord.js how to edit a message
message.channel.send("Beep").then((sentMessage) => sentMessage.edit("Boop!"))
message.channel.send("Beep").then((sentMessage) => sentMessage.edit("Boop!"))