#very simple Problem with Intents.FLAGS.GUILDS but cant find
1 messages · Page 1 of 1 (latest)
you misspelled GUILDS
wait wait
That wouldn't cause that error though
i jsut changed that i thought i missspelled GUILD so iu changed it to GUILD because it gave me some bitmap error
and then it ave me this one
What's Intents defined as?
Yea, that's wrong
do Intents.Intents
what but i strsaight up copied that
No 
or destructure
@sinful yarrow Please give good advice not bad advice
hahaha
that will work trust me
@mighty beacon Rename your import to Discord or DJS
Bad code that works, is bad code
how and what does that do for me?
@mighty beacon
You want either:
const Discord = require('discord.js');
const { Intents } = Discord;
Or if you don't need the whole import, just
const { Intents } = require('discord.js');
oh i have const Discord as well but intents without the brackets
just had it like this
🤨
wait i gotta figure something out
Ping me on your return.
I'm working, but might see it
Look at your 3rd line, same problem
discord.js doesn't have a default export. by not restructuring your imports you're just importing the same thing, just redefined
ja
i had that before it gives the same error it must be something else
GUILDS sssSSSS 🐍
that too 
i forgot xD

its been a while that i programmed
a shit
its doing something
okay so it said bot is ready so the first part worked
this isnt as simple as i thought...
but as soon as i use one of my commands that i have
wait
sorry i overestimated myself and underestimated the problem
thanks anyways you guys helped a lot
NP, best of luck.