mirror of https://github.com/velour/catbase.git
Whoops, we want nicks not users
This commit is contained in:
parent
015a4018fe
commit
8ffac9291b
|
@ -121,7 +121,7 @@ func (p *BeersPlugin) Message(message bot.Message) bool {
|
||||||
// no matter what, if we're in here, then we've responded
|
// no matter what, if we're in here, then we've responded
|
||||||
return true
|
return true
|
||||||
} else if parts[0] == "beers--" {
|
} else if parts[0] == "beers--" {
|
||||||
p.setBeers(user, p.getBeers(user)-1)
|
p.setBeers(nick, p.getBeers(nick)-1)
|
||||||
p.Bot.SendAction(channel, "flushes")
|
p.Bot.SendAction(channel, "flushes")
|
||||||
return true
|
return true
|
||||||
} else if parts[0] == "beers++" {
|
} else if parts[0] == "beers++" {
|
||||||
|
|
Loading…
Reference in New Issue