@@ -855,11 +855,11 @@ namespace Discord | |||||
/// <summary> | /// <summary> | ||||
/// Sets the current builders max length field. | /// Sets the current builders max length field. | ||||
/// </summary> | /// </summary> | ||||
/// <param name="lenght">The value to set.</param> | |||||
/// <param name="length">The value to set.</param> | |||||
/// <returns>The current builder.</returns> | /// <returns>The current builder.</returns> | ||||
public SlashCommandOptionBuilder WithMaxLength(int lenght) | |||||
public SlashCommandOptionBuilder WithMaxLength(int length) | |||||
{ | { | ||||
MaxLength = lenght; | |||||
MaxLength = length; | |||||
return this; | return this; | ||||
} | } | ||||
@@ -16,10 +16,10 @@ namespace Discord.Interactions | |||||
/// <summary> | /// <summary> | ||||
/// Sets the maximum length allowed for a string type parameter. | /// Sets the maximum length allowed for a string type parameter. | ||||
/// </summary> | /// </summary> | ||||
/// <param name="lenght">Maximum string length allowed.</param> | |||||
public MaxLengthAttribute(int lenght) | |||||
/// <param name="length">Maximum string length allowed.</param> | |||||
public MaxLengthAttribute(int length) | |||||
{ | { | ||||
Length = lenght; | |||||
Length = length; | |||||
} | } | ||||
} | } | ||||
} | } |
@@ -16,10 +16,10 @@ namespace Discord.Interactions | |||||
/// <summary> | /// <summary> | ||||
/// Sets the minimum length allowed for a string type parameter. | /// Sets the minimum length allowed for a string type parameter. | ||||
/// </summary> | /// </summary> | ||||
/// <param name="lenght">Minimum string length allowed.</param> | |||||
public MinLengthAttribute(int lenght) | |||||
/// <param name="length">Minimum string length allowed.</param> | |||||
public MinLengthAttribute(int length) | |||||
{ | { | ||||
Length = lenght; | |||||
Length = length; | |||||
} | } | ||||
} | } | ||||
} | } |
@@ -67,26 +67,26 @@ namespace Discord.Interactions.Builders | |||||
/// <summary> | /// <summary> | ||||
/// Sets <see cref="MinLength"/>. | /// Sets <see cref="MinLength"/>. | ||||
/// </summary> | /// </summary> | ||||
/// <param name="minLenght">New value of the <see cref="MinLength"/>.</param> | |||||
/// <param name="minLength">New value of the <see cref="MinLength"/>.</param> | |||||
/// <returns> | /// <returns> | ||||
/// The builder instance. | /// The builder instance. | ||||
/// </returns> | /// </returns> | ||||
public TextInputComponentBuilder WithMinLenght(int minLenght) | |||||
public TextInputComponentBuilder WithMinLength(int minLength) | |||||
{ | { | ||||
MinLength = minLenght; | |||||
MinLength = minLength; | |||||
return this; | return this; | ||||
} | } | ||||
/// <summary> | /// <summary> | ||||
/// Sets <see cref="MaxLength"/>. | /// Sets <see cref="MaxLength"/>. | ||||
/// </summary> | /// </summary> | ||||
/// <param name="maxLenght">New value of the <see cref="MaxLength"/>.</param> | |||||
/// <param name="maxLength">New value of the <see cref="MaxLength"/>.</param> | |||||
/// <returns> | /// <returns> | ||||
/// The builder instance. | /// The builder instance. | ||||
/// </returns> | /// </returns> | ||||
public TextInputComponentBuilder WithMaxLenght(int maxLenght) | |||||
public TextInputComponentBuilder WithMaxLength(int maxLength) | |||||
{ | { | ||||
MaxLength = maxLenght; | |||||
MaxLength = maxLength; | |||||
return this; | return this; | ||||
} | } | ||||