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(), ]);