Answer the question
In order to leave comments, you need to log in
ReferenceError: client is not defined?
bot.login does not help.. writes
Answer the question
In order to leave comments, you need to log in
you should have a line like this at the beginning of your code:
here, the constant is named "client".
look at how you have it written and use this name.
if it doesn't help, add the full code to the question description.
const client = new Discord.Client();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question