Skip to content

Commit

Permalink
Fix /bosses and /activities player URLs (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
psikoi authored Jul 27, 2024
1 parent 593645d commit 028d8d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/commands/instances/player/PlayerActivitiesCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class PlayerActivitiesCommand extends Command {

const embed = new EmbedBuilder()
.setColor(config.visuals.blue)
.setURL(encodeURL(`https://wiseoldman.net/players/${player.displayName}/overview/activities`))
.setURL(encodeURL(`https://wiseoldman.net/players/${player.displayName}?view=activities`))
.setTitle(`${player.displayName} - Activity ${variant}`)
.setImage(`attachment://${fileName}`)
.setFooter({ text: 'Last updated' })
Expand Down
2 changes: 1 addition & 1 deletion src/commands/instances/player/PlayerBossesCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class PlayerBossesCommand extends Command {

const embed = new EmbedBuilder()
.setColor(config.visuals.blue)
.setURL(encodeURL(`https://wiseoldman.net/players/${player.displayName}/overview/bossing`))
.setURL(encodeURL(`https://wiseoldman.net/players/${player.displayName}?view=bosses`))
.setTitle(`${player.displayName} - Boss ${variant}`)
.setImage(`attachment://${fileName}`)
.setFooter({ text: 'Last updated' })
Expand Down

0 comments on commit 028d8d8

Please sign in to comment.