Interfaceseedcordv0.13.0
interface EventGateContext<
Names extends ValidNonInteractionKeys = ValidNonInteractionKeys
> extends GateContextBaseinterface EventGateContext<
Names extends ValidNonInteractionKeys = ValidNonInteractionKeys
> extends GateContextBaseNames
The event name or names the gate reads, typing payloadpayload to that event's args tuple.
Names extends ValidNonInteractionKeys = ValidNonInteractionKeysNames extends ValidNonInteractionKeys = ValidNonInteractionKeyschannelId
The channel id, or null when the source carries none.
Inherited from:GateContextBase
core
The running framework, for reaching the bot, config, the rate limiter, and the bus.
Inherited from:GateContextBase
readonly eventName: Namesreadonly eventName: Namesguild
The guild the action happened in, or null in a DM or a guildless event.
Inherited from:GateContextBase
guildId
The guild id, or null outside a guild.
Inherited from:GateContextBase
readonly kind: 'event'readonly kind: 'event'member
The acting member, or null outside a guild or when uncached.
readonly member: GuildMember | nullreadonly member: GuildMember | nullInherited from:GateContextBase
readonly payload: ClientEvents[Names]readonly payload: ClientEvents[Names]user
The acting user, or null on an event that carries none.
Inherited from:GateContextBase