Created At: 2026-11-19T09:14:19Z Completed At: 2026-11-19T09:14:19Z Command exited with code 0. Command output: 1545- message = "Pre-flight verification passed! Module is ready for live production execution." 1546- if not is_ok: 1547- message = error or "Pre-flight verification failed. Please resolve the reported issues." 1548- elif warning: 1549- message = f"Verification passed with warning: {warning}" 1550- 1551- return { 1552- "ok": is_ok, 1553- "module_id": module_id, 1554- "message": message, 1555- "warning": warning, 1556- "error": error, 1557- "is_admin": details.get("is_admin", True), 1558- "is_forum": details.get("is_forum", False), 1559- "can_manage_topics": details.get("can_manage_topics", False), 1560- "topics_supported": details.get("topics_supported", False), 1561- "checks": checks, 1562- "details": details, 1563- } 1564- 1565: async def log_event_to_channel( 1566- self, 1567- bot_id: uuid.UUID, 1568- raw_token: str, 1569- event_type: str, 1570- user_data: dict[str, Any], 1571- details: str, 1572- ) -> dict[str, Any]: 1573- """ 1574- Dispatches real-time event log to designated log channel or forum supergroup. 1575- Pro feature: Creates/uses a dedicated topic thread per subscriber. 1576- """ 1577- if not await self.is_module_active(bot_id, "logs_tracker"): 1578- return {"ok": False, "reason": "logs_tracker module inactive"} 1579- 1580- config = await self.get_module_config(bot_id, "logs_tracker") 1581- channel_id = config.get("log_channel_id") 1582- if not channel_id: 1583- return {"ok": False, "reason": "No log channel configured"} 1584- 1585- enabled_events = config.get("log_events", [])