HardlyDifficult / HardlyBot

A Twitch.tv ChatBot
http://www.twitch.tv/hardlysober/
11 stars 11 forks source link

Not issue but implementation #31

Closed Aestrocorp closed 9 years ago

Aestrocorp commented 9 years ago

I want to add a Strawpoll getter, what you do is type in !getvote {poll number}, and it prints the winner. I don't know how to implement this into YOUR bot, but since it's already done then I would guess it's pretty simple, the code is below:

http://pastebin.com/E58HtZ1k

By the way, use the getWinner() method in order to actually get the winner, it should return a string that says the winner and the amount of votes made for that option in the poll.

HardlyDifficult commented 9 years ago

Integrated - thanks!