diff --git a/index.js b/index.js index 9df8635..7f1cfe3 100644 --- a/index.js +++ b/index.js @@ -212,8 +212,8 @@ function main() { }, 100); bot.once('end', (reason, event) => { - console.log(`Disconnected (${event} event): ${util.inspect(reason)}`); - channel.send(`Disconnected (${event} event): \`${util.inspect(reason)}\``); + console.log(`Disconnected from ${bot.options.host} (${event} event): ${util.inspect(reason)}`); + channel.send(`Disconnected: \`${util.inspect(reason)}\``); const timeout = config.reconnectTimeout;