mirror of https://github.com/velour/catbase.git
Added a beers-- action
This commit is contained in:
parent
fbb4250ab7
commit
015a4018fe
|
@ -120,6 +120,10 @@ func (p *BeersPlugin) Message(message bot.Message) bool {
|
|||
|
||||
// no matter what, if we're in here, then we've responded
|
||||
return true
|
||||
} else if parts[0] == "beers--" {
|
||||
p.setBeers(user, p.getBeers(user)-1)
|
||||
p.Bot.SendAction(channel, "flushes")
|
||||
return true
|
||||
} else if parts[0] == "beers++" {
|
||||
p.addBeers(nick)
|
||||
p.randomReply(channel)
|
||||
|
|
Loading…
Reference in New Issue