From 0d876d1b29ebc107bc311953af5e34d34263ebd9 Mon Sep 17 00:00:00 2001 From: Ethan Davidson <31261035+EthanThatOneKid@users.noreply.github.com> Date: Sun, 1 Oct 2023 17:22:27 -0700 Subject: [PATCH] =?UTF-8?q?add=20temporary=20HALLOWEEN-themed=20snacks=20?= =?UTF-8?q?=F0=9F=8E=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/snacks.ts | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/api/snacks.ts b/api/snacks.ts index 6726ef2..66a69be 100644 --- a/api/snacks.ts +++ b/api/snacks.ts @@ -1,3 +1,5 @@ +/* +// TODO(@EthanThatOneKid): Delete HALLOWEEN_SNACKS November 1st, 2023. const SNACKS = [ "🍕", "🍫", @@ -28,12 +30,23 @@ const SNACKS = [ "🍙", "🧇", ]; +*/ + +const HALLOWEEN_SNACKS = [ + "🍬", + "🍭", + "🍫", + "🍪", + "🧁", + "🎃", + "🍧", +]; /** * pickRandom picks a random snack from the list of snacks. */ export function pickRandom(): string { const randomIndex = Math.floor(Math.random() * SNACKS.length); - const randomSnack = SNACKS[randomIndex]; + const randomSnack = HALLOWEEN_SNACKS[randomIndex]; return randomSnack; }