Skip to main content

getWidgetImageUrl

@discordeno/utilsDocs


Documentation / @discordeno/utils / getWidgetImageUrl

Function: getWidgetImageUrl()

getWidgetImageUrl(guildId, options?): string

Builds a URL to the guild widget image stored in the Discord CDN.

Parameters

guildId: BigString

The ID of the guild to get the link to the widget image for.

options?: GetGuildWidgetImageQuery

The parameters for the building of the URL.

Returns

string

The link to the resource.

Defined in

packages/utils/src/images.ts:206