1410
This commit is contained in:
1 parent
4b8018bcc3
commit
4ab47a3e47
4 files changed
+171
No files matched your search
@@ -1,4 +1,5 @@
|
||||
import { startPolling } from "./poll";
|
||||
import { startCommentNotifier } from "./notify";
|
||||
import { TG_TOKEN } from "./config";
|
||||
|
||||
const g = globalThis as Record<string, unknown>;
|
||||
@@ -14,6 +15,7 @@ export async function startBot(): Promise<void> {
|
||||
|
||||
console.log("[bot] initializing...");
|
||||
await startPolling();
|
||||
startCommentNotifier();
|
||||
}
|
||||
|
||||
export { TG_TOKEN } from "./config";
|
||||
|
||||
Reference in new issue
Block a user