Chat Commands (Backend)
The backend is the source of truth for all commands.
Responsibilities
- Parse messages
- Identify commands
- Validate permissions
- Execute effects
- Emit resulting events
Command Lifecycle
Command Categories
- Moderation (
/ban,/timeout) - Utility (
/embed) - System (
/me) - Monetization (
/highlight)
Concept
Command {
name: "embed"
args: ["url"]
permissions: ["user"]
effects: ["emit:embed"]
}Last updated on