From acdd5d74037a87d04e1b600e7d0f10e8ff364836 Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Sat, 8 Dec 2012 19:42:10 -0500 Subject: [PATCH] added 'bourbon counter', heh --- plugins/beers.go | 5 +++++ plugins/talker.go | 1 + 2 files changed, 6 insertions(+) diff --git a/plugins/beers.go b/plugins/beers.go index f2fb407..0de6514 100644 --- a/plugins/beers.go +++ b/plugins/beers.go @@ -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 diff --git a/plugins/talker.go b/plugins/talker.go index be4491f..4fc96c7 100644 --- a/plugins/talker.go +++ b/plugins/talker.go @@ -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)