Table of Contents

Class SocketMessageCommandData

Namespace
Discord.WebSocket
Assembly
Discord.Net.WebSocket.dll

Represents the data tied with the SocketMessageCommand interaction.

public class SocketMessageCommandData : SocketCommandBaseData, IEntity<ulong>, IMessageCommandInteractionData, IApplicationCommandInteractionData, IDiscordInteractionData
Inheritance
SocketMessageCommandData
Implements
Inherited Members

Properties

Message

Gets the message associated with this message command.

public SocketMessage Message { get; }

Property Value

SocketMessage

Options

Gets the IApplicationCommandInteractionDataOption received with this interaction.

public override IReadOnlyCollection<IApplicationCommandInteractionDataOption> Options { get; }

Property Value

IReadOnlyCollection<IApplicationCommandInteractionDataOption>

Remarks

Note Not implemented for SocketMessageCommandData