mirror of
https://github.com/civsocit/olgram.git
synced 2025-12-15 08:16:17 +00:00
удалил роутер
This commit is contained in:
@@ -30,6 +30,7 @@ class BotInstance(ABC):
|
||||
raise NotImplemented()
|
||||
|
||||
def stop_polling(self):
|
||||
print("stop polling")
|
||||
self._dp.stop_polling()
|
||||
|
||||
async def _setup(self):
|
||||
@@ -52,6 +53,7 @@ class BotInstance(ABC):
|
||||
types.ContentType.VOICE])
|
||||
|
||||
async def start_polling(self):
|
||||
print("start polling")
|
||||
await self._setup()
|
||||
await self._dp.start_polling()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user