export declare class CDN
The CDN link builder
appAsset) : string (
Generates an app asset URL for a client's asset.
appIcon) : string (
Generates an app icon URL for a client's icon.
avatar) : string (
Generates an avatar URL, e.g. for a user or a webhook.
Overload 1
Overload 2
banner) : string (
Generates a banner URL, e.g. for a user or a guild.
channelIcon) : string (
Generates an icon URL for a channel, e.g. a group DM.
discoverySplash) : string (
Generates a discovery splash URL for a guild's discovery splash.
Overload 1
Overload 2
emojiemojiId: stringoptions?: Readonly<BaseImageURLOptions>) : string (
emojiId: string
options?: Readonly<BaseImageURLOptions>
Generates an emoji's URL for an emoji.
guildMemberAvatar) : string (
Generates a guild member avatar URL.
guildMemberBanner) : string (
Generates a guild member banner URL.
guildScheduledEventCover) : string (
Generates a cover image for a guild scheduled event.
icon) : string (
Generates an icon URL, e.g. for a guild.
roleIcon) : string (
Generates a URL for the icon of a role
splash) : string (
Generates a guild invite splash URL for a guild's invite splash.
stickerstickerId: stringextension?: StickerExtension) : string (
stickerId: string
extension?: StickerExtension
Generates a sticker URL.
stickerPackBannerbannerId: stringoptions?: Readonly<BaseImageURLOptions>) : string (
bannerId: string
options?: Readonly<BaseImageURLOptions>
Generates a sticker pack banner URL.
teamIcon) : string (
Generates a team icon URL for a team's icon.