Browse Source

Revert "add clarification to TreatAsRegex prop documentation."

This reverts commit 6eab5878a7.
pull/2557/head
Cenngo 2 years ago
parent
commit
7ba8b84581
2 changed files with 1 additions and 7 deletions
  1. +1
    -4
      src/Discord.Net.Interactions/Attributes/Commands/ComponentInteractionAttribute.cs
  2. +0
    -3
      src/Discord.Net.Interactions/Attributes/Commands/ModalInteractionAttribute.cs

+ 1
- 4
src/Discord.Net.Interactions/Attributes/Commands/ComponentInteractionAttribute.cs View File

@@ -30,11 +30,8 @@ namespace Discord.Interactions
public RunMode RunMode { get; }

/// <summary>
/// Gets or sets whether the <see cref="CustomId"/> should be treated as a raw Regex pattern.
/// Gets or sets whether the <see cref="CustomId"/> should be treated as a raw Regex pattern.
/// </summary>
/// <remarks>
/// <see langword="false"/> defaults to the pattern used before 3.9.0.
/// </remarks>
public bool TreatAsRegex { get; set; } = false;

/// <summary>


+ 0
- 3
src/Discord.Net.Interactions/Attributes/Commands/ModalInteractionAttribute.cs View File

@@ -31,9 +31,6 @@ namespace Discord.Interactions
/// <summary>
/// Gets or sets whether the <see cref="CustomId"/> should be treated as a raw Regex pattern.
/// </summary>
/// <remarks>
/// <see langword="false"/> defaults to the pattern used before 3.9.0.
/// </remarks>
public bool TreatAsRegex { get; set; } = false;

/// <summary>


Loading…
Cancel
Save