thaldrin/DiscordEvents/shardReady.js

20 lines
520 B
JavaScript
Raw Permalink Normal View History

2020-02-16 21:20:32 +00:00
const {
logChannel
} = require("../config");
2019-10-14 11:19:41 +00:00
const util = require("../utils");
module.exports = {
name: "shardReady",
run: async client => {
const logs = client.channels.get(logChannel);
const message = `Shard ${client.options.shards[
client.options.shards.length - 1
] + 1}/${client.options.shards.length} is ready`;
2020-02-16 21:20:32 +00:00
console.log(message)
//await util.log.shardReady(message);
//await util.log.shardSpinnerStarted(message);
2019-10-14 11:19:41 +00:00
// if (logs !== undefined) logs.send(message);
}
2020-02-16 21:20:32 +00:00
};