@Override
    public void run() {
        if (bot.hasMessage()) {
            message = bot.getMessage();
            channel = bot.getChannel();
            sender  = bot.getSender();
        }

        if (this.message.startsWith("~vote")) {
            tokenize(false, 5, this.message);
            try {
                if ((voters != null) && (((Integer) voters.get(this.sender)).intValue() == 1)) {
                    return;
                }
            } catch (NullPointerException ex) {
            	ex.printStackTrace();
            }
            if (this.parameters.equalsIgnoreCase(" y")) {
                voteYes += 1;
                voters.put(this.sender, Integer.valueOf(1));
            } else if (this.parameters.equalsIgnoreCase(" n")) {
                voteNo += 1;
                voters.put(this.sender, Integer.valueOf(1));
            }

            Main.bot.sendMessage(this.channel, voteYes + " " + voteNo);
        }
    }