Skip to content

Commit

Permalink
add ewe
Browse files Browse the repository at this point in the history
  • Loading branch information
tebeco committed Nov 23, 2023
1 parent cf8ec3d commit 19acd64
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Modix.Bot/Modules/FunModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Modix.Modules
[HelpTags("jumbo")]
public class FunModule : InteractionModuleBase
{
private static readonly string[] _owoFaces = {"(・`ω´・)", ";;w;;", "owo", "UwU", ">w<", "^w^"};
private static readonly string[] _owoFaces = { "(・`ω´・)", ";;w;;", "owo", "UwU", ">w<", "^w^" };

private const ushort MinimumAvatarSize = 16;
private const ushort MaximumAvatarSize = 4096;
Expand Down Expand Up @@ -148,6 +148,16 @@ public async Task OwoifyAsync([Summary(description: "The message to owoify.")] s
await FollowupAsync(owoMessage, allowedMentions: AllowedMentions.None);
}

[SlashCommand("ewe", "Eweifies the given message.")]
public async Task EweifyAsync([Summary(description: "The message to owoify.")] string message)
{
var eweMessage = message;

eweMessage = Regex.Replace(eweMessage, "[aeiouyAEIOUY]", "E");

await FollowupAsync(eweMessage, allowedMentions: AllowedMentions.None);
}

protected IHttpClientFactory HttpClientFactory { get; }
}
}

0 comments on commit 19acd64

Please sign in to comment.