Interfacecorev0.1.0-next.5
GateContextBase
The transport-agnostic gate context, the scalar identity of the acting user resolvable from any transport's payload. Every field except corecore is nullable, since an event or DM may carry no guild or member. Each transport extends it with its own arm. For example, the gateway adds the djs useruser/guildguild/membermember objects and the live interaction or event payload.
interface GateContextBaseinterface GateContextBaseThe dispatched handler as kind:routekind:route (slash:dailyslash:daily, button:confirmbutton:confirm), or null off a route (a plain event handler, or a gate run outside a handler). runHandlerGatesrunHandlerGates sets it from the handler's metadata. CooldownCooldown uses it so its window is stable across restarts and isolates.