thaldrin/DiscordEvents/shardReady.js
2020-02-16 22:20:32 +01:00

20 lines
No EOL
520 B
JavaScript
Executable file

const {
logChannel
} = require("../config");
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`;
console.log(message)
//await util.log.shardReady(message);
//await util.log.shardSpinnerStarted(message);
// if (logs !== undefined) logs.send(message);
}
};