mirror of https://github.com/thaldrin/thaldrin.git
add shard count to startup
This commit is contained in:
parent
25735dacd9
commit
6989537da9
2
index.ts
2
index.ts
|
@ -6,7 +6,7 @@ import Logger from "./src/utils/logger";
|
||||||
Util.fetchRecommendedShards(config.token).then((count) => {
|
Util.fetchRecommendedShards(config.token).then((count) => {
|
||||||
// console.log(`Starting ${config.variables.name}`)
|
// console.log(`Starting ${config.variables.name}`)
|
||||||
Logger.info({
|
Logger.info({
|
||||||
message: `Starting ${config.variables.name}....`,
|
message: `Starting ${config.variables.name} with ${count} Shards`,
|
||||||
type: "event:start"
|
type: "event:start"
|
||||||
})
|
})
|
||||||
new client(config, count)
|
new client(config, count)
|
||||||
|
|
Loading…
Reference in New Issue