Skip to main content

memberBannerUrl

Documentation


Documentation / @discordeno/utils / memberBannerUrl

Function: memberBannerUrl()

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

Defined in: packages/utils/src/images.ts:256

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

undefined | string

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