diff --git a/src/main.ts b/src/main.ts index 53028fd..f208765 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,7 +1,7 @@ // // main.ts // -// Written by: Tyler Akins (2019/12/31) +// Written by: Tyler Akins (2019/12/31 - 2020/01/01) // @@ -30,6 +30,12 @@ const MAIN = async () => { process.exit(1); }; + + if (args.includes("--initial")) { + await WEBHOOK_PUSH(await GET_RANDOM_QUOTE()); + }; + + setInterval( async () => { console.log(`* Emitting a quote`)