diff options
author | 2022-07-17 22:32:30 -0400 | |
---|---|---|
committer | 2022-07-17 22:32:30 -0400 | |
commit | 51aa4bb5579bf871c4cbd6788dd31474f3291810 (patch) | |
tree | 93dcfd427b5d7d38d574e247fa9fd0b0df7846cc | |
parent | Fix issue with .uwu failing to uwuify embeds in replies (diff) |
Ran lints :p
-rw-r--r-- | bot/exts/fun/uwu.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bot/exts/fun/uwu.py b/bot/exts/fun/uwu.py index d294dc6a..9e228065 100644 --- a/bot/exts/fun/uwu.py +++ b/bot/exts/fun/uwu.py @@ -126,19 +126,19 @@ class Uwu(Cog): if text is None: # If we weren't able to get the content of a replied message raise commands.UserInputError("Your message must have content or you must reply to a message.") - + await clean_content(fix_channel_mentions=True).convert(ctx, text) - + fun_cog = ctx.bot.get_cog("Fun") if fun_cog: text, embed = await fun_cog._get_text_and_embed(ctx, text) - + # Grabs the text from the embed for uwuification if embed is not None: embed = fun_cog._convert_embed(self._uwuify, embed) else: # Only use the first embed since only a single one can be sent - embed = fun_cog._convert_embed(self._uwuify, embeds[0]) if embeds else None + embed = fun_cog._convert_embed(self._uwuify, embeds[0]) if embeds else None else: embed = None |