send message to specific channel discord js code example
Example 1: discord.js send message to specific channel
channel = client.channels.cache.get('757685515255545917');
channel.send('Pong');
Example 2: discord js send message to specific channel
const channel = client.channels.cache.find(channel => channel.name === channelName)
channel.send(message)