guildIconUrl
Documentation / @discordeno/utils / guildIconUrl
Function: guildIconUrl()
guildIconUrl(
guildId,imageHash,options?):string|undefined
Defined in: packages/utils/src/images.ts:123
Builds a URL to the guild icon stored in the Discord CDN.
Parameters
guildId
The ID of the guild to get the link to the banner for.
imageHash
BigString | undefined
The hash identifying the event cover image.
options?
The parameters for the building of the URL.
Returns
string | undefined
The link to the resource or undefined if no banner has been set.