mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-22 12:26:08 +00:00
fix: failed to update tg bot
This commit is contained in:
@@ -236,5 +236,6 @@ class TelegramAdapter(adapter.MessagePlatformAdapter):
|
|||||||
await self.application.start()
|
await self.application.start()
|
||||||
|
|
||||||
async def kill(self) -> bool:
|
async def kill(self) -> bool:
|
||||||
await self.application.stop()
|
if self.application.running:
|
||||||
|
await self.application.stop()
|
||||||
return True
|
return True
|
||||||
|
|||||||
Reference in New Issue
Block a user