Discord botunda "SyntaxError: Invalid or unexpected token" hatası

k1ller2sad

Picopat
Katılım
11 Haziran 2021
Mesajlar
757
Çözümler
2
Yer
Papua Yeni Gine
Kod:
C:\Users\batuh\Desktop\Bott\node_modules\discord.js\src\client\Client.js:544
      throw new TypeError('CLIENT_MISSING_INTENTS');
      ^

TypeError [CLIENT_MISSING_INTENTS]: Valid intents must be provided for the Client.
    at Client._validateOptions (C:\Users\batuh\Desktop\Bott\node_modules\[4mdiscord.js[24m\src\client\Client.js:544:13)
    at new Client (C:\Users\batuh\Desktop\Bott\node_modules\[4mdiscord.js[24m\src\client\Client.js:73:10)
    at Object.<anonymous> (C:\Users\batuh\Desktop\Bott\bot.js:2:16)
[90m    at Module._compile (node:internal/modules/cjs/loader:1101:14)[39m
[90m    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)[39m
[90m    at Module.load (node:internal/modules/cjs/loader:981:32)[39m
[90m    at Function.Module._load (node:internal/modules/cjs/loader:822:12)[39m
[90m    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12)[39m
[90m    at node:internal/main/run_main_module:17:47[39m {
  [[32mSymbol(code)[39m]: [32m'CLIENT_MISSING_INTENTS'[39m
}
Şimdi de böyle hata alıyorum.
Hocam intentsleri açın.
 

Yeni konular

Yukarı