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 = {
1015
1015
1016
1016
/**
1017
1017
* 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}`
1019
1019
*
1020
1020
* As this route supports GIFs, the hash will begin with `a_` if it is available in GIF format
1021
1021
*
1022
1022
* This route supports the extensions: PNG, JPEG, WebP, GIF
1023
1023
*/
1024
1024
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 ;
1026
1026
} ,
1027
1027
1028
1028
/**
@@ -1101,7 +1101,7 @@ export const CDNRoutes = {
1101
1101
1102
1102
/**
1103
1103
* 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}`
1105
1105
*
1106
1106
* As this route supports GIFs, the hash will begin with `a_` if it is available in GIF format
1107
1107
*
@@ -1221,7 +1221,7 @@ export const CDNRoutes = {
1221
1221
1222
1222
/**
1223
1223
* Route for:
1224
- * - GET `team-icons/{team.id}/{team.icon}.{png|jpeg|webp}`
1224
+ * - GET `/ team-icons/{team.id}/{team.icon}.{png|jpeg|webp}`
1225
1225
*
1226
1226
* This route supports the extensions: PNG, JPEG, WebP
1227
1227
*/
Original file line number Diff line number Diff line change @@ -1024,14 +1024,14 @@ export const CDNRoutes = {
1024
1024
1025
1025
/**
1026
1026
* 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}`
1028
1028
*
1029
1029
* As this route supports GIFs, the hash will begin with `a_` if it is available in GIF format
1030
1030
*
1031
1031
* This route supports the extensions: PNG, JPEG, WebP, GIF
1032
1032
*/
1033
1033
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 ;
1035
1035
} ,
1036
1036
1037
1037
/**
@@ -1110,7 +1110,7 @@ export const CDNRoutes = {
1110
1110
1111
1111
/**
1112
1112
* 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}`
1114
1114
*
1115
1115
* As this route supports GIFs, the hash will begin with `a_` if it is available in GIF format
1116
1116
*
@@ -1230,7 +1230,7 @@ export const CDNRoutes = {
1230
1230
1231
1231
/**
1232
1232
* Route for:
1233
- * - GET `team-icons/{team.id}/{team.icon}.{png|jpeg|webp}`
1233
+ * - GET `/ team-icons/{team.id}/{team.icon}.{png|jpeg|webp}`
1234
1234
*
1235
1235
* This route supports the extensions: PNG, JPEG, WebP
1236
1236
*/
Original file line number Diff line number Diff line change @@ -1015,14 +1015,14 @@ export const CDNRoutes = {
1015
1015
1016
1016
/**
1017
1017
* 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}`
1019
1019
*
1020
1020
* As this route supports GIFs, the hash will begin with `a_` if it is available in GIF format
1021
1021
*
1022
1022
* This route supports the extensions: PNG, JPEG, WebP, GIF
1023
1023
*/
1024
1024
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 ;
1026
1026
} ,
1027
1027
1028
1028
/**
@@ -1101,7 +1101,7 @@ export const CDNRoutes = {
1101
1101
1102
1102
/**
1103
1103
* 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}`
1105
1105
*
1106
1106
* As this route supports GIFs, the hash will begin with `a_` if it is available in GIF format
1107
1107
*
@@ -1221,7 +1221,7 @@ export const CDNRoutes = {
1221
1221
1222
1222
/**
1223
1223
* Route for:
1224
- * - GET `team-icons/{team.id}/{team.icon}.{png|jpeg|webp}`
1224
+ * - GET `/ team-icons/{team.id}/{team.icon}.{png|jpeg|webp}`
1225
1225
*
1226
1226
* This route supports the extensions: PNG, JPEG, WebP
1227
1227
*/
Original file line number Diff line number Diff line change @@ -1024,14 +1024,14 @@ export const CDNRoutes = {
1024
1024
1025
1025
/**
1026
1026
* 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}`
1028
1028
*
1029
1029
* As this route supports GIFs, the hash will begin with `a_` if it is available in GIF format
1030
1030
*
1031
1031
* This route supports the extensions: PNG, JPEG, WebP, GIF
1032
1032
*/
1033
1033
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 ;
1035
1035
} ,
1036
1036
1037
1037
/**
@@ -1110,7 +1110,7 @@ export const CDNRoutes = {
1110
1110
1111
1111
/**
1112
1112
* 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}`
1114
1114
*
1115
1115
* As this route supports GIFs, the hash will begin with `a_` if it is available in GIF format
1116
1116
*
@@ -1230,7 +1230,7 @@ export const CDNRoutes = {
1230
1230
1231
1231
/**
1232
1232
* Route for:
1233
- * - GET `team-icons/{team.id}/{team.icon}.{png|jpeg|webp}`
1233
+ * - GET `/ team-icons/{team.id}/{team.icon}.{png|jpeg|webp}`
1234
1234
*
1235
1235
* This route supports the extensions: PNG, JPEG, WebP
1236
1236
*/
You can’t perform that action at this time.
0 commit comments