Answer the question
In order to leave comments, you need to log in
Sending to all channels with a specific name?
I have a code that sends all messages from the site to a channel called "ochat".
code:
let channel1 = client.channels.cache.find(channel1 => channel1.name === `ochat`)
if(!channel1) return;
channel1.send(message)
The problem is that it only sends to 1 channel with that name, and it's on 2 servers. How to make it send messages to all channels from all servers?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question