Class SocketCommandBaseData<TOption>
Represents the base data tied with the Discord.WebSocket.SocketCommandBase interaction.
Assembly: Discord.Net.WebSocket.dll​
View Source​
Declaration
public class SocketCommandBaseData<TOption> : SocketEntity<ulong>, IEntity<ulong>, IApplicationCommandInteractionData, IDiscordInteractionData where TOption : IApplicationCommandInteractionDataOption
Properties​
Name​
Gets the name of this command.
View Source​
Declaration
public string Name { get; }
Options​
The <code data-dev-comment-type="typeparamref" class="typeparamref">TOption</code> received with this interaction.
View Source​
Declaration
public virtual IReadOnlyCollection<TOption> Options { get; }
IApplicationCommandInteractionData.Options​
View Source​
Declaration
IReadOnlyCollection<IApplicationCommandInteractionDataOption> IApplicationCommandInteractionData.Options { get; }