diff --git a/plugins/beers.go b/plugins/beers.go index cc4ac81..d1e8c8e 100644 --- a/plugins/beers.go +++ b/plugins/beers.go @@ -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)