mirror of
https://github.com/thaldrin/thaldrin.git
synced 2024-08-14 23:57:21 +00:00
13 lines
429 B
TypeScript
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)
|
|
})
|