feature: Treat warnings as errors and set warning level to 5 (#2270)
This commit is contained in:
@@ -56,7 +56,7 @@ namespace Discord.Interactions.Builders
|
||||
/// <summary>
|
||||
/// Sets <see cref="DefaultPermission"/>.
|
||||
/// </summary>
|
||||
/// <param name="defaultPermision">New value of the <see cref="DefaultPermission"/>.</param>
|
||||
/// <param name="permission">New value of the <see cref="DefaultPermission"/>.</param>
|
||||
/// <returns>
|
||||
/// The builder instance.
|
||||
/// </returns>
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace Discord.Interactions.Builders
|
||||
/// <summary>
|
||||
/// Sets <see cref="Style"/>.
|
||||
/// </summary>
|
||||
/// <param name="style">New value of the <see cref="SetValue(string)"/>.</param>
|
||||
/// <param name="style">New value of the <see cref="Style"/>.</param>
|
||||
/// <returns>
|
||||
/// The builder instance.
|
||||
/// </returns>
|
||||
|
||||
@@ -64,7 +64,7 @@ namespace Discord.Interactions.Builders
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Adds text components to <see cref="TextComponents"/>.
|
||||
/// Adds text components to <see cref="Components"/>.
|
||||
/// </summary>
|
||||
/// <param name="configure">Text Component builder factory.</param>
|
||||
/// <returns>
|
||||
|
||||
@@ -357,7 +357,8 @@ namespace Discord.Interactions.Builders
|
||||
return this;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Adds a modal command builder to <see cref="ModalCommands"/>.
|
||||
/// </summary>
|
||||
/// <param name="configure"><see cref="ModalCommands"/> factory.</param>
|
||||
|
||||
@@ -122,7 +122,7 @@ namespace Discord.Interactions.Builders
|
||||
/// <summary>
|
||||
/// Adds preconditions to <see cref="Preconditions"/>
|
||||
/// </summary>
|
||||
/// <param name="preconditions">New attributes to be added to <see cref="Preconditions"/>.</param>
|
||||
/// <param name="attributes">New attributes to be added to <see cref="Preconditions"/>.</param>
|
||||
/// <returns>
|
||||
/// The builder instance.
|
||||
/// </returns>
|
||||
|
||||
Reference in New Issue
Block a user