Created At: 2026-11-19T08:56:19Z Completed At: 2026-11-19T08:56:19Z Command exited with code 0. Command output: 329- )) 330- except Exception as log_err: 331- logger.warning("log_event_error", error=str(log_err)) 332- 333- # Send welcome message & persistent menu directly upon successful channel verification 334: reply_menu = await module_service.build_dynamic_reply_menu(bot_id) 335- welcome_cfg = await module_service.get_module_config(bot_id, "welcome_message") 336- welcome_buttons = welcome_cfg.get("buttons") 337- inline_markup = {"inline_keyboard": welcome_buttons} if welcome_buttons else await module_service.build_dynamic_inline_menu(bot_id) 338- welcome_txt = welcome_cfg.get("welcome_text", f"🌟 Welcome to @{bot.username}!\n\nYour 24/7 autonomous Telegram application is active.") 339- welcome_txt = welcome_txt.replace("{first_name}", user_record.first_name or "User").replace("{user_id}", str(tg_uid)).replace("{bot_name}", f"@{bot.username}") 340- 341: if reply_menu: 342- await TelegramApiService.send_message_with_retry( 343- raw_token=raw_token, 344- chat_id=chat_id, 345- text="✅ Channel Membership Verified! Loading features...", 346: reply_markup=reply_menu, 347- parse_mode="HTML", 348- ) 349- 350- await TelegramApiService.send_message_with_retry( 351- raw_token=raw_token, -- 666- except Exception as ref_err: 667- logger.info("referral_attribution_skipped", error=str(ref_err)) 668- 669- # Welcome Message Module check 670- is_welcome_active = await module_service.is_module_active(bot_id, "welcome_message") 671: reply_menu = await module_service.build_dynamic_reply_menu(bot_id) 672- 673- # Send persistent reply menu keyboard first if available 674: if reply_menu: 675- await TelegramApiService.send_message_with_retry( 676- raw_token=raw_token, 677- chat_id=chat_id, 678- text="⚡ Mayagram Command Menu Ready", 679: reply_markup=reply_menu, 680- parse_mode="HTML", 681- ) 682- 683- if is_welcome_active: 684- welcome_cfg = await module_service.get_module_config(bot_id, "welcome_message")