From 29161fa58a3d4dc7be64d43b18f45c1fb5c3f667 Mon Sep 17 00:00:00 2001 From: Akiru Date: Thu, 25 Jan 2024 09:01:23 +0000 Subject: [PATCH] main.ts aktualisiert --- main.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/main.ts b/main.ts index 43a8d72..99ab22b 100644 --- a/main.ts +++ b/main.ts @@ -4,7 +4,9 @@ import { ConsoleHandler } from "std/log/handlers.ts"; import { LevelName, setup } from "std/log/mod.ts"; import { serveUi } from "./api/mod.ts"; import { runAllTasks } from "./app/mod.ts"; -import { runBot } from "./bot/mod.ts"; +// runbot shouldn't be needed for webhooks? +// import { runBot } from "./bot/mod.ts"; +import "./bot/mod.ts"; const logLevel = Deno.env.get("LOG_LEVEL")?.toUpperCase() as LevelName ?? "INFO"; @@ -20,7 +22,8 @@ setup({ // run parts of the app await Promise.all([ - runBot(), +// runbot shouldn't be needed for webhooks? +// runBot(), runAllTasks(), serveUi(), ]);