bot creation

i got a error cannot read prpoeries of undefined (reading flag) i saw in video he is using discord js 14 and he didn't get any error
3 Replies
d.js toolkit
d.js toolkit14mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by staff
Akatsuki </>
Akatsuki </>OP14mo ago
C:\Users\Ayush\Documents\tutotrial js\src\index.js:5 IntentBitFIeld.Flags.Guilds, ^ TypeError: Cannot read properties of undefined (reading 'Flags') at Object.<anonymous> (C:\Users\Ayush\Documents\tutotrial js\src\index.js:5:24) at Module._compile (node:internal/modules/cjs/loader:1159:14) at Module._extensions..js (node:internal/modules/cjs/loader:1213:10) at Module.load (node:internal/modules/cjs/loader:1037:32) at Module._load (node:internal/modules/cjs/loader:878:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:23:47 Node.js v18.12.1
chewie
chewie14mo ago
please dont crosspost, k thx
Want results from more Discord servers?
Add your server