2019-10-09 16:19:30 +00:00
|
|
|
const { logChannel } = require('../config');
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
name: 'shardReconnecting',
|
|
|
|
run: async (client) => {
|
2020-01-29 14:21:48 +00:00
|
|
|
const logs = client.channels.get('672082800320577556')
|
|
|
|
const message = `Shard ${client.options.shards[client.options.shards.length - 1] + 1}/${client.options.shards.length} changed status to reconnecting`;
|
2019-10-09 16:19:30 +00:00
|
|
|
|
|
|
|
if (logs) logs.send(message);
|
|
|
|
console.log(message);
|
|
|
|
}
|
|
|
|
}
|