From 7ba8b845810160527e12b769c666c93e65955c1c Mon Sep 17 00:00:00 2001 From: Cenngo Date: Wed, 4 Jan 2023 14:11:48 +0300 Subject: [PATCH] Revert "add clarification to TreatAsRegex prop documentation." This reverts commit 6eab5878a7ddff4e949a90d446f2e3dfe2e9c506. --- .../Attributes/Commands/ComponentInteractionAttribute.cs | 5 +---- .../Attributes/Commands/ModalInteractionAttribute.cs | 3 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/Discord.Net.Interactions/Attributes/Commands/ComponentInteractionAttribute.cs b/src/Discord.Net.Interactions/Attributes/Commands/ComponentInteractionAttribute.cs index ea3933f53..823410cdf 100644 --- a/src/Discord.Net.Interactions/Attributes/Commands/ComponentInteractionAttribute.cs +++ b/src/Discord.Net.Interactions/Attributes/Commands/ComponentInteractionAttribute.cs @@ -30,11 +30,8 @@ namespace Discord.Interactions public RunMode RunMode { get; } /// - /// Gets or sets whether the should be treated as a raw Regex pattern. + /// Gets or sets whether the should be treated as a raw Regex pattern. /// - /// - /// defaults to the pattern used before 3.9.0. - /// public bool TreatAsRegex { get; set; } = false; /// diff --git a/src/Discord.Net.Interactions/Attributes/Commands/ModalInteractionAttribute.cs b/src/Discord.Net.Interactions/Attributes/Commands/ModalInteractionAttribute.cs index 0e79952f3..f5df950bd 100644 --- a/src/Discord.Net.Interactions/Attributes/Commands/ModalInteractionAttribute.cs +++ b/src/Discord.Net.Interactions/Attributes/Commands/ModalInteractionAttribute.cs @@ -31,9 +31,6 @@ namespace Discord.Interactions /// /// Gets or sets whether the should be treated as a raw Regex pattern. /// - /// - /// defaults to the pattern used before 3.9.0. - /// public bool TreatAsRegex { get; set; } = false; ///