The following changes were made by the replace_file_content tool to: /root/MayaXSenderbot/bridge.py. If relevant, proactively run terminal commands to execute this code for the USER. Don't ask for permission. [diff_block_start] @@ -458,7 +458,26 @@ ws.user_id, fmt_msg(title, f"{subtitle}{page_info}", success=False), keyboard=kb, - ) + def _is_menu_action(self, text: str) -> bool: + menu_items = { + "🔥 Setup Firebase", "/firebase", + "📡 Select Group", + "📞 Set Forward No.", "/forward", + "🔐 FCM", + "➕ Add FB", "➕ Add Group", + "🗑 Del FB", "🗑 Del Group", + "📊 Status", "/status", + "🛑 Stop Session", "/stop", + "➕ Add FCM", "📡 Select FCM", "🗑 Del FCM", + "🔐 Login Main Account", + "👥 All Users", + "📝 Setup Backup", "🔄 Reconfigure", "🚫 Clear Backup", + } + if text in menu_items: + return True + if "FB Backup" in text: + return True + return False async def send(self, chat_id: str | int, text: str, keyboard: Optional[Any] = None): if not self.bot: [diff_block_end] Please note that the above snippet only shows the MODIFIED lines from the last change. It shows up to 3 lines of unchanged lines before and after the modified lines. The actual file contents may have many more lines not shown.