Compare commits

...

4 Commits

Author SHA1 Message Date
Rainer Zimmermann 50e521d0e6
Merge 5aefcabb3c into 5460dd811b 2023-01-13 21:26:38 -05:00
licyb200 5aefcabb3c Implemented requested changes to UwUify Command & Changelog 2022-03-01 21:17:19 -08:00
licyb200 2453d20757 Cleaned up UWUify command & Updated Changelog 2022-03-01 20:31:41 -08:00
licyb200 1dc55eaff2 Added UWUify Command 2022-03-01 12:37:23 -08:00
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.0] - 2023-01-13

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))