Class AutocompleteContext
- Namespace
- DSharpPlus.SlashCommands
- Assembly
- DSharpPlus.SlashCommands.dll
Represents a context for an autocomplete interaction.
public class AutocompleteContext
- Inheritance
-
AutocompleteContext
Properties
- Channel
Gets the channel this interaction was executed in.
- Client
Gets the client for this interaction.
- FocusedOption
The option to auto-fill for.
- Guild
Gets the guild this interaction was executed in.
- Interaction
The interaction created.
- Member
Gets the member which executed this interaction, or null if the command is in a DM.
- OptionValue
The given value of the focused option.
- Options
The options already provided.
- Services
Gets the service provider.
This allows passing data around without resorting to static members.
Defaults to null.
- SlashCommandsExtension
Gets the slash command module this interaction was created in.
- User
Gets the user which executed this interaction.