CDNRoutes : { achievementIcon < Format > ( applicationId , achievementId , achievementIconHash , format ) => ` /app-assets/ ${ string } /achievements/ ${ string } /icons/ ${ string } . ${ Format } ` ; applicationAsset < Format > ( applicationId , applicationAssetId , format ) => ` /app-assets/ ${ string } / ${ string } . ${ Format } ` ; applicationCover < Format > ( applicationId , applicationCoverImage , format ) => ` /app-icons/ ${ string } / ${ string } . ${ Format } ` ; applicationIcon < Format > ( applicationId , applicationIcon , format ) => ` /app-icons/ ${ string } / ${ string } . ${ Format } ` ; avatarDecoration ( avatarDecorationDataAsset ) => ` /avatar-decoration-presets/ ${ string } .png ` ; defaultUserAvatar < Index > ( index ) => ` /embed/avatars/ ${ Index } .png ` ; emoji < Format > ( emojiId , format ) => ` /emojis/ ${ string } . ${ Format } ` ; guildBanner < Format > ( guildId , guildBanner , format ) => ` /banners/ ${ string } / ${ string } . ${ Format } ` ; guildDiscoverySplash < Format > ( guildId , guildDiscoverySplash , format ) => ` /discovery-splashes/ ${ string } / ${ string } . ${ Format } ` ; guildIcon < Format > ( guildId , guildIcon , format ) => ` /icons/ ${ string } / ${ string } . ${ Format } ` ; guildMemberAvatar < Format > ( guildId , userId , memberAvatar , format ) => ` /guilds/ ${ string } /users/ ${ string } /avatars/ ${ string } . ${ Format } ` ; guildMemberBanner < Format > ( guildId , userId , guildMemberBanner , format ) => ` /guilds/ ${ string } /users/ ${ string } /banners/ ${ string } . ${ Format } ` ; guildScheduledEventCover < Format > ( guildScheduledEventId , guildScheduledEventCoverImage , format ) => ` /guild-events/ ${ string } / ${ string } . ${ Format } ` ; guildSplash < Format > ( guildId , guildSplash , format ) => ` /splashes/ ${ string } / ${ string } . ${ Format } ` ; roleIcon < Format > ( roleId , roleIcon , format ) => ` /role-icons/ ${ string } / ${ string } . ${ Format } ` ; sticker < Format > ( stickerId , format ) => ` /stickers/ ${ string } . ${ Format } ` ; stickerPackBanner < Format > ( stickerPackBannerAssetId , format ) => ` /app-assets/710982414301790216/store/ ${ string } . ${ Format } ` ; storePageAsset < Format > ( applicationId , assetId , format ? ) => ` /app-assets/ ${ string } /store/ ${ string } . ${ Format } ` ; teamIcon < Format > ( teamId , teamIcon , format ) => ` /team-icons/ ${ string } / ${ string } . ${ Format } ` ; userAvatar < Format > ( userId , userAvatar , format ) => ` /avatars/ ${ string } / ${ string } . ${ Format } ` ; userAvatarDecoration ( userId , userAvatarDecoration ) => ` /avatar-decorations/ ${ string } / ${ string } .png ` ; userBanner < Format > ( userId , userBanner , format ) => ` /banners/ ${ string } / ${ string } . ${ Format } ` ; }
Type declaration
achievement Icon : function
achievement Icon < Format > ( applicationId , achievementId , achievementIconHash , format ) : ` /app-assets/ ${ string } /achievements/ ${ string } /icons/ ${ string } . ${ Format } `
Parameters
applicationId : string
achievementId : string
achievementIconHash : string
format : Format
Returns ` /app-assets/ ${ string } /achievements/ ${ string } /icons/ ${ string } . ${ Format } `
Defined in node_modules/discord-api-types/rest/v10/index.d.ts:796
application Asset : function
application Asset < Format > ( applicationId , applicationAssetId , format ) : ` /app-assets/ ${ string } / ${ string } . ${ Format } `
Parameters
applicationId : string
applicationAssetId : string
format : Format
Returns ` /app-assets/ ${ string } / ${ string } . ${ Format } `
Defined in node_modules/discord-api-types/rest/v10/index.d.ts:789
application Cover : function
application Cover < Format > ( applicationId , applicationCoverImage , format ) : ` /app-icons/ ${ string } / ${ string } . ${ Format } `
Parameters
applicationId : string
applicationCoverImage : string
format : Format
Returns ` /app-icons/ ${ string } / ${ string } . ${ Format } `
Defined in node_modules/discord-api-types/rest/v10/index.d.ts:782
application Icon : function
application Icon < Format > ( applicationId , applicationIcon , format ) : ` /app-icons/ ${ string } / ${ string } . ${ Format } `
Parameters
applicationId : string
applicationIcon : string
format : Format
Returns ` /app-icons/ ${ string } / ${ string } . ${ Format } `
Defined in node_modules/discord-api-types/rest/v10/index.d.ts:775
avatar Decoration : function
avatar Decoration ( avatarDecorationDataAsset ) : ` /avatar-decoration-presets/ ${ string } .png `
Parameters
avatarDecorationDataAsset : string
Returns ` /avatar-decoration-presets/ ${ string } .png `
Defined in node_modules/discord-api-types/rest/v10/index.d.ts:768
default User Avatar : function
default User Avatar < Index > ( index ) : ` /embed/avatars/ ${ Index } .png `
Returns ` /embed/avatars/ ${ Index } .png `
Defined in node_modules/discord-api-types/rest/v10/index.d.ts:734
emoji : function
emoji < Format > ( emojiId , format ) : ` /emojis/ ${ string } . ${ Format } `
Parameters
emojiId : string
format : Format
Returns ` /emojis/ ${ string } . ${ Format } `
Defined in node_modules/discord-api-types/rest/v10/index.d.ts:682
guild Banner : function
guild Banner < Format > ( guildId , guildBanner , format ) : ` /banners/ ${ string } / ${ string } . ${ Format } `
Parameters
guildId : string
guildBanner : string
format : Format
Returns ` /banners/ ${ string } / ${ string } . ${ Format } `
Defined in node_modules/discord-api-types/rest/v10/index.d.ts:714
guild Discovery Splash : function
guild Discovery Splash < Format > ( guildId , guildDiscoverySplash , format ) : ` /discovery-splashes/ ${ string } / ${ string } . ${ Format } `
Parameters
guildId : string
guildDiscoverySplash : string
format : Format
Returns ` /discovery-splashes/ ${ string } / ${ string } . ${ Format } `
Defined in node_modules/discord-api-types/rest/v10/index.d.ts:705
guild Icon : function
guild Icon < Format > ( guildId , guildIcon , format ) : ` /icons/ ${ string } / ${ string } . ${ Format } `
Parameters
guildId : string
guildIcon : string
format : Format
Returns ` /icons/ ${ string } / ${ string } . ${ Format } `
Defined in node_modules/discord-api-types/rest/v10/index.d.ts:691
guild Member Avatar : function
guild Member Avatar < Format > ( guildId , userId , memberAvatar , format ) : ` /guilds/ ${ string } /users/ ${ string } /avatars/ ${ string } . ${ Format } `
Parameters
guildId : string
userId : string
memberAvatar : string
format : Format
Returns ` /guilds/ ${ string } /users/ ${ string } /avatars/ ${ string } . ${ Format } `
Defined in node_modules/discord-api-types/rest/v10/index.d.ts:752
guild Member Banner : function
guild Member Banner < Format > ( guildId , userId , guildMemberBanner , format ) : ` /guilds/ ${ string } /users/ ${ string } /banners/ ${ string } . ${ Format } `
Parameters
guildId : string
userId : string
guildMemberBanner : string
format : Format
Returns ` /guilds/ ${ string } /users/ ${ string } /banners/ ${ string } . ${ Format } `
Defined in node_modules/discord-api-types/rest/v10/index.d.ts:845
guild Scheduled Event Cover : function
guild Scheduled Event Cover < Format > ( guildScheduledEventId , guildScheduledEventCoverImage , format ) : ` /guild-events/ ${ string } / ${ string } . ${ Format } `
Parameters
guildScheduledEventId : string
guildScheduledEventCoverImage : string
format : Format
Returns ` /guild-events/ ${ string } / ${ string } . ${ Format } `
Defined in node_modules/discord-api-types/rest/v10/index.d.ts:838
guild Splash : function
guild Splash < Format > ( guildId , guildSplash , format ) : ` /splashes/ ${ string } / ${ string } . ${ Format } `
Parameters
guildId : string
guildSplash : string
format : Format
Returns ` /splashes/ ${ string } / ${ string } . ${ Format } `
Defined in node_modules/discord-api-types/rest/v10/index.d.ts:698
role Icon : function
role Icon < Format > ( roleId , roleIcon , format ) : ` /role-icons/ ${ string } / ${ string } . ${ Format } `
Parameters
roleId : string
roleIcon : string
format : Format
Returns ` /role-icons/ ${ string } / ${ string } . ${ Format } `
Defined in node_modules/discord-api-types/rest/v10/index.d.ts:831
sticker : function
sticker < Format > ( stickerId , format ) : ` /stickers/ ${ string } . ${ Format } `
Parameters
stickerId : string
format : Format
Returns ` /stickers/ ${ string } . ${ Format } `
Defined in node_modules/discord-api-types/rest/v10/index.d.ts:824
sticker Pack Banner : function
sticker Pack Banner < Format > ( stickerPackBannerAssetId , format ) : ` /app-assets/710982414301790216/store/ ${ string } . ${ Format } `
Parameters
stickerPackBannerAssetId : string
format : Format
Returns ` /app-assets/710982414301790216/store/ ${ string } . ${ Format } `
Defined in node_modules/discord-api-types/rest/v10/index.d.ts:803
store Page Asset : function
store Page Asset < Format > ( applicationId , assetId , format ? ) : ` /app-assets/ ${ string } /store/ ${ string } . ${ Format } `
Parameters
applicationId : string
assetId : string
Optional
format : Format
Returns ` /app-assets/ ${ string } /store/ ${ string } . ${ Format } `
Defined in node_modules/discord-api-types/rest/v10/index.d.ts:810
team Icon : function
team Icon < Format > ( teamId , teamIcon , format ) : ` /team-icons/ ${ string } / ${ string } . ${ Format } `
Parameters
teamId : string
teamIcon : string
format : Format
Returns ` /team-icons/ ${ string } / ${ string } . ${ Format } `
Defined in node_modules/discord-api-types/rest/v10/index.d.ts:817
user Avatar : function
user Avatar < Format > ( userId , userAvatar , format ) : ` /avatars/ ${ string } / ${ string } . ${ Format } `
Parameters
userId : string
userAvatar : string
format : Format
Returns ` /avatars/ ${ string } / ${ string } . ${ Format } `
Defined in node_modules/discord-api-types/rest/v10/index.d.ts:743
user Avatar Decoration : function
user Avatar Decoration ( userId , userAvatarDecoration ) : ` /avatar-decorations/ ${ string } / ${ string } .png `
Parameters
userId : string
userAvatarDecoration : string
Returns ` /avatar-decorations/ ${ string } / ${ string } .png `
Defined in node_modules/discord-api-types/rest/v10/index.d.ts:761
user Banner : function
user Banner < Format > ( userId , userBanner , format ) : ` /banners/ ${ string } / ${ string } . ${ Format } `
Parameters
userId : string
userBanner : string
format : Format
Returns ` /banners/ ${ string } / ${ string } . ${ Format } `
Defined in node_modules/discord-api-types/rest/v10/index.d.ts:723
Defined in node_modules/discord-api-types/rest/v10/index.d.ts:673
Route for:
/app-assets/{application.id}/achievements/{achievement.id}/icons/{achievement.icon}.{png|jpeg|webp}
This route supports the extensions: PNG, JPEG, WebP