Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gausie committed Nov 15, 2023
1 parent d31345a commit 22ec2ed
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/commands/misc/daily.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ import { kolClient, resolveKoLImage } from "../../clients/kol.js";
import { config } from "../../config.js";
import { englishJoin, notNull } from "../../utils.js";

Array.prototype.toSorted = function (compareFn) {
return [...this].sort(compareFn);
};

async function createBirthdayEmbed() {
const birthdays = await prisma.$queryRaw<
Player[]
Expand Down Expand Up @@ -37,7 +41,7 @@ async function createBirthdayEmbed() {

return createEmbed()
.setTitle("In-Game Birthdays")
.setImage(resolveKoLImage("/itemimages/cake3.gif"))
.setThumbnail(resolveKoLImage("/itemimages/cake3.gif"))
.setDescription(content);
}

Expand Down

0 comments on commit 22ec2ed

Please sign in to comment.