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

10 lines
228 B
TypeScript

import "https://deno.land/std@0.201.0/dotenv/load.ts";
import { bot } from "./bot.ts";
import { processQueue, returnHangedJobs } from "./queue.ts";
await Promise.all([
bot.start(),
processQueue(),
returnHangedJobs(),
]);