Skip to main content

guildScheduledEventCoverUrl

Documentation


Documentation / @discordeno/utils / guildScheduledEventCoverUrl

Function: guildScheduledEventCoverUrl()

guildScheduledEventCoverUrl(eventId, options): string | undefined

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

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

ImageOptions & object

The parameters for the building of the URL.

Returns

string | undefined

The link to the resource or undefined.