forked from pinks/eris
1
0
Fork 0
eris/main.ts

10 lines
228 B
TypeScript
Raw Normal View History

2023-09-04 16:55:48 +00:00
import "https://deno.land/std@0.201.0/dotenv/load.ts";
import { bot } from "./bot.ts";
2023-09-06 17:51:52 +00:00
import { processQueue, returnHangedJobs } from "./queue.ts";
2023-09-03 19:06:20 +00:00
2023-09-04 16:55:48 +00:00
await Promise.all([
bot.start(),
processQueue(),
2023-09-06 17:51:52 +00:00
returnHangedJobs(),
2023-09-03 19:06:20 +00:00
]);