Комментарии:
client.on("message", (msg) =>{
console.log(msg.content)
})
does not log any message. Bot has admin rights and client.on("ready) is working
I followed everything to the T and I get the error. TypeError: Cannot read properties of undefined (reading 'FLAGS')
How do I fix that?
hey, if i type const client = new Discord.Client({
intents: [
Discord.Intents
And all the stuff you showed in the video, it doesnt show Intents as an option in visual studio
How can i fix that?
Hey Michael trust that you're well,
intents: [Intents.FLAGS.GUILDS, Intents.FLAGS.GUILDS_MESSAGES],
^
TypeError: Cannot read properties of undefined (reading 'FLAGS')
Hello Michael! I have a problem with my bot. It works with other servers but it doesn't work in the server I want it to work. It gives me "Cannot read properties of undefined (reading 'id') error. What should I do to fix this problem? Please help me...
Ответить