Skip to content

FetchedUserWithProfile

Package: @erinjs/core

Result of {@link UsersManager.fetchWithProfile}.

Properties

NameTypeReadonlyOptionalDescription
globalProfileanyNoNoGlobal profile (bio, pronouns, mutual guilds, etc.). Null if unavailable.
memberGuildMember | nullNoNoGuild member when guildId was provided and user is in the guild. Null otherwise.
memberDataanyNoNoRaw member data when member exists (for premium_since, etc.).
serverProfileanyNoNoServer-specific profile when guildId was provided. Null if unavailable.
userUserNoNoThe user (cached in client.users).
userDataAPIUserPartialNoNoRaw user data from GET /users/{id}.

Released under the Apache-2.0 License.