#I don't know whats wrong with my discord bot

28 messages · Page 1 of 1 (latest)

versed cliff
#

and my error :

#

TypeError [ClientMissingIntents]: Valid intents must be provided for the Client.
at Client._validateOptions (C:\Users\Noah\Desktop\DiscordBot\node_modules\discord.js\src\client\Client.js:480:13)
at new Client (C:\Users\Noah\Desktop\DiscordBot\node_modules\discord.js\src\client\Client.js:78:10)
at Object.<anonymous> (C:\Users\Noah\Desktop\DiscordBot\main.js:3:16)
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 {
code: 'ClientMissingIntents'
}

wraith current
#

u didnt put a token

#

it tries to login to ('my discord bot token');

#

oh rigt

#

u didnt wanna share it

#

im dumb

versed cliff
#

yea

wraith current
#

go to discord dev portal

#

and enable intents

#

on the bot

versed cliff
#

okok

wraith current
versed cliff
#

lemme try that rq

#

this right?

wraith current
#

yes

versed cliff
#

I keep getting the error

wraith current
#

go to ouath2

#

and it should say soemthing

#

about intents

#

also re invite the bot once u do that

versed cliff
#

Hmm

#

I dont see anything..

wraith current
#

it says ClientMissingIntents

#

so

#

reinvite ur bot

#

follow this guide