Added vote function.
Accidentally merged with downvote, pushing changes to downvote back to master anyway. Fuck it.