userUpdate for global users
Does the
userUpdate
event work for cached users only ? And not for all discord users20 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
ah thanks
It works for every user the client has access to
its a real bummer tbh
Doesnt matter if they are cached or not
well uh
But the client needs to share a guild with them
ah yeah
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
yeah yeah def
aight thanks
im sorry i has another question
so i had a weird problem
with
client.users.fetch()
its supposed to fetch any discord user i want right ?Yes
so i have an eval cmd
i tested an id with it
and it returned a user not found error
and used an id lookup site and it said the same
BUT
i used client.users.fetch
in my ready.js and it logged fine
Show both codes
aight


The ids are different
4400 and 4462
how's that even possible
cuz like
ok im gonna tell what i did
If you store them as numbers, they get rounded
Because they are bigInts
You need to store them as strings
ah shit
that explains it
thanks