bugfix: remove client.stop

This commit is contained in:
zhangxiaoyu.york
2026-03-01 00:20:32 +08:00
parent e86cfcde22
commit b3af59fc8e

View File

@@ -327,11 +327,6 @@ class FeishuChannel(BaseChannel):
async def stop(self) -> None: async def stop(self) -> None:
"""Stop the Feishu bot.""" """Stop the Feishu bot."""
self._running = False self._running = False
if self._ws_client:
try:
self._ws_client.stop()
except Exception as e:
logger.warning("Error stopping WebSocket client: {}", e)
logger.info("Feishu bot stopped") logger.info("Feishu bot stopped")
def _add_reaction_sync(self, message_id: str, emoji_type: str) -> None: def _add_reaction_sync(self, message_id: str, emoji_type: str) -> None: