how to send a message using a bot discord code example
Example: how to send a message to a discord server using a bot
const channel = client.channels.cache.get(channel => channel.name === 'the channel name')
channel.send(message)
const channel = client.channels.cache.get(channel => channel.name === 'the channel name')
channel.send(message)