set
Sets or updates the vote count for a specific option. If the option has already been selected, its vote count will be updated. Otherwise, it will be added to the answer.
Parameters
option
The index of the answer option.
value
The number of votes to assign to the option.
Sets or updates the vote count for a specific option.
Parameters
answer
A pair containing the voted option index and the vote count.