fix: failed to update tg bot

This commit is contained in:
Junyan Qin
2025-05-09 22:28:23 +08:00
parent 7753881c01
commit 337090e7cb

View File

@@ -236,5 +236,6 @@ class TelegramAdapter(adapter.MessagePlatformAdapter):
await self.application.start()
async def kill(self) -> bool:
await self.application.stop()
if self.application.running:
await self.application.stop()
return True