Skip to main content

Class SocketSlashCommand

Represents a Websocket-based slash command received over the gateway.

Assembly: Discord.Net.WebSocket.dll​
View Source​
Declaration
public class SocketSlashCommand : SocketCommandBase, ISlashCommandInteraction, IDiscordInteraction, ISnowflakeEntity, IEntity<ulong>

Properties​

Data​

The data associated with this interaction.

View Source​
Declaration
public SocketSlashCommandData Data { get; }

ISlashCommandInteraction.Data​

Gets the data associated with this interaction.

View Source​
Declaration
IApplicationCommandInteractionData ISlashCommandInteraction.Data { get; }

IDiscordInteraction.Data​

Gets the data sent within this interaction.

View Source​
Declaration
IDiscordInteractionData IDiscordInteraction.Data { get; }

Implements​