userUpdate for global users

Does the userUpdate event work for cached users only ? And not for all discord users
20 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
wen
wenOP2y ago
ah thanks
Parogo_72
Parogo_722y ago
It works for every user the client has access to
wen
wenOP2y ago
its a real bummer tbh
Parogo_72
Parogo_722y ago
Doesnt matter if they are cached or not
wen
wenOP2y ago
well uh
Parogo_72
Parogo_722y ago
But the client needs to share a guild with them
wen
wenOP2y ago
ah yeah
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
wen
wenOP2y ago
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 ?
Parogo_72
Parogo_722y ago
Yes
wen
wenOP2y ago
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
Parogo_72
Parogo_722y ago
Show both codes
wen
wenOP2y ago
aight
wen
wenOP2y ago
wen
wenOP2y ago
Parogo_72
Parogo_722y ago
The ids are different 4400 and 4462
wen
wenOP2y ago
how's that even possible cuz like ok im gonna tell what i did
Parogo_72
Parogo_722y ago
If you store them as numbers, they get rounded Because they are bigInts You need to store them as strings
wen
wenOP2y ago
ah shit that explains it thanks
Want results from more Discord servers?
Add your server