Table of Contents

Class SocketCommandBaseData<TOption>

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

Represents the base data tied with the SocketCommandBase interaction.

public class SocketCommandBaseData<TOption> : SocketEntity<ulong>, IEntity<ulong>, IApplicationCommandInteractionData, IDiscordInteractionData where TOption : IApplicationCommandInteractionDataOption

Type Parameters

TOption
Inheritance
SocketCommandBaseData<TOption>
Implements
Derived
Inherited Members

Properties

Name

Gets the name of this command.

public string Name { get; }

Property Value

string

Options

Gets the TOption received with this interaction.

public virtual IReadOnlyCollection<TOption> Options { get; }

Property Value

IReadOnlyCollection<TOption>