Skip to content

Commit df3b9da

Browse files
Update cdn links
1 parent d3e31bc commit df3b9da

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/commands/thegreatdivide/leaderboard.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export async function handleLeaderboard (interaction: CommandInteraction) {
2828
const embed = new EmbedBuilder()
2929
.setTitle('The Great Divide - Top 10 Players by Kills')
3030
.setDescription(formatLeaderboard(data, 'Kills'))
31-
.setFooter({ text: 'This data has been provided by dargy. Thank you for your public API!', iconURL: 'https://c0.ptacdn.com/thumbnails/avatars/9dbe39b3e3aac2017aba9c37fcea63fa87800262911b556487050ecda894ab4f-icon.png' })
31+
.setFooter({ text: 'This data has been provided by dargy. Thank you for your public API!', iconURL: 'https://cdn.polytoria.com/thumbnails/avatars/d8b2237d4e2e5b4acfef5885f722cee8d20ae42f15b7027ac6984ea75314a9be-icon.png' })
3232

3333
// Create the dropdown menu
3434
const selectMenu = new StringSelectMenuBuilder()
@@ -80,7 +80,7 @@ async function handleSelectMenuInteraction (interaction: StringSelectMenuInterac
8080
const embed = new EmbedBuilder()
8181
.setTitle(`The Great Divide - Top 10 Players by ${selectedLabel}`)
8282
.setDescription(formatLeaderboard(data, selectedLabel))
83-
.setFooter({ text: 'This data has been provided by dargy. Thank you for your public API!', iconURL: 'https://c0.ptacdn.com/thumbnails/avatars/9dbe39b3e3aac2017aba9c37fcea63fa87800262911b556487050ecda894ab4f-icon.png' })
83+
.setFooter({ text: 'This data has been provided by dargy. Thank you for your public API!', iconURL: 'https://cdn.polytoria.com/thumbnails/avatars/d8b2237d4e2e5b4acfef5885f722cee8d20ae42f15b7027ac6984ea75314a9be-icon.png' })
8484

8585
await interaction.update({ embeds: [embed] })
8686
} catch (error) {

src/commands/thegreatdivide/recentrounds.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ export async function handleRecentRounds (interaction: CommandInteraction) {
99
const embed = new EmbedBuilder()
1010
.setTitle('Recent Rounds')
1111
.setURL('https://polytoria.com/event/the-great-divide')
12-
.setThumbnail('https://c0.ptacdn.com/static/assets/events/great-divide-assets/logo.d7df4fce.png')
13-
.setFooter({ text: 'The Great Divide has concluded as of July 14, 2024.', iconURL: 'https://c0.ptacdn.com/guilds/icons/zosu3Vgf_MzLmCkJvmgDiUgeSy74AGBy.png' })
12+
.setThumbnail('https://cdn.polytoria.com/static/assets/events/great-divide-assets/logo.d7df4fce.png')
13+
.setFooter({ text: 'The Great Divide has concluded as of July 14, 2024.', iconURL: 'https://cdn.polytoria.com/guilds/icons/zosu3Vgf_MzLmCkJvmgDiUgeSy74AGBy.png' })
1414
.setColor(0x0099FF)
1515

1616
// Ensuring roundsData is an array

src/commands/thegreatdivide/roundstats.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export async function handleRoundStats (interaction: CommandInteraction, roundID
2222
{ name: 'Duration', value: `${roundData.duration} seconds`, inline: true },
2323
{ name: 'Map', value: map, inline: true }
2424
)
25-
.setFooter({ text: 'This data has been provided by dargy. Thank you for your public API!', iconURL: 'https://c0.ptacdn.com/thumbnails/avatars/9dbe39b3e3aac2017aba9c37fcea63fa87800262911b556487050ecda894ab4f-icon.png' })
25+
.setFooter({ text: 'This data has been provided by dargy. Thank you for your public API!', iconURL: 'https://cdn.polytoria.com/thumbnails/avatars/d8b2237d4e2e5b4acfef5885f722cee8d20ae42f15b7027ac6984ea75314a9be-icon.png' })
2626

2727
await interaction.reply({ embeds: [embed] })
2828
} catch (error) {

src/commands/thegreatdivide/summary.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ export async function handleSummary (interaction: CommandInteraction) {
2020
// Constructing the embed
2121
const embed = new EmbedBuilder()
2222
.setTitle('The Great Divide - Global Statistics')
23-
.setThumbnail('https://c0.ptacdn.com/static/assets/events/great-divide-assets/logo.d7df4fce.png')
23+
.setThumbnail('https://cdn.polytoria.com/static/assets/events/great-divide-assets/logo.d7df4fce.png')
2424
.addFields(
2525
{ name: `${emojiUtils.cobras} Cobras Statistics`, value: `Member Count: ${cobrasMemberCount}\nTeam Points: ${emojiUtils.cobrapoints} 1,150,913`, inline: false },
2626
{ name: `${emojiUtils.phantoms} Phantom Statistics`, value: `Member Count: ${phantomsMemberCount}\nTeam Points: ${emojiUtils.phantompoints} 1,056,682`, inline: false }
2727
)
28-
.setFooter({ text: 'The Great Divide has concluded as of July 14, 2024.', iconURL: 'https://c0.ptacdn.com/guilds/icons/zosu3Vgf_MzLmCkJvmgDiUgeSy74AGBy.png' })
28+
.setFooter({ text: 'The Great Divide has concluded as of July 14, 2024.', iconURL: 'https://cdn.polytoria.com/guilds/icons/zosu3Vgf_MzLmCkJvmgDiUgeSy74AGBy.png' })
2929

3030
// Set embed color based on the points
3131
if (cobrasMemberCount > phantomsMemberCount) {

src/commands/thegreatdivide/userstats.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export async function handleUserSummary (interaction: CommandInteraction, userna
6666
{ name: 'Blocks Destroyed', value: statsData.BlocksDestroyed.toLocaleString(), inline: true },
6767
{ name: 'Headshots', value: statsData.Headshots.toLocaleString(), inline: true }
6868
)
69-
.setFooter({ text: 'This data has been provided by dargy. Thank you for your public API!', iconURL: 'https://c0.ptacdn.com/thumbnails/avatars/9dbe39b3e3aac2017aba9c37fcea63fa87800262911b556487050ecda894ab4f-icon.png' })
69+
.setFooter({ text: 'This data has been provided by dargy. Thank you for your public API!', iconURL: 'https://cdn.polytoria.com/thumbnails/avatars/d8b2237d4e2e5b4acfef5885f722cee8d20ae42f15b7027ac6984ea75314a9be-icon.png' })
7070

7171
await interaction.editReply({ embeds: [embed] })
7272
} catch (error) {

0 commit comments

Comments
 (0)