Remove emoji from draft order notification titles

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Chris Parsons 2026-05-17 23:14:55 -07:00
parent 9cfbf5ec57
commit 2bc56d83d2
2 changed files with 4 additions and 4 deletions

View file

@ -458,7 +458,7 @@ describe("sendDraftOrderNotification", () => {
});
const payload = getPayload();
expect(payload.embeds[0].title).toBe("📋 Draft Order Manually Set — My League");
expect(payload.embeds[0].title).toBe("Draft Order Manually Set — My League");
});
it("uses '🎲 Draft Order Randomized' title for randomized method", async () => {
@ -471,7 +471,7 @@ describe("sendDraftOrderNotification", () => {
});
const payload = getPayload();
expect(payload.embeds[0].title).toBe("📋 Draft Order Randomized — My League");
expect(payload.embeds[0].title).toBe("Draft Order Randomized — My League");
});
it("links the embed title to the league URL", async () => {

View file

@ -205,8 +205,8 @@ export async function sendDraftOrderNotification({
}): Promise<void> {
const title =
method === "manual"
? `📋 Draft Order Manually Set — ${leagueName}`
: `📋 Draft Order Randomized — ${leagueName}`;
? `Draft Order Manually Set — ${leagueName}`
: `Draft Order Randomized — ${leagueName}`;
const sorted = [...teams].sort((a, b) => a.position - b.position);
let description = sorted