Skip to main content

guildScheduledEventCoverUrl

@discordeno/bot


Documentation / @discordeno/bot / guildScheduledEventCoverUrl

Function: guildScheduledEventCoverUrl()

guildScheduledEventCoverUrl(eventId, options): string | undefined

Defined in: packages/utils/dist/types/images.d.ts:93

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.