sir-lancebot
sir-lancebot copied to clipboard
`.uwu` doesn't work when replying to an embed.
Description
Using .uwu when replying to an embed doesn't work (returns a plain >>>), but it does work if you pass a message link to an embed.
Steps to Reproduce
Run .uwu while replying to an embed.

Expected Behaviour
Return an embed with its contents uwuified.

Possible Solutions
Implementing a check for whether a replied message contains an embed
text = text or getattr(ctx.message.reference, "resolved", None)
if isinstance(text, discord.Message):
text = text.content
# check suggested
if isinstance(text, discord.Embed):
do_something()
Would you like to implement a fix?
Note: For high-priority or critical bugs, fixes may be implemented by staff.
- [x] I'd like to implement the bug fix
- [x] Anyone can implement the bug fix
@AbooMinister25 Would you like me to assign you, or do you wish to wait for someone else first?
I'd like to be assigned @D0rs4n