Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UserManager.resolve should return a partial User #5

Open
GmBodhi opened this issue Jun 18, 2021 · 0 comments
Open

UserManager.resolve should return a partial User #5

GmBodhi opened this issue Jun 18, 2021 · 0 comments
Labels
enhancement New feature or request
Projects
Milestone

Comments

@GmBodhi
Copy link
Owner

GmBodhi commented Jun 18, 2021

This system is good when you have the username and you want to do (for example we want to follow a user only using the username and don't want to req the API for user object)

so in this case, we can do

const user = client.users.resolve(username);
user.follow()
@GmBodhi GmBodhi added this to the 1.0.0 (beta) milestone Jun 18, 2021
@GmBodhi GmBodhi added the enhancement New feature or request label Jul 2, 2021
@GmBodhi GmBodhi added this to To do in v1 Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
v1
To do
Development

No branches or pull requests

1 participant