1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

Change things?

This commit is contained in:
Steffo 2019-08-29 18:48:22 +02:00
parent 41e57bb42c
commit 1aae397e87

View file

@ -125,7 +125,6 @@ class TelegramBot(GenericBot):
async def run(self): async def run(self):
while True: while True:
# Get the latest 100 updates # Get the latest 100 updates
log.debug("Calling getUpdates...")
try: try:
last_updates: typing.List[telegram.Update] = await asyncify(self.client.get_updates, last_updates: typing.List[telegram.Update] = await asyncify(self.client.get_updates,
offset=self._offset, offset=self._offset,