You are viewing a single comment's thread from:
RE: Community Account VP control
Thank you for the contribution. It has been approved.
I checked the codes and this is a self-voting bot. One thing you may want to look at is the post's active_votes
. Instead of having two separate history
variables, one for the post and one for the vote history, you can just get the post history, iterate through the posts, then get the active_votes
then iterate that.
You can contact us on Discord.
[utopian-moderator]
Thanks. I was trying to think of a better way to get that but wasn't able to work out how to get the current post's voters. I'll have try do that instead.