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