sir-lancebot
sir-lancebot copied to clipboard
Fix issue with .uwu failing to uwuify embeds in replies
Relevant Issues
Closes #1075
Description
In uwu_command, if command was invoked referring to a replied message, store the message's embeds in an embeds variable, otherwise set it to None.
Add an else statement in uwu_command after if embed is not None to fallback to embeds which was defined earlier.
Add a check in uwu_command to avoid adding a leading >>> if the uwuified content contains only an embed.

Did you:
- [x] Join the Python Discord Community?
- [x] Read all the comments in this template?
- [x] Ensure there is an issue open, or link relevant discord discussions?
- [x] Read and agree to the contributing guidelines?
ah sorry, hold on