Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix no results reaction #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jonas-w
Copy link

@jonas-w jonas-w commented Jun 7, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant