Class SocketCommandBaseData<TOption>
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
Options
Gets the TOption
received with this interaction.
public virtual IReadOnlyCollection<TOption> Options { get; }
Property Value
- IReadOnlyCollection<TOption>