About the module:This is a core module to deal with holding an election/poll/vote on BeBot 0.4. Votes are not maintained on a bot restart, so it is designed to be a short (seconds or minutes) poll. Results of the vote are recorded to the database for future reference.
The Vote_Core.php module will help you in creating your own modules that use voting.
I've included SimpleVote.php which is what I used to test things. SimpleVote lets you create a simple yes/no vote.
Commands provided by Vote_Core.php:/tell yourbot !vote <voteid> <option>
Commands provided by SimpleVote.php:/tell yourbot !simplevote Enter a yes/no question here.
Installation:
Extract VoteCore_1.0.0.zip to your custom directory.
Download:VoteCore_1.0.0.zip