1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 11:34:18 +00:00
This commit is contained in:
Steffo 2020-06-19 02:05:32 +02:00
parent b8d9fbcb2b
commit b565a3179a
Signed by: steffo
GPG key ID: 896A80F55F7C97F0
2 changed files with 2 additions and 1 deletions

View file

@ -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}

View file

@ -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,