Skip to main content

memberBannerUrl

Documentation


Documentation / @discordeno/utils / memberBannerUrl

Function: memberBannerUrl()

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

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

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?​

ImageOptions & object

The parameters for the building of the URL.

Returns​

string | undefined

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