displayAvatarUrl
Documentation / @discordeno/utils / displayAvatarUrl
Function: displayAvatarUrl()
displayAvatarUrl(
userId,discriminator,avatar,options?):string
Defined in: packages/utils/src/images.ts:68
Builds a URL to a user's display avatar stored in the Discord CDN.
Parameters
userId
The ID of the user to get the avatar of.
discriminator
string
The user's discriminator. (4-digit tag after the hashtag.)
avatar
The user's avatar hash.
BigString | undefined
options?
The parameters for the building of the URL.
Returns
string
The user display avatar as an URL.