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