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

karma detection for heart reaction #252

Merged
merged 1 commit into from
Dec 17, 2024
Merged

karma detection for heart reaction #252

merged 1 commit into from
Dec 17, 2024

Conversation

aaj2005
Copy link
Contributor

@aaj2005 aaj2005 commented Jun 12, 2024

-fixed reaction on reply
-ignores karma messages

@aaj2005
Copy link
Contributor Author

aaj2005 commented Jun 12, 2024

fixes #249

if not any(message.content.startswith(prefix) for prefix in command_prefixes):
# process karma if apropriate
if search(r"\+\+|--|\+\-", message.content):
reply = process_karma(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

karma processing is done in ../database.py so this will cause all karma to be double counted

@aaj2005 aaj2005 merged commit 3d07d3d into master Dec 17, 2024
5 checks passed
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.

2 participants