Skip to main content
Version: Next

EventFlagContext

EventFlagContext

PropertyTypeValueDescription
clientClient<true>N/AThe Discord client instance. This is the main entry point for interacting with the Discord API.
commandnullN/AThe command context is null for event flags, as they are not tied to a specific command. This is used to differentiate between command and event flags.
commandkitCommandKitN/AThe CommandKit instance, which provides access to the command framework. This includes commands, events, and other features of CommandKit.
event{ arguments: Array<any>, data: ParsedEvent, event: string, namespace: null | string, argumentsAs: }N/AThe event context, which includes information about the event being processed. This can include the parsed event data, the event name, and the namespace if applicable.