mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -05:00
update disconnected message a bit
This commit is contained in:
parent
00bacd550f
commit
ce2085f1ff
1 changed files with 2 additions and 2 deletions
4
index.js
4
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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue