Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added UWUify Command #440

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Unreleased]

## [2.7.5] - 2022-03-01
### Added
- UwUify command
woo200 marked this conversation as resolved.
Show resolved Hide resolved

## [2.7.4] - 2021-10-07
### Added
Expand Down
8 changes: 8 additions & 0 deletions exts/fun.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ async def _funetics_lookup(self, ctx: commands.Context, *, msg: str):
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):
woo200 marked this conversation as resolved.
Show resolved Hide resolved
uwuified_text = msg
uwuified_text = uwuified_text.replace('na', 'nya')
uwuified_text = uwuified_text.translate({108: 119, 114: 119, 76: 87, 82: 87})
uwuified_text = uwuified_text.replace('no', 'yo').replace('mo', 'yo')
woo200 marked this conversation as resolved.
Show resolved Hide resolved
await ctx.send(uwuified_text)


def setup(bot: commands.Bot):
bot.add_cog(FunCog(bot))