bannerUrl
Documentation / @discordeno/utils / bannerUrl
Function: bannerUrl()
bannerUrl(
userId,options?):string|undefined
Defined in: packages/utils/src/images.ts:85
Builds a URL to a user's banner stored in the Discord CDN.
Parameters
userId
The ID of the user to get the banner of.
options?
ImageOptions & object
The parameters for the building of the URL.
Returns
string | undefined
The link to the resource or undefined if no banner has not been set.