EventFlagContext
EventFlagContext
Property | Type | Value | Description |
---|---|---|---|
client | Client<true> | N/A | The Discord client instance. This is the main entry point for interacting with the Discord API. |
command | null | N/A | The 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. |
commandkit | CommandKit | N/A | The 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/A | The 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. |