#Valid intents must be provided for client
23 messages · Page 1 of 1 (latest)
By providing the intents you need
idk how to do that
ok
now im getting an error that bot isnt defined
pretty sure line 13 has to be a bot variable but idk how to do that since i know little about js
you need to learn JS first
check #resources
im just trying to make a basic informational bot
ok
ive done it before a few months ago but now they added this new intents bs
i just need to define bot as discord.js
still need to learn JS
idk how
you need to provide intents since more than 1 year but ok
and it’s not even the issue
idk how long it was i just want to get my bot working
#resources
not anymore since i pasted those two lines in but now i need to define bot as line 13
Yeah, you blindly copy pasted something
well you named client as bot
You've now declared a variable called client, and not bot
Popular Topics: Gateway Intents