mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
Probably fixed #2
This commit is contained in:
parent
90f8add391
commit
d742c26881
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ class Bot:
|
||||||
self.updates.append(Update(update))
|
self.updates.append(Update(update))
|
||||||
except NotImplementedError:
|
except NotImplementedError:
|
||||||
pass
|
pass
|
||||||
if len(data) > 0:
|
if len(self.updates) > 0:
|
||||||
self.offset = self.updates[-1].update_id + 1
|
self.offset = self.updates[-1].update_id + 1
|
||||||
|
|
||||||
async def parse_update(self, update):
|
async def parse_update(self, update):
|
||||||
|
|
Loading…
Reference in a new issue