From 8df3ba6680a4d80849204b43a3d6def968d23aa3 Mon Sep 17 00:00:00 2001 From: iamtakagi Date: Tue, 9 Aug 2022 06:19:10 +0900 Subject: [PATCH] fix --- index.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/index.ts b/index.ts index 3a3ecb1..681c055 100644 --- a/index.ts +++ b/index.ts @@ -152,5 +152,9 @@ function runWebhook() { }, WEBHOOK_TIME_INTERVAL); } -runWebhook(); -cacheStreams(); +function main () { + runWebhook(); + cacheStreams(); +} + +main();