Class SlashCommandContext
- Namespace
- NetCord.Services.ApplicationCommands
- Assembly
- NetCord.Services.dll
public class SlashCommandContext : BaseSlashCommandContext, IApplicationCommandContext, IInteractionContext, IGatewayClientContext, IGuildContext, IChannelContext, IUserContext
- Inheritance
-
SlashCommandContext
- Implements
- Inherited Members
Constructors
SlashCommandContext(SlashCommandInteraction, GatewayClient)
public SlashCommandContext(SlashCommandInteraction interaction, GatewayClient client)
Parameters
interaction
SlashCommandInteractionclient
GatewayClient
Properties
Channel
public TextChannel Channel { get; }
Property Value
Client
public GatewayClient Client { get; }
Property Value
Guild
public Guild? Guild { get; }
Property Value
User
public User User { get; }