change reconnect log

This commit is contained in:
ry 2020-01-29 15:21:48 +01:00
parent 23ac36c819
commit 8598f27de8

View file

@ -3,8 +3,8 @@ const { logChannel } = require('../config');
module.exports = {
name: 'shardReconnecting',
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} changed status to reconnecting`;
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`;
if (logs) logs.send(message);
console.log(message);