From 4e0fa359a7138983ca3398242b016bafd54c4d40 Mon Sep 17 00:00:00 2001 From: snipe_blaze <72265661+notsniped@users.noreply.github.com> Date: Sun, 4 Jun 2023 11:01:54 +0530 Subject: [PATCH 1/2] Add `/owoify` fun command This command lets users owoify text (uwu girl moment) --- cogs/fun.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/cogs/fun.py b/cogs/fun.py index df464625..43650557 100644 --- a/cogs/fun.py +++ b/cogs/fun.py @@ -59,6 +59,20 @@ async def kill(self, ctx: ApplicationContext, target: discord.User = None): f"{target.display_name} tried to do a wheelie on their bike without wearing a helmet and fell off." ] await ctx.respond(random.choice(responses)) + + @commands.slash_command( + name="owoify", + description="Owoify any text you want!" + ) + @option(name="text", description="The text you want to owoify", type=str) + async def owoify(self, ctx: ApplicationContext, text: str): + text = text.replace("r", "w") + text = text.replace("l", "w") + text = text.replace("the", "da") + text = text.replace("you", "u") + text = text.replace("your", "ur") + text += random.choice([" uwu", " owo", " UwU", " OwO", " XDDD", " :D", " ;-;", " <3", " ^-^", " >-<"]) + await ctx.respond(text) # Initialization def setup(bot): bot.add_cog(Fun(bot)) From 8978fe5b7fa1b518a567512387c70cfe52915fe5 Mon Sep 17 00:00:00 2001 From: snipe_blaze <72265661+notsniped@users.noreply.github.com> Date: Sun, 4 Jun 2023 11:03:37 +0530 Subject: [PATCH 2/2] Add `/owoify` command to commands db --- config/commands.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/commands.json b/config/commands.json index ab086432..0020e5cf 100644 --- a/config/commands.json +++ b/config/commands.json @@ -708,5 +708,15 @@ "usable_by": "everyone", "disabled": false, "bugged": false + }, + "owoify": { + "name": "Owoify", + "description": "Lets you owoify any text you want (uwu girl moment)", + "type": "fun", + "cooldown": null, + "args": ["text"], + "usable_by": "everyone", + "disabled": false, + "bugged": false } }