Documentation
¶
Index ¶
Constants ¶
View Source
const (
SecondsPerVote = 20
)
Variables ¶
View Source
var Votes = map[string]VoteInfo{ "map": {voteslist.MapVote, voteslist.MapMessage, "Changing map to %s", "map [mapname]^3"}, "cycle": {voteslist.Cyclemap, voteslist.CyclemapMessage, "Cycling to %s", "cycle^3"}, "cyclemap": {voteslist.Cyclemap, voteslist.CyclemapMessage, "Cycling to %s", "cycle^3"}, "extend": {voteslist.Extend, voteslist.ExtendMessage, "Extend %d minute(s)", "extend [minutes*]^3. Default: ^61h^3"}, "reload": {voteslist.Reload, noFormatting, "Reload", "reload"}, "nextmap": {voteslist.Nextmap, voteslist.MapMessage, "Changing nextmap to %s", "nextmap [mapname]^3"}, }
Functions ¶
func InitVoteSystem ¶
func InitVoteSystem(voteChannel <-chan models.Vote, c *appcontext.AppContext)
Types ¶
Click to show internal directories.
Click to hide internal directories.