Table of Contents

Class SocketUserCommandData

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

Represents the data tied with the SocketUserCommand interaction.

public class SocketUserCommandData : SocketCommandBaseData, IEntity<ulong>, IUserCommandInteractionData, IApplicationCommandInteractionData, IDiscordInteractionData
Inheritance
SocketUserCommandData
Implements
Inherited Members

Properties

Member

Gets the user who this command targets.

public SocketUser Member { get; }

Property Value

SocketUser

Options

Gets the IApplicationCommandInteractionDataOption received with this interaction.

public override IReadOnlyCollection<IApplicationCommandInteractionDataOption> Options { get; }

Property Value

IReadOnlyCollection<IApplicationCommandInteractionDataOption>

Remarks

Note Not implemented for SocketUserCommandData