mirror of https://github.com/miaowware/qrm2.git
Merge 5aefcabb3c
into 4b55ab49b7
This commit is contained in:
commit
b3c0710d2a
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue