| @@ -12,37 +12,37 @@ namespace Discord | |||||
| public interface IApplicationCommandOption | public interface IApplicationCommandOption | ||||
| { | { | ||||
| /// <summary> | /// <summary> | ||||
| /// The type of this <see cref="IApplicationCommandOption"/>. | |||||
| /// Gets the type of this <see cref="IApplicationCommandOption"/>. | |||||
| /// </summary> | /// </summary> | ||||
| ApplicationCommandOptionType Type { get; } | ApplicationCommandOptionType Type { get; } | ||||
| /// <summary> | /// <summary> | ||||
| /// The name of this command option, 1-32 character name. | |||||
| /// Gets the name of this command option, 1-32 character name. | |||||
| /// </summary> | /// </summary> | ||||
| string Name { get; } | string Name { get; } | ||||
| /// <summary> | /// <summary> | ||||
| /// The discription of this command option, 1-100 character description. | |||||
| /// Gets the discription of this command option, 1-100 character description. | |||||
| /// </summary> | /// </summary> | ||||
| string Description { get; } | string Description { get; } | ||||
| /// <summary> | /// <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> | /// </summary> | ||||
| bool? IsDefault { get; } | bool? IsDefault { get; } | ||||
| /// <summary> | /// <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> | /// </summary> | ||||
| bool? IsRequired { get; } | bool? IsRequired { get; } | ||||
| /// <summary> | /// <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> | /// </summary> | ||||
| IReadOnlyCollection<IApplicationCommandOptionChoice>? Choices { get; } | IReadOnlyCollection<IApplicationCommandOptionChoice>? Choices { get; } | ||||
| /// <summary> | /// <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> | /// </summary> | ||||
| IReadOnlyCollection<IApplicationCommandOption>? Options { get; } | IReadOnlyCollection<IApplicationCommandOption>? Options { get; } | ||||
| } | } | ||||