Class VoteController
Authors: - Lucier (RK1), - Tyrence (RK2)
Namespace: Budabot\User\Modules
Definecommand(:
Instance: Commands this controller contains:
Located at VOTE_MODULE/VoteController.class.php
Definecommand(:
command = 'vote', accessLevel = 'all', description = 'View/participate in votes and polls', help = 'vote.txt' )
Instance: Commands this controller contains:
Located at VOTE_MODULE/VoteController.class.php
public
|
|
public
|
|
public
|
|
public
|
#
voteKillCommand( $message, $channel, $sender, $sendto, $args )
This command handler deletes votes. |
public
|
#
voteRemoveCommand( $message, $channel, $sender, $sendto, $args )
This command handler removes someones vote from a running vote. |
public
|
#
voteEndCommand( $message, $channel, $sender, $sendto, $args )
This command handler ends a running vote. |
public
|
|
public
|
|
public
|
|
public
|
integer |
STATUS_CREATED
|
#
0
|
integer |
STATUS_STARTED
|
#
1
|
integer |
STATUS_60_MINUTES_LEFT
|
#
2
|
integer |
STATUS_15_MINUTES_LEFT
|
#
3
|
integer |
STATUS_60_SECONDS_LEFT
|
#
4
|
integer |
STATUS_ENDED
|
#
9
|
public
|
$moduleName
Name of the module. Set automatically by module loader. |
|
public
|
$text
|
|
public
|
$db
|
|
public
|
$chatBot
|
|
public
|
$util
|
|
public
|
$settingManager
|
|
public
|
$accessManager
|
|
private
array
|
$votes
|
#
array()
|
private
string
|
$delimiter
|
#
"|"
|
private
string
|
$table
|
#
"vote_<myname>"
|