Skip to content

Commit

Permalink
fix: goldenframe issue
Browse files Browse the repository at this point in the history
  • Loading branch information
leomotors committed Sep 10, 2023
1 parent 7ff1cc4 commit 7e3235e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Previous changelog before 4.0.605 may not be noted here.

## [4.1.702] - 2023-09-10

- fix(goldenframe): this is why you shouldn't test on production

## [4.1.701] - 2023-09-10

- feat(goldenframe): option to choose between server avatar and default avatar
Expand Down
2 changes: 1 addition & 1 deletion apps/bot/src/commands/main.slash.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export class Main extends CogSlashClass {
let url: string | null;
if (who) {
const options = { size: 4096, forceStatic: true } as const;
url = (real_image ? who.avatarURL : who.displayAvatarURL)(options);
url = real_image ? who.avatarURL(options) : who.displayAvatarURL(options);
if (!url) {
await ctx.followUp(
"Golden Frame Failed: Target user has no profile picture!",
Expand Down
2 changes: 1 addition & 1 deletion packages/constants/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// * Data such as App Version, Waifu Specific Information and common consts
// * will be in this package

export const AppVersion = "4.1.701";
export const AppVersion = "4.1.702";

export const ShortNameEN = "Kaede";
export const ShortNameJA = "かえで";
Expand Down

0 comments on commit 7e3235e

Please sign in to comment.