Minimal example
Event model
Chameleon uses discriminated union events. In practice, that means each event has atype, and TypeScript narrows correctly inside handlers without extra casting.
Example:
Notes
debug: trueenables framework logging where implemented.client.userbecomes available after the ready flow completes.- Gateway events are modeled as typed payloads, not mutable runtime entity instances.
- Managers such as
client.messagesandclient.guildsare the main action surface once the client is running.