Browse Source

Update IApplicationCommandOption summaries

pull/1923/head
quin lynch 3 years ago
parent
commit
e4842b8398
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      src/Discord.Net.Core/Entities/Interactions/IApplicationCommandOption.cs

+ 7
- 7
src/Discord.Net.Core/Entities/Interactions/IApplicationCommandOption.cs View File

@@ -12,37 +12,37 @@ namespace Discord
public interface IApplicationCommandOption
{
/// <summary>
/// The type of this <see cref="IApplicationCommandOption"/>.
/// Gets the type of this <see cref="IApplicationCommandOption"/>.
/// </summary>
ApplicationCommandOptionType Type { get; }

/// <summary>
/// The name of this command option, 1-32 character name.
/// Gets the name of this command option, 1-32 character name.
/// </summary>
string Name { get; }

/// <summary>
/// The discription of this command option, 1-100 character description.
/// Gets the discription of this command option, 1-100 character description.
/// </summary>
string Description { get; }

/// <summary>
/// The first required option for the user to complete--only one option can be default.
/// Gets the first required option for the user to complete--only one option can be default.
/// </summary>
bool? IsDefault { get; }

/// <summary>
/// If the parameter is required or optional, default is <see langword="false"/>.
/// Gets if the parameter is required or optional, default is <see langword="false"/>.
/// </summary>
bool? IsRequired { get; }

/// <summary>
/// Choices for string and int types for the user to pick from.
/// Gets a collection of choices for the user to pick from.
/// </summary>
IReadOnlyCollection<IApplicationCommandOptionChoice>? Choices { get; }

/// <summary>
/// If the option is a subcommand or subcommand group type, this nested options will be the parameters.
/// Gets the nested options of this option.
/// </summary>
IReadOnlyCollection<IApplicationCommandOption>? Options { get; }
}


Loading…
Cancel
Save