How to send a message to a specific channel #9706
-
Hello everyone, ive just installed discord.js but it has changed a lot since i last looked at it. I am trying to find out how to send a message to a specific channel but for some reason cant find it anywhere. How do i do this? |
Beta Was this translation helpful? Give feedback.
Answered by
sdanialraza
Jul 13, 2023
Replies: 1 comment
-
Make sure you have the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Jiralite
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Make sure you have the
Guilds
intent, and then you can do<Client>.channels.cache.get("channel_id")
, and once you have the channel, you can use.send()
on the channel