Added additional check to on_reaction_add to see if link is a valid one
Remembered that manny would probably read the pr initially, see that i only check to see if it's a valid link, then try to exploit it with a tiktok link
in later logic, assuming it passes EVERYTHING else, checks to see if the message (which would presumably be a twitter link at this point) has any additional embeds. Initial conversion would suppress all of it's original embeds turning message.embeds into an empty list. If the embeds are empty, clear it, there's no need to convert anything nor clear it.
Reacting with an emoji to something with an embed or a converted fxtwitter link shouldn't work either, cause it wouldn't clear the initial if statement
title.
Added additional check to
on_reaction_add
to see if link is a valid onein later logic, assuming it passes EVERYTHING else, checks to see if the message (which would presumably be a twitter link at this point) has any additional embeds. Initial conversion would suppress all of it's original embeds turning
message.embeds
into an empty list. If the embeds are empty, clear it, there's no need to convert anything nor clear it.Reacting with an emoji to something with an embed or a converted fxtwitter link shouldn't work either, cause it wouldn't clear the initial if statement