Static
getGet a user's avatar.
The user's ID.
Optional
avatar: null | stringThe user's avatar hash.
Optional
guildAvatar: null | stringThe user's guild avatar hash.
Optional
guildId: null | stringThe guild ID of the guild avatar hash.
Optional
discriminator: null | stringThe user's discriminator.
Optional
options: CDNImageOptions<"jpeg" | "png" | "webp" | "gif" | "jpg">Avatar options. Note that if the user has a default avatar, size will be omitted and the format will be a png.
Static
getGet a user's name.
The user's username.
Optional
globalName: null | stringThe user's global name (display name).
Optional
nick: null | stringThe user's nickname in a guild.
Optional
discriminator: null | stringThe user's discriminator.
Utilities for users.