This commit is contained in:
Jack 2024-01-03 10:03:49 -08:00 committed by GitHub
commit b3c0710d2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased]
### Added
- UwUify command
## [2.9.2] - 2023-12-15

View File

@ -69,6 +69,13 @@ class FunCog(commands.Cog):
embed.colour = cmn.colours.good
await ctx.send(embed=embed)
@commands.command(name="uwuify", aliases=["uwu"], category=cmn.Cats.FUN)
async def _uwuify(self, ctx: commands.Context, *, msg: str):
"""UwUify your text"""
trans_table = msg.maketrans({"l": "w", "L": "W", "r": "w", "R": "W"})
uwuified_text = msg.replace('na', 'nya').translate(trans_table).replace("no", "yo").replace("mo", "yo")
await ctx.send(uwuified_text)
def setup(bot: commands.Bot):
bot.add_cog(FunCog(bot))