Skip to main content

guildScheduledEventCoverUrl

Documentation


Documentation / @discordeno/utils / guildScheduledEventCoverUrl

Function: guildScheduledEventCoverUrl()

guildScheduledEventCoverUrl(eventId, options): string | undefined

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

Builds the URL to a guild scheduled event cover stored in the Discord CDN.

Parameters

eventId

BigString

The ID of the scheduled event to get the cover of.

options

The parameters for the building of the URL.

cover?

BigString

format?

ImageFormat

size?

ImageSize

Returns

string | undefined

The link to the resource or undefined.