Skip to content

Commit 18e67aa

Browse files
committed
fix build errors
1 parent 625e7c2 commit 18e67aa

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/Discord.Net.Interactions/Builders/Modals/Inputs/FileUploadInputComponentBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public FileUploadInputComponentBuilder WithMinValues(int minValues)
3939
/// <summary>
4040
/// Sets <see cref="MinValues"/>.
4141
/// </summary>
42-
/// <param name="minValues">New value of the <see cref="MinValues"/>.</param>
42+
/// <param name="maxValues">New value of the <see cref="MaxValues"/>.</param>
4343
/// <returns>
4444
/// The builder instance.
4545
/// </returns>

src/Discord.Net.Interactions/Builders/Modals/Inputs/RoleSelectInputComponentBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public RoleSelectInputComponentBuilder AddDefaulValue(ulong roleId)
4545
/// <summary>
4646
/// Adds default values to <see cref="SnowflakeSelectInputComponentBuilder{TInfo, TBuilder}.DefaultValues"/>.
4747
/// </summary>
48-
/// <param name="role">The roles to add as a default value.</param>
48+
/// <param name="roles">The roles to add as a default value.</param>
4949
/// <returns>
5050
/// The builder instance.
5151
/// </returns>
@@ -58,7 +58,7 @@ public RoleSelectInputComponentBuilder AddDefaultValues(params IRole[] roles)
5858
/// <summary>
5959
/// Adds default values to <see cref="SnowflakeSelectInputComponentBuilder{TInfo, TBuilder}.DefaultValues"/>.
6060
/// </summary>
61-
/// <param name="role">The roles to add as a default value.</param>
61+
/// <param name="roles">The roles to add as a default value.</param>
6262
/// <returns>
6363
/// The builder instance.
6464
/// </returns>

src/Discord.Net.Interactions/Info/InputComponents/TextInputComponentInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace Discord.Interactions
88
public class TextInputComponentInfo : InputComponentInfo
99
{
1010
/// <summary>
11-
/// <c>true</c> when <see cref="InputComponentInfo.Type"/> overrides <see cref="object.ToString"/>.
11+
/// <c>true</c> when <see cref="ModalComponentInfo.Type"/> overrides <see cref="object.ToString"/>.
1212
/// </summary>
1313
internal bool TypeOverridesToString => _typeOverridesToString.Value;
1414
private readonly Lazy<bool> _typeOverridesToString;

src/Discord.Net.Interactions/InteractionService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@ public bool TryRemoveGenericModalComponentTypeConverter<T>(out Type converterTyp
11491149
TryRemoveGenericModalComponentTypeConverter(typeof(T), out converterType);
11501150

11511151
/// <summary>
1152-
/// Removes a generic <see cref="ModalComponentTypeConverter"/> for the type <typeparamref name="T"/>.
1152+
/// Removes a generic <see cref="ModalComponentTypeConverter"/> for the type <paramref name="type"/>.
11531153
/// </summary>
11541154
/// <remarks>
11551155
/// Removing a <see cref="ModalComponentTypeConverter"/> from the <see cref="InteractionService"/> will not dereference the <see cref="ModalComponentTypeConverter"/> from the loaded module/command instances.

0 commit comments

Comments
 (0)