Interfacegatewayv0.1.4
InteractionGateContext
The interaction arm. It extends GuildPermissionsContext with the live interaction and the djs objects resolved from the gateway cache. Repliable is the interaction type the gate supports, inferred from the ctx annotation, so a gate reading button-specific fields is rejected on a slash handler. interaction is the reply target, so user is always present. Use NonModalInteraction to exclude ModalSubmit when the gate needs a reliable caller member or channel.
interface InteractionGateContext<
Repliable extends Repliables = Repliables
> extends GuildPermissionsContextRepliable
The interaction type the gate reads, narrowing which handlers accept it.
Repliable extends Repliables = Repliablesreadonly core: Corereadonly interaction: Repliablereadonly kind: 'interaction'readonly member: GuildMember | nullreadonly user: User