Skip to content
This repository was archived by the owner on Oct 11, 2025. It is now read-only.

Conversation

@Olmo-Gutierrez
Copy link

This commit introduces the ability to fetch detailed user profiles from the Discord API.

  • A new UserProfile structure has been added to represent the profile data, including connected accounts, mutual guilds/friends, and bio.
  • A fetchProfile method has been added to UserManager to perform the API request. This method allows for customization of the query parameters.
  • The User structure now has a fetchProfile method, which is a convenient shortcut to UserManager#fetchProfile.
  • The UserProfile structure is exported from the main entry point of the library.

This commit introduces the ability to fetch detailed user profiles from the Discord API.

- A new `UserProfile` structure has been added to represent the profile data, including connected accounts, mutual guilds/friends, and bio.
- A `fetchProfile` method has been added to `UserManager` to perform the API request. This method allows for customization of the query parameters.
- The `User` structure now has a `fetchProfile` method, which is a convenient shortcut to `UserManager#fetchProfile`.
- The `UserProfile` structure is exported from the main entry point of the library.
@aiko-chan-ai
Copy link
Owner

👀

@Olmo-Gutierrez
Copy link
Author

👀

everything working alright?

@aiko-chan-ai
Copy link
Owner

looks fine, but you're missing the typing part tho

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants