Class SocketSlashCommand
Represents a Websocket-based slash command received over the gateway.
Implements
Inherited Members
Namespace: Discord.WebSocket
Assembly: Discord.Net.WebSocket.dll
Syntax
public class SocketSlashCommand : SocketCommandBase, IEntity<ulong>, ISlashCommandInteraction, IApplicationCommandInteraction, IDiscordInteraction, ISnowflakeEntity, IEntity<ulong>
Properties
| Improve this Doc View SourceData
Gets the data associated with this interaction.
Declaration
public SocketSlashCommandData Data { get; }
Property Value
Type | Description |
---|---|
SocketSlashCommandData |
Explicit Interface Implementations
| Improve this Doc View SourceIApplicationCommandInteraction.Data
Gets the data of the application command interaction
Declaration
IApplicationCommandInteractionData IApplicationCommandInteraction.Data { get; }
Returns
Type | Description |
---|---|
IApplicationCommandInteractionData |
IDiscordInteraction.Data
Gets the data sent within this interaction.
Declaration
IDiscordInteractionData IDiscordInteraction.Data { get; }
Returns
Type | Description |
---|---|
IDiscordInteractionData |
ISlashCommandInteraction.Data
Gets the data associated with this interaction.
Declaration
IApplicationCommandInteractionData ISlashCommandInteraction.Data { get; }
Returns
Type | Description |
---|---|
IApplicationCommandInteractionData |