diff --git a/telegram.py b/telegram.py index 6b909db..a4b0bea 100644 --- a/telegram.py +++ b/telegram.py @@ -106,6 +106,7 @@ class Notifier: if self.sent_counter >= self.BATCH_LIMIT: # TODO: probably implement better later time.sleep(1) + self.sent_counter = 0 def __send_update(self, telegram_id: int, update: FeedItem): self.bot.send_message(