Get User by ID
JonJon565 opened this issue · comments
JonJon565 commented
Which package is the feature request for?
The documentation
Feature
Is it possible to get a user from a guild that has like 60k+ users?
channel.guild.members only has like 3 ID's.
Ideal solution or implementation
Let me know if there is already a way to achieve getting a user by their ID.
Alternative solutions or implementations
No response
Other context
No response
JonJon565 commented
nvm use this code
var user = client.users.fetch('USER_ID_HERE');
Yellowy commented
nvm use this code
var user = client.users.fetch('USER_ID_HERE');
That returns a promise so you'd have to either do user.then or await client.users.fetch('user_id')
JonJon565 commented
Yea saw that.
ig this issue is over XD