discordjs edit message by id code example
Example 1: how to edit message discord.js
message.channel.send("Beep").then((sentMessage) => sentMessage.edit("Boop!"
Example 2: discord.js edit message by id
client.channels.cache.get(channelid).fetchMessage(messageid).then(msg => msg.delete());