Table of Contents

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 SlashCommandInteraction
client GatewayClient

Properties

Channel

public TextChannel Channel { get; }

Property Value

TextChannel

Client

public GatewayClient Client { get; }

Property Value

GatewayClient

Guild

public Guild? Guild { get; }

Property Value

Guild

User

public User User { get; }

Property Value

User