bannerUrl
@discordeno/bot • Docs
Documentation / @discordeno/bot / bannerUrl
Function: bannerUrl()
bannerUrl(
userId
,options
?):string
|undefined
Builds a URL to a user's banner stored in the Discord CDN.
Parameters
• userId: BigString
The ID of the user to get the banner of.
• options?
The parameters for the building of the URL.
• options.banner?: BigString
• options.format?: ImageFormat
• options.size?: ImageSize
Returns
string
| undefined
The link to the resource or undefined
if no banner has not been set.
Defined in
packages/utils/dist/types/images.d.ts:33