Skip to content

Commit

Permalink
Use the cleaned content in the uwu command (python-discord#1606)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammedgqudah authored Sep 13, 2024
1 parent d1dc1c3 commit 1cf6255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/exts/fun/uwu.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ async def uwu_command(self, ctx: Context, *, text: str | None = None) -> 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)
text = await clean_content(fix_channel_mentions=True).convert(ctx, text)

# Grabs the text from the embed for uwuification
if embeds:
Expand Down

0 comments on commit 1cf6255

Please sign in to comment.