[tgbot] Fix

This commit is contained in:
somebodywashere 2023-12-25 22:18:21 +03:00
parent 7be85c7503
commit 9b5ace0cc7

View file

@ -1419,6 +1419,7 @@ func (t *Tgbot) notifyExhausted() {
} else {
disabledClients = append(disabledClients, *traffic)
}
}
if len(exhaustedClients) > 0 {
output += t.I18nBot("tgbot.messages.disabled", "Disabled=="+strconv.Itoa(len(disabledClients)))
if len(disabledClients) > 0 {
@ -1434,9 +1435,8 @@ func (t *Tgbot) notifyExhausted() {
output += t.clientInfoMsg(&traffic, true, false, false, true, true, false)
output += "\r\n"
}
}
t.SendMsgToTgbot(chatID, output)
}
}
chatIDsDone = append(chatIDsDone, client.TgID)
}
}