mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 01:54:53 +00:00
removed skipped updates counter
This commit is contained in:
parent
660aba50ee
commit
42d1e875a5
1 changed files with 2 additions and 4 deletions
|
|
@ -338,10 +338,8 @@ class Executor:
|
||||||
|
|
||||||
async def _skip_updates(self):
|
async def _skip_updates(self):
|
||||||
await self.dispatcher.reset_webhook(True)
|
await self.dispatcher.reset_webhook(True)
|
||||||
count = await self.dispatcher.skip_updates()
|
await self.dispatcher.skip_updates()
|
||||||
if count:
|
log.warning(f"Updates are skipped successfully.")
|
||||||
log.warning(f"Skipped {count} updates.")
|
|
||||||
return count
|
|
||||||
|
|
||||||
async def _welcome(self):
|
async def _welcome(self):
|
||||||
user = await self.dispatcher.bot.me
|
user = await self.dispatcher.bot.me
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue