K
K
Kirill Dremin2021-06-27 11:26:28
Node.js
Kirill Dremin, 2021-06-27 11:26:28

ReferenceError: client is not defined?

60d8360c55993733051979.png

bot.login does not help.. writes

60d8362fa40c9020197400.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2021-06-27
@renaissance1338

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 question

Ask a Question

731 491 924 answers to any question