Skip to main content

memberBannerUrl

@discordeno/bot


Documentation / @discordeno/bot / memberBannerUrl

Function: memberBannerUrl()

memberBannerUrl(guildId, userId, options?): string | undefined

Defined in: packages/utils/dist/types/images.d.ts:127

Builds a URL to a member's banner 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 banner of.

options?

The parameters for the building of the URL.

BigString

format

ImageFormat

size

ImageSize

Returns

string | undefined

The link to the resource or undefined if no banner has been set.