#ClientMissingIntents, how do i fix this issue? i've tried everything it just doesnt work
132 messages ยท Page 1 of 1 (latest)
is that line 45? and can you show how you import GatewayIntentBits?
how i import it?
its these lines
did you change your code? your error and code don't match
according to your error, it comes from line 45
??
but it can't come from here, so it suggests you changed it
presenceupdatestatus
i don't ermember changing my code
hm
is there a way to fix it?
can you try running again and sharing the new error
also this shouldn't cause problems why do you have imports in line 39? imports are usually done at the top of the file
however you're running it and getting the error
uh
this is whats above it
are you sure you're seeing this file?
index.js?
double check if it's saved
yes, but the index.js in that path
the dot suggests it's not saved
in that path?
try saving first
alr
why does it say inptents and not intents
double check it says intents, and that it's saved
did this dot dissapear?
define "doesn't work"
definiton : doesn't even show as a command
or im stupid
this is the code for a simple ping command
in the server i have the bot, it does not work
are you following the guide or...?
nor show the command
im doin everythin i can man </3
im sleep deprived liek hell
I get that, but from where are you getting the steps to create the bot
the guide? (https://discordjs.guide)
Maybe its doing the same thing it did with me where it takes a while to register? Are you registering globally or on guild
globally
thats probably why
it shouldn't take a while to register, it's immediate
not following that
refreshing the client sometimes help though
Globally took a while for me but idk today was my first day
but I'm not sure if that's the issue in the first place
what are you following then?
Is discordjs.guide the official guide? Thats probably why ive had some issues following some other guide then
Ctrl+c usually
yes it is, and it's the only recommended way
the code you shared defines a function for registering commands
but I don't see you calling that function anywhere
so im stupid in other words
it'll probably be easier to share the entire code
ngl
though I'd suggest learning from the guide, instead of following a random video
im sleep deprived like hell, and i can't do much ๐ญ
you should sleep then
i need to get this finished
I see, yeah probably why i was having issues. Anyway ill leave this forum as this is unproductive toeards helping them
more like my ADHD is saying finish it then u can sleep
its fine man dw xD
Sleep then finish it
Trust me
don't got time
problem is, if you don't understand what you're doing, finishing will be really hard, even more so not being fully capable (because of lack of sleep)
this is the only window im open for w time
hm
you can come back later and check the guide instead, it explains step by step what each codeblock does
You defined it, but it isnt getting told to run anywhere
do you know js fundamentals?
ah
alr
well
i'll have to do that
i fixed it
๐ Pong!
Latency: 521ms
Nice
thats not what i wnated ot do
Wrong bot
but yeah js had to do a few tweaks to the code
Close enough
it works tho :D
now i have to quickly code 2 more commands and i'll be fine,
thank you both for your time to help me, i will probably be back here tmrow or later today tysm tho!
Sure lol good luck