discord.js go through messages in channel code example
Example: 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>")
client.channels.get("<ID of the channel you want to send to>").send("<your message content here>")