Class SocketUserCommand
Represents a Websocket-based slash command received over the gateway.
Assembly: Discord.Net.WebSocket.dll​
View Source​
Declaration
public class SocketUserCommand : SocketCommandBase, IUserCommandInteraction, IDiscordInteraction, ISnowflakeEntity, IEntity<ulong>
Properties​
Data​
The data associated with this interaction.
View Source​
Declaration
public SocketUserCommandData Data { get; }
IUserCommandInteraction.Data​
Gets the data associated with this interaction.
View Source​
Declaration
IUserCommandInteractionData IUserCommandInteraction.Data { get; }
IDiscordInteraction.Data​
Gets the data sent within this interaction.
View Source​
Declaration
IDiscordInteractionData IDiscordInteraction.Data { get; }