@@ -427,7 +427,7 @@ namespace Discord.Rest | |||||
{ | { | ||||
result ??= Array.Empty<AutocompleteResult>(); | result ??= Array.Empty<AutocompleteResult>(); | ||||
Preconditions.AtMost(result.Count(), 20, nameof(result), "A maximum of 20 choices are allowed!"); | |||||
Preconditions.AtMost(result.Count(), 25, nameof(result), "A maximum of 25 choices are allowed!"); | |||||
var apiArgs = new InteractionResponse | var apiArgs = new InteractionResponse | ||||
{ | { | ||||
@@ -46,7 +46,7 @@ namespace Discord.Rest | |||||
/// <param name="result"> | /// <param name="result"> | ||||
/// The set of choices for the user to pick from. | /// The set of choices for the user to pick from. | ||||
/// <remarks> | /// <remarks> | ||||
/// A max of 20 choices are allowed. Passing <see langword="null"/> for this argument will show the executing user that | |||||
/// A max of 25 choices are allowed. Passing <see langword="null"/> for this argument will show the executing user that | |||||
/// there is no choices for their autocompleted input. | /// there is no choices for their autocompleted input. | ||||
/// </remarks> | /// </remarks> | ||||
/// </param> | /// </param> | ||||
@@ -93,7 +93,7 @@ namespace Discord.Rest | |||||
/// <param name="result"> | /// <param name="result"> | ||||
/// The set of choices for the user to pick from. | /// The set of choices for the user to pick from. | ||||
/// <remarks> | /// <remarks> | ||||
/// A max of 20 choices are allowed. Passing <see langword="null"/> for this argument will show the executing user that | |||||
/// A max of 25 choices are allowed. Passing <see langword="null"/> for this argument will show the executing user that | |||||
/// there is no choices for their autocompleted input. | /// there is no choices for their autocompleted input. | ||||
/// </remarks> | /// </remarks> | ||||
/// </param> | /// </param> | ||||
@@ -45,7 +45,7 @@ namespace Discord.WebSocket | |||||
/// <param name="result"> | /// <param name="result"> | ||||
/// The set of choices for the user to pick from. | /// The set of choices for the user to pick from. | ||||
/// <remarks> | /// <remarks> | ||||
/// A max of 20 choices are allowed. Passing <see langword="null"/> for this argument will show the executing user that | |||||
/// A max of 25 choices are allowed. Passing <see langword="null"/> for this argument will show the executing user that | |||||
/// there is no choices for their autocompleted input. | /// there is no choices for their autocompleted input. | ||||
/// </remarks> | /// </remarks> | ||||
/// </param> | /// </param> | ||||
@@ -80,7 +80,7 @@ namespace Discord.WebSocket | |||||
/// <param name="result"> | /// <param name="result"> | ||||
/// The set of choices for the user to pick from. | /// The set of choices for the user to pick from. | ||||
/// <remarks> | /// <remarks> | ||||
/// A max of 20 choices are allowed. Passing <see langword="null"/> for this argument will show the executing user that | |||||
/// A max of 25 choices are allowed. Passing <see langword="null"/> for this argument will show the executing user that | |||||
/// there is no choices for their autocompleted input. | /// there is no choices for their autocompleted input. | ||||
/// </remarks> | /// </remarks> | ||||
/// </param> | /// </param> | ||||