Class BaseSlashCommandContext
- Namespace
- NetCord.Services.ApplicationCommands
- Assembly
- NetCord.Services.dll
Base context for handling slash command interactions.
public class BaseSlashCommandContext : IApplicationCommandContext, IInteractionContext, IContext
- Inheritance
-
BaseSlashCommandContext
- Implements
- Derived
- Inherited Members
Constructors
BaseSlashCommandContext(SlashCommandInteraction)
Base context for handling slash command interactions.
public BaseSlashCommandContext(SlashCommandInteraction interaction)
Parameters
interactionSlashCommandInteractionThe interaction that is being handled.
Properties
Interaction
The interaction that is being handled.
public SlashCommandInteraction Interaction { get; }