From d0e4a97a70e34b69bdeed39a636c19594f1b2838 Mon Sep 17 00:00:00 2001 From: TeBeCo Date: Thu, 23 Nov 2023 22:00:32 +0400 Subject: [PATCH] Better --- Modix.Bot/Modules/FunModule.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Modix.Bot/Modules/FunModule.cs b/Modix.Bot/Modules/FunModule.cs index 90a2409e5..90d4420e5 100644 --- a/Modix.Bot/Modules/FunModule.cs +++ b/Modix.Bot/Modules/FunModule.cs @@ -152,8 +152,7 @@ public async Task OwoifyAsync([Summary(description: "The message to owoify.")] s public async Task EweifyAsync([Summary(description: "The message to owoify.")] string message) { var eweMessage = message; - - eweMessage = Regex.Replace(eweMessage, "[aeiouyAEIOUY]", "E"); + eweMessage = Regex.Replace(eweMessage, "[aeiouy]", "E", RegexOptions.IgnoreCase); await FollowupAsync(eweMessage, allowedMentions: AllowedMentions.None); }