CommandFlagContext
CommandFlagContext
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 | { channel: null | TextBasedChannel, command: LoadedCommand, guild: null | Guild, interaction: ChatInputCommandInteraction | AutocompleteInteraction | ContextMenuCommandInteraction, message: Message } | N/A | The command context, which includes information about the command being executed. This can include the interaction, message, guild, channel, and the loaded command. |
commandkit | CommandKit | N/A | The CommandKit instance, which provides access to the command framework. This includes commands, events, and other features of CommandKit. |
event | null | N/A | The event context is null for command flags, as they are not tied to a specific event. This is used to differentiate between command and event flags. |