mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 11:34:18 +00:00
ARTORIAS
This commit is contained in:
parent
b8d9fbcb2b
commit
b565a3179a
2 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
||||||
toml = "^0.10.0"
|
toml = "^0.10.0"
|
||||||
|
|
||||||
# telegram
|
# telegram
|
||||||
python_telegram_bot = {version="^12.2.0", optional=true}
|
python_telegram_bot = {version="^12.7", optional=true}
|
||||||
|
|
||||||
# discord
|
# discord
|
||||||
"discord.py" = {version="^1.3.1", optional=true}
|
"discord.py" = {version="^1.3.1", optional=true}
|
||||||
|
|
|
@ -270,6 +270,7 @@ class TelegramSerf(Serf):
|
||||||
|
|
||||||
async def run(self):
|
async def run(self):
|
||||||
await super().run()
|
await super().run()
|
||||||
|
await self.api_call(self.client)
|
||||||
while True:
|
while True:
|
||||||
# Get the latest 100 updates
|
# Get the latest 100 updates
|
||||||
last_updates: List[telegram.Update] = await self.api_call(self.client.get_updates,
|
last_updates: List[telegram.Update] = await self.api_call(self.client.get_updates,
|
||||||
|
|
Loading…
Reference in a new issue