Skip to content

Commit

Permalink
Better
Browse files Browse the repository at this point in the history
  • Loading branch information
tebeco committed Nov 23, 2023
1 parent 19acd64 commit d0e4a97
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Modix.Bot/Modules/FunModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit d0e4a97

Please sign in to comment.