Optional
cdn: stringOptional
mediaProxy: stringGenerates an app asset URL for a client's asset.
The client id that has the asset
The hash provided by Discord for this asset
Optional
options: Readonly<BaseImageURLOptions>Optional options for the asset
Generates an app icon URL for a client's icon.
The client id that has the icon
The hash provided by Discord for this icon
Optional
options: Readonly<BaseImageURLOptions>Optional options for the icon
Generates an avatar URL, e.g. for a user or a webhook.
The id that has the icon
The hash provided by Discord for this avatar
Optional
options: Readonly<ImageURLOptions>Optional options for the avatar
Generates a user avatar decoration preset URL.
The avatar decoration hash
Generates a user avatar decoration URL.
The id of the user
The hash provided by Discord for this avatar decoration
Optional
options: Readonly<BaseImageURLOptions>Optional options for the avatar decoration
Generates a banner URL, e.g. for a user or a guild.
The id that has the banner splash
The hash provided by Discord for this banner
Optional
options: Readonly<ImageURLOptions>Optional options for the banner
Generates an icon URL for a channel, e.g. a group DM.
The channel id that has the icon
The hash provided by Discord for this channel
Optional
options: Readonly<BaseImageURLOptions>Optional options for the icon
Generates a discovery splash URL for a guild's discovery splash.
The guild id that has the discovery splash
The hash provided by Discord for this splash
Optional
options: Readonly<BaseImageURLOptions>Optional options for the splash
Generates an emoji's URL for an emoji.
The emoji id
Optional
options: Readonly<EmojiURLOptions>Optional options for the emoji
Generates a guild member avatar URL.
The id of the guild
The id of the user
The hash provided by Discord for this avatar
Optional
options: Readonly<ImageURLOptions>Optional options for the avatar
Generates a guild member banner URL.
The id of the guild
The id of the user
The hash provided by Discord for this banner
Optional
options: Readonly<ImageURLOptions>Optional options for the banner
Generates a cover image for a guild scheduled event.
The scheduled event id
The hash provided by discord for this cover image
Optional
options: Readonly<BaseImageURLOptions>Optional options for the cover image
Generates a URL for a guild tag badge.
The guild id
The hash of the badge
Optional
options: Readonly<BaseImageURLOptions>Optional options for the badge
Generates an icon URL, e.g. for a guild.
The id that has the icon splash
The hash provided by Discord for this icon
Optional
options: Readonly<ImageURLOptions>Optional options for the icon
Generates a URL for the icon of a role
The id of the role that has the icon
The hash provided by Discord for this role icon
Optional
options: Readonly<BaseImageURLOptions>Optional options for the role icon
Generates a URL for a soundboard sound.
The soundboard sound id
Generates a guild invite splash URL for a guild's invite splash.
The guild id that has the invite splash
The hash provided by Discord for this splash
Optional
options: Readonly<BaseImageURLOptions>Optional options for the splash
Generates a sticker URL.
The sticker id
Optional
extension: "json" | "png" | "gif"The extension of the sticker
Generates a sticker pack banner URL.
The banner id
Optional
options: Readonly<BaseImageURLOptions>Optional options for the banner
Generates a team icon URL for a team's icon.
The team id that has the icon
The hash provided by Discord for this icon
Optional
options: Readonly<BaseImageURLOptions>Optional options for the icon
The CDN link builder