mirror of https://github.com/velour/catbase.git
added 'bourbon counter', heh
This commit is contained in:
parent
c8f999ac9d
commit
acdd5d7403
|
@ -124,6 +124,11 @@ func (p *BeersPlugin) Message(message bot.Message) bool {
|
||||||
p.addBeers(nick)
|
p.addBeers(nick)
|
||||||
p.randomReply(channel)
|
p.randomReply(channel)
|
||||||
return true
|
return true
|
||||||
|
} else if parts[0] == "bourbon++" {
|
||||||
|
p.addBeers(user)
|
||||||
|
p.addBeers(user)
|
||||||
|
p.randomReply(channel)
|
||||||
|
return true
|
||||||
} else if parts[0] == "puke" {
|
} else if parts[0] == "puke" {
|
||||||
p.puke(nick, channel)
|
p.puke(nick, channel)
|
||||||
return true
|
return true
|
||||||
|
|
|
@ -58,6 +58,7 @@ func (p *TalkerPlugin) Event(kind string, message bot.Message) bool {
|
||||||
sayings := []string{
|
sayings := []string{
|
||||||
"Real men use screen, %s.",
|
"Real men use screen, %s.",
|
||||||
"Joins upset the hivemind's OCD, %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)
|
msg := fmt.Sprintf(sayings[rand.Intn(len(sayings))], message.User.Name)
|
||||||
p.Bot.SendMessage(message.Channel, msg)
|
p.Bot.SendMessage(message.Channel, msg)
|
||||||
|
|
Loading…
Reference in New Issue