mervebultx commited on
Commit
c7c968d
·
verified ·
1 Parent(s): ba64683

Update bot.js

Browse files
Files changed (1) hide show
  1. bot.js +2 -2
bot.js CHANGED
@@ -329,7 +329,7 @@ function createBot(agent = null) {
329
  });
330
 
331
  bot.on("end", () => {
332
- logger.warn("[" + ${config["bot-account"]["username"]} + "]" + " Bağlantı koptu. Tüm zamanlayıcılar sıfırlanıyor...");
333
  stopPeriodicHomeChecks();
334
  if (usingFallback) {
335
  currentIndex = 0; // normal IP’deyken koparsa index sıfırlanır
@@ -344,7 +344,7 @@ function createBot(agent = null) {
344
  ? reason
345
  : JSON.stringify(reason, null, 2);
346
 
347
- logger.warn("[" + ${config["bot-account"]["username"]} + "]" + " Bot sunucudan atıldı: " + readable);
348
  } catch (e) {
349
  logger.error("Bot sunucudan atıldı ama mesaj parse edilemedi: " + e.message);
350
  }
 
329
  });
330
 
331
  bot.on("end", () => {
332
+ logger.warn("[" + config["bot-account"]["username"] + "]" + " Bağlantı koptu. Tüm zamanlayıcılar sıfırlanıyor...");
333
  stopPeriodicHomeChecks();
334
  if (usingFallback) {
335
  currentIndex = 0; // normal IP’deyken koparsa index sıfırlanır
 
344
  ? reason
345
  : JSON.stringify(reason, null, 2);
346
 
347
+ logger.warn("[" + config["bot-account"]["username"] + "]" + " Bot sunucudan atıldı: " + readable);
348
  } catch (e) {
349
  logger.error("Bot sunucudan atıldı ama mesaj parse edilemedi: " + e.message);
350
  }