discord.js get 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());