Remove emoji from draft order notification titles
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
9cfbf5ec57
commit
2bc56d83d2
2 changed files with 4 additions and 4 deletions
|
|
@ -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 () => {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue