File tree Expand file tree Collapse file tree 4 files changed +16
-16
lines changed Expand file tree Collapse file tree 4 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -1015,14 +1015,14 @@ export const CDNRoutes = {
10151015
10161016 /**
10171017 * Route for:
1018- * - GET `/guilds /{guild.id}/icons/ {guild.id }.{png|jpeg|webp|gif}`
1018+ * - GET `/icons /{guild.id}/{guild.icon }.{png|jpeg|webp|gif}`
10191019 *
10201020 * As this route supports GIFs, the hash will begin with `a_` if it is available in GIF format
10211021 *
10221022 * This route supports the extensions: PNG, JPEG, WebP, GIF
10231023 */
10241024 guildIcon < Format extends GuildIconFormat > ( guildId : Snowflake , guildIcon : string , format : Format ) {
1025- return `icons/${ guildId } /${ guildIcon } .${ format } ` as const ;
1025+ return `/ icons/${ guildId } /${ guildIcon } .${ format } ` as const ;
10261026 } ,
10271027
10281028 /**
@@ -1101,7 +1101,7 @@ export const CDNRoutes = {
11011101
11021102 /**
11031103 * Route for:
1104- * - GET `/guilds/{guild.id}/users/{user.id}/{guild_member.avatar}.{png|jpeg|webp|gif}`
1104+ * - GET `/guilds/{guild.id}/users/{user.id}/avatars/ {guild_member.avatar}.{png|jpeg|webp|gif}`
11051105 *
11061106 * As this route supports GIFs, the hash will begin with `a_` if it is available in GIF format
11071107 *
@@ -1221,7 +1221,7 @@ export const CDNRoutes = {
12211221
12221222 /**
12231223 * Route for:
1224- * - GET `team-icons/{team.id}/{team.icon}.{png|jpeg|webp}`
1224+ * - GET `/ team-icons/{team.id}/{team.icon}.{png|jpeg|webp}`
12251225 *
12261226 * This route supports the extensions: PNG, JPEG, WebP
12271227 */
Original file line number Diff line number Diff line change @@ -1024,14 +1024,14 @@ export const CDNRoutes = {
10241024
10251025 /**
10261026 * Route for:
1027- * - GET `/guilds /{guild.id}/icons/ {guild.id }.{png|jpeg|webp|gif}`
1027+ * - GET `/icons /{guild.id}/{guild.icon }.{png|jpeg|webp|gif}`
10281028 *
10291029 * As this route supports GIFs, the hash will begin with `a_` if it is available in GIF format
10301030 *
10311031 * This route supports the extensions: PNG, JPEG, WebP, GIF
10321032 */
10331033 guildIcon < Format extends GuildIconFormat > ( guildId : Snowflake , guildIcon : string , format : Format ) {
1034- return `icons/${ guildId } /${ guildIcon } .${ format } ` as const ;
1034+ return `/ icons/${ guildId } /${ guildIcon } .${ format } ` as const ;
10351035 } ,
10361036
10371037 /**
@@ -1110,7 +1110,7 @@ export const CDNRoutes = {
11101110
11111111 /**
11121112 * Route for:
1113- * - GET `/guilds/{guild.id}/users/{user.id}/{guild_member.avatar}.{png|jpeg|webp|gif}`
1113+ * - GET `/guilds/{guild.id}/users/{user.id}/avatars/ {guild_member.avatar}.{png|jpeg|webp|gif}`
11141114 *
11151115 * As this route supports GIFs, the hash will begin with `a_` if it is available in GIF format
11161116 *
@@ -1230,7 +1230,7 @@ export const CDNRoutes = {
12301230
12311231 /**
12321232 * Route for:
1233- * - GET `team-icons/{team.id}/{team.icon}.{png|jpeg|webp}`
1233+ * - GET `/ team-icons/{team.id}/{team.icon}.{png|jpeg|webp}`
12341234 *
12351235 * This route supports the extensions: PNG, JPEG, WebP
12361236 */
Original file line number Diff line number Diff line change @@ -1015,14 +1015,14 @@ export const CDNRoutes = {
10151015
10161016 /**
10171017 * Route for:
1018- * - GET `/guilds /{guild.id}/icons/ {guild.id }.{png|jpeg|webp|gif}`
1018+ * - GET `/icons /{guild.id}/{guild.icon }.{png|jpeg|webp|gif}`
10191019 *
10201020 * As this route supports GIFs, the hash will begin with `a_` if it is available in GIF format
10211021 *
10221022 * This route supports the extensions: PNG, JPEG, WebP, GIF
10231023 */
10241024 guildIcon < Format extends GuildIconFormat > ( guildId : Snowflake , guildIcon : string , format : Format ) {
1025- return `icons/${ guildId } /${ guildIcon } .${ format } ` as const ;
1025+ return `/ icons/${ guildId } /${ guildIcon } .${ format } ` as const ;
10261026 } ,
10271027
10281028 /**
@@ -1101,7 +1101,7 @@ export const CDNRoutes = {
11011101
11021102 /**
11031103 * Route for:
1104- * - GET `/guilds/{guild.id}/users/{user.id}/{guild_member.avatar}.{png|jpeg|webp|gif}`
1104+ * - GET `/guilds/{guild.id}/users/{user.id}/avatars/ {guild_member.avatar}.{png|jpeg|webp|gif}`
11051105 *
11061106 * As this route supports GIFs, the hash will begin with `a_` if it is available in GIF format
11071107 *
@@ -1221,7 +1221,7 @@ export const CDNRoutes = {
12211221
12221222 /**
12231223 * Route for:
1224- * - GET `team-icons/{team.id}/{team.icon}.{png|jpeg|webp}`
1224+ * - GET `/ team-icons/{team.id}/{team.icon}.{png|jpeg|webp}`
12251225 *
12261226 * This route supports the extensions: PNG, JPEG, WebP
12271227 */
Original file line number Diff line number Diff line change @@ -1024,14 +1024,14 @@ export const CDNRoutes = {
10241024
10251025 /**
10261026 * Route for:
1027- * - GET `/guilds /{guild.id}/icons/ {guild.id }.{png|jpeg|webp|gif}`
1027+ * - GET `/icons /{guild.id}/{guild.icon }.{png|jpeg|webp|gif}`
10281028 *
10291029 * As this route supports GIFs, the hash will begin with `a_` if it is available in GIF format
10301030 *
10311031 * This route supports the extensions: PNG, JPEG, WebP, GIF
10321032 */
10331033 guildIcon < Format extends GuildIconFormat > ( guildId : Snowflake , guildIcon : string , format : Format ) {
1034- return `icons/${ guildId } /${ guildIcon } .${ format } ` as const ;
1034+ return `/ icons/${ guildId } /${ guildIcon } .${ format } ` as const ;
10351035 } ,
10361036
10371037 /**
@@ -1110,7 +1110,7 @@ export const CDNRoutes = {
11101110
11111111 /**
11121112 * Route for:
1113- * - GET `/guilds/{guild.id}/users/{user.id}/{guild_member.avatar}.{png|jpeg|webp|gif}`
1113+ * - GET `/guilds/{guild.id}/users/{user.id}/avatars/ {guild_member.avatar}.{png|jpeg|webp|gif}`
11141114 *
11151115 * As this route supports GIFs, the hash will begin with `a_` if it is available in GIF format
11161116 *
@@ -1230,7 +1230,7 @@ export const CDNRoutes = {
12301230
12311231 /**
12321232 * Route for:
1233- * - GET `team-icons/{team.id}/{team.icon}.{png|jpeg|webp}`
1233+ * - GET `/ team-icons/{team.id}/{team.icon}.{png|jpeg|webp}`
12341234 *
12351235 * This route supports the extensions: PNG, JPEG, WebP
12361236 */
You can’t perform that action at this time.
0 commit comments