Skip to main content

Class RestUserCommandData

Represents the data for a Discord.Rest.RestUserCommand.

Assembly: Discord.Net.Rest.dll​
View Source​
Declaration
public class RestUserCommandData : RestCommandBaseData, IEntity<ulong>, IUserCommandInteractionData, IApplicationCommandInteractionData, IDiscordInteractionData

Properties​

Member​

Gets the user who this command targets.

View Source​
Declaration
public RestUser Member { get; }

Options​

Gets a collection of <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; }

Implements​