mirror of https://github.com/velour/catbase.git
Quickfix for Beers vs beers as command words
This commit is contained in:
parent
1551463c7f
commit
58e95fc0b4
|
@ -70,6 +70,7 @@ func (p *BeersPlugin) Message(message bot.Message) bool {
|
|||
nick := user.Name
|
||||
|
||||
// respond to the beers type of queries
|
||||
parts[0] = strings.ToLower(parts[0]) // support iPhone/Android saying "Beers"
|
||||
if parts[0] == "beers" {
|
||||
if len(parts) == 3 {
|
||||
|
||||
|
|
Loading…
Reference in New Issue