Created At: 2026-11-19T08:53:25Z Completed At: 2026-11-19T08:53:26Z Command exited with code 0. Command output: 142:class BotModule(Base, UUIDPrimaryKeyMixin, TimestampMixin): 143- """ 144- Modular feature installed on a Telegram Bot. 145- Controls backend feature activation, 3-way trigger controls, and configuration. 146- """ 147- __tablename__ = "bot_modules" 148- 149- bot_id: Mapped[uuid.UUID] = mapped_column( 150- UUID(as_uuid=True), 151- ForeignKey("bots.id", ondelete="CASCADE"), 152- nullable=False, 153- index=True, 154- ) 155- module_id: Mapped[str] = mapped_column(String(64), nullable=False, index=True) 156- is_enabled: Mapped[bool] = mapped_column(Boolean, default=True, nullable=False) 157- enable_command: Mapped[bool] = mapped_column(Boolean, default=True, nullable=False) 158- enable_inline_button: Mapped[bool] = mapped_column(Boolean, default=True, nullable=False) 159- enable_menu_button: Mapped[bool] = mapped_column(Boolean, default=True, nullable=False) 160- config: Mapped[dict] = mapped_column(JSONB, default=dict, nullable=False) 161- 162- bot: Mapped["Bot"] = relationship("Bot", back_populates="modules") 163- 164- __table_args__ = ( 165- UniqueConstraint("bot_id", "module_id", name="uq_bot_module"), 166- ) 167-