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