Skip to main content
Version: Next

CommandFlagContext

CommandFlagContext

PropertyTypeValueDescription
clientClient<true>N/AThe 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/AThe command context, which includes information about the command being executed. This can include the interaction, message, guild, channel, and the loaded command.
commandkitCommandKitN/AThe CommandKit instance, which provides access to the command framework. This includes commands, events, and other features of CommandKit.
eventnullN/AThe 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.