Open jonas-w opened 5 months ago
The variable count only increases when an embed was found, so this statement would've never been able to trigger.
count
I changed it to len(matches) as this should be intended check, to only show the reaction if there were URLs in the message, but no embeds were found.
len(matches)
The variable
count
only increases when an embed was found, so this statement would've never been able to trigger.I changed it to
len(matches)
as this should be intended check, to only show the reaction if there were URLs in the message, but no embeds were found.