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

Count only one vote per person per message. #9

Open
tarcisioe opened this issue May 23, 2019 · 3 comments · Fixed by #11
Open

Count only one vote per person per message. #9

tarcisioe opened this issue May 23, 2019 · 3 comments · Fixed by #11
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@tarcisioe
Copy link
Member

A person should be only able to vote once on each message.

@tarcisioe
Copy link
Member Author

The previous solution has an error, doesn't work at all.

@diogojs
Copy link
Contributor

diogojs commented Mar 29, 2020

isn't it already working?

@cauebs
Copy link
Member

cauebs commented Mar 29, 2020

The already_voted function should query the messages table, not tracked.

https://github.com/Leviosar/karmagrambot/blob/master/karmagrambot/__init__.py#L21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants