From b565a3179a217f1214bfe09621145916fbeaec6f Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 19 Jun 2020 02:05:32 +0200 Subject: [PATCH] ARTORIAS --- pyproject.toml | 2 +- royalnet/serf/telegram/telegramserf.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 2928107a..69a0e433 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ toml = "^0.10.0" # telegram - python_telegram_bot = {version="^12.2.0", optional=true} + python_telegram_bot = {version="^12.7", optional=true} # discord "discord.py" = {version="^1.3.1", optional=true} diff --git a/royalnet/serf/telegram/telegramserf.py b/royalnet/serf/telegram/telegramserf.py index 6312d971..30dfa04d 100644 --- a/royalnet/serf/telegram/telegramserf.py +++ b/royalnet/serf/telegram/telegramserf.py @@ -270,6 +270,7 @@ class TelegramSerf(Serf): async def run(self): await super().run() + await self.api_call(self.client) while True: # Get the latest 100 updates last_updates: List[telegram.Update] = await self.api_call(self.client.get_updates,