Wum is a productivity-focused framework for Discord bots, with declarative commands, reactive rendering, and a service-based architecture.
- JSX-first command architecture for defining slash commands and interaction flows in a declarative way.
- Declarative Discord UI rendering powered by Diseact, including messages, embeds, components, and interaction updates.
- Reactive hooks model for local state, side effects, and service access inside command components.
- Macro decorators for services and events, with compile-time analysis of metadata and runtime registration.
- Built-in dependency injection container for clean service composition and low-coupling business logic.
- SQLite-backed persistence utilities for lightweight key-value storage and incremental IDs.
- CLI-driven developer workflow with automatic compile, manifest generation, and bot runtime bootstrap.
- Memory-less command layer: command definitions are compiled into runtime artifacts, reducing dynamic setup and keeping execution lightweight.
- Scalable architecture: services + dependency injection make it easier to split domains, reuse logic, and grow large bots safely.
- Fast iteration cycle: JSX rendering and hooks reduce boilerplate, so new commands and UI flows can be shipped quickly.
- Maintainable codebase: clear separation between commands, services, and infrastructure improves readability and long-term evolution.
- Production-friendly runtime: automated build/runtime flow lowers operational friction and keeps project structure consistent.
npm i wum.js
npx wumDocs:
- PT-BR:
docs/pt-br - EN-US:
docs/en-us
- Discord: https://discord.gg/null