memberAvatarUrl
@discordeno/utils • Docs
Documentation / @discordeno/utils / memberAvatarUrl
Function: memberAvatarUrl()
memberAvatarUrl(
guildId
,userId
,options
?):string
|undefined
Builds a URL to a member's avatar stored in the Discord CDN.
Parameters
• guildId: BigString
The ID of the guild where the member is
• userId: BigString
The ID of the user to get the avatar of.
• options?
The parameters for the building of the URL.
• options.avatar?: BigString
• options.format?: ImageFormat
• options.size?: ImageSize
Returns
string
| undefined
The link to the resource or undefined
if no banner has been set.