Answer the question
In order to leave comments, you need to log in
Launch error on heroku. How to fix?
Greetings.
There is an error with heroku.
It just won't start the Discord bot.
Error:
At the same time, everything starts on the PC through the node console.
What to do and how to fix?
Answer the question
In order to leave comments, you need to log in
You are trying to get a channel from the cache when the cache is empty. That is, the client.channels.cache.get('channel id') method returned undefined, since the channel is not in the cache. First you need to cache the channel via client.channels.fetch('channel id'), then get this channel.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question