diff --git a/src/Discord.Net.Interactions/Attributes/Commands/ComponentInteractionAttribute.cs b/src/Discord.Net.Interactions/Attributes/Commands/ComponentInteractionAttribute.cs index 823410cdf..ea3933f53 100644 --- a/src/Discord.Net.Interactions/Attributes/Commands/ComponentInteractionAttribute.cs +++ b/src/Discord.Net.Interactions/Attributes/Commands/ComponentInteractionAttribute.cs @@ -30,8 +30,11 @@ 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 f5df950bd..0e79952f3 100644 --- a/src/Discord.Net.Interactions/Attributes/Commands/ModalInteractionAttribute.cs +++ b/src/Discord.Net.Interactions/Attributes/Commands/ModalInteractionAttribute.cs @@ -31,6 +31,9 @@ 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; ///