send Message To Specific Channel error!! #8821
-
const channel1 = await client.channels.cache.get('1039044486187188274') code is not working The bot that used to be well but now it make error. is it update? plz asap response |
Beta Was this translation helpful? Give feedback.
Answered by
kyranet
Nov 7, 2022
Replies: 1 comment
-
There are many reasons for that code to fail:
There are many reasons for a little code snippet to fail, I hopefully listed all the possibilities. Next time please give us a error message with an error stack. Alternatively, please visit our support channels at |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kyranet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are many reasons for that code to fail:
Channel
type to the specific one that's expected from it, sosend
's availability becomes partial because the type is an union where some of the possible t…