Hallo ich wollte mein eigenen discord bot coden habe ein tutorial gefolgt
https://www.youtube.com/watch?v=j_sD9udZnCk&list=PLbbLC0BLaGjpyzN1rg-gK4dUqbn8eJQq4&index=1
habe alles richtig gefolgt und ausprobiert und bekam immer wieder diesen fehler code
C:\Users\Thor\Desktop\discordbot test>node .
C:\Users\Thor\Desktop\discordbot test\node_modules\discord.js\src\client\Client.js:548
throw new TypeError('CLIENT_MISSING_INTENTS');
^
TypeError [CLIENT_MISSING_INTENTS]: Valid intents must be provided for the Client.
at Client._validateOptions (C:\Users\Thor\Desktop\discordbot test\node_modules\discord.js\src\client\Client.js:548:13)
at new Client (C:\Users\Thor\Desktop\discordbot test\node_modules\discord.js\src\client\Client.js:76:10)
at Object.<anonymous> (C:\Users\Thor\Desktop\discordbot test\index.js:3:16)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1151:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47 {
[Symbol(code)]: 'CLIENT_MISSING_INTENTS'
}