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 = { module.exports = {
name: 'shardReconnecting', name: 'shardReconnecting',
run: async (client) => { run: async (client) => {
const logs = client.channels.get(logChannel); 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`; 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); if (logs) logs.send(message);
console.log(message); console.log(message);