guildScheduledEventCoverUrl
@discordeno/bot • Docs
Documentation / @discordeno/bot / guildScheduledEventCoverUrl
Function: guildScheduledEventCoverUrl()
guildScheduledEventCoverUrl(
eventId
,options
):string
|undefined
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.
• options.cover?: BigString
• options.format?: ImageFormat
• options.size?: ImageSize
Returns
string
| undefined
The link to the resource or undefined
.
Defined in
packages/utils/dist/types/images.d.ts:93