how to edit a message from a different channel in discord.js code example
Example 1: how to edit message discord.js
message.channel.send("Beep").then((sentMessage) => sentMessage.edit("Boop!"
Example 2: send a message to a specific channel discord.js
client.channels.get("<ID of the channel you want to send to>").send("<your message content here>")