guildDiscoverySplashUrl
@discordeno/bot • Docs
Documentation / @discordeno/bot / guildDiscoverySplashUrl
Function: guildDiscoverySplashUrl()
guildDiscoverySplashUrl(
guildId
,imageHash
,options
?):string
|undefined
Builds the URL to a guild discovery splash stored in the Discord CDN.
Parameters
• guildId: BigString
The ID of the guild to get the splash of.
• imageHash: undefined
| BigString
The hash identifying the discovery splash image.
• options?
The parameters for the building of the URL.
• options.format?: ImageFormat
• options.size?: ImageSize
Returns
string
| undefined
The link to the resource or undefined
if the guild does not have a splash image set.
Defined in
packages/utils/dist/types/images.d.ts:82