editing embed with message id code example
Example: discord.js edit message by id
client.channels.cache.get(channelid).fetchMessage(messageid).then(msg => msg.delete());
client.channels.cache.get(channelid).fetchMessage(messageid).then(msg => msg.delete());