Class SocketUserCommandData
Represents the data tied with the Discord.WebSocket.SocketUserCommand interaction.
Assembly: Discord.Net.WebSocket.dll​
View Source​
Declaration
public class SocketUserCommandData : SocketCommandBaseData, IEntity<ulong>, IUserCommandInteractionData, IApplicationCommandInteractionData, IDiscordInteractionData
Properties​
Member​
Gets the user who this command targets.
View Source​
Declaration
public SocketUser Member { get; }
Options​
The <code data-dev-comment-type="typeparamref" class="typeparamref">TOption</code> received with this interaction.
View Source​
Declaration
public override IReadOnlyCollection<IApplicationCommandInteractionDataOption> Options { get; }
IUserCommandInteractionData.User​
Gets the user who this command targets.
View Source​
Declaration
IUser IUserCommandInteractionData.User { get; }