package stream.flarebot.flarebot.objects;

import java.util.ArrayList;
import java.util.List;

public class PollOption {

    private String option;
    private int votes;
    private List<String> voters = new ArrayList<>();

    public PollOption(String option) {
        this.option = option;
    }

    public void incrementVotes(String userId) {
        this.votes++;
        this.voters.add(userId);
    }

    public String getOption() {
        return option;
    }

    public int getVotes() {
        return this.votes;
    }
}

@@ -527,11 +527,79 @@
 s;%0A    %7D
+%0A%0A    public List%3CString%3E getVoters() %7B%0A        return voters;%0A    %7D
 %0A%7D%0A

Allow retrieval of voters