added 'bourbon counter', heh

This commit is contained in:
Chris Sexton 2012-12-08 19:42:10 -05:00
parent c8f999ac9d
commit acdd5d7403
2 changed files with 6 additions and 0 deletions

View File

@ -124,6 +124,11 @@ func (p *BeersPlugin) Message(message bot.Message) bool {
p.addBeers(nick)
p.randomReply(channel)
return true
} else if parts[0] == "bourbon++" {
p.addBeers(user)
p.addBeers(user)
p.randomReply(channel)
return true
} else if parts[0] == "puke" {
p.puke(nick, channel)
return true

View File

@ -58,6 +58,7 @@ func (p *TalkerPlugin) Event(kind string, message bot.Message) bool {
sayings := []string{
"Real men use screen, %s.",
"Joins upset the hivemind's OCD, %s.",
"Joins upset the hivemind's CDO, %s.",
}
msg := fmt.Sprintf(sayings[rand.Intn(len(sayings))], message.User.Name)
p.Bot.SendMessage(message.Channel, msg)