thaldrin/index.ts
2021-04-05 02:18:27 +02:00

13 lines
429 B
TypeScript

//@ts-ignore
import config from "./config";
import client from "./src/handler/client/Client"
import { Util } from "discord.js";
import Logger from "./src/utils/logger";
Util.fetchRecommendedShards(config.token).then((count) => {
// console.log(`Starting ${config.variables.name}`)
Logger.info({
message: `Starting ${config.variables.name}....`,
type: "event:start"
})
new client(config, count)
})