avatarUrl
Documentation / @discordeno/utils / avatarUrl
Function: avatarUrl()
avatarUrl(
userId,avatar,options?):string
Defined in: packages/utils/src/images.ts:37
Builds a URL to a user's avatar stored in the Discord CDN.
Parameters
userId
The ID of the user to get the avatar of.
avatar
The user's avatar hash.
options?
The parameters for the building of the URL.
Returns
string
The user avatar as a URL.