From cafc31cfe6a143ec2b4c46cfba9fedc7d596a5f4 Mon Sep 17 00:00:00 2001 From: Steve McCoy Date: Thu, 30 Aug 2018 16:11:32 -0400 Subject: [PATCH] Don't send the message along after a failed parse --- plugins/picker/picker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/picker/picker.go b/plugins/picker/picker.go index c49c24f..284f86e 100644 --- a/plugins/picker/picker.go +++ b/plugins/picker/picker.go @@ -37,7 +37,7 @@ func (p *PickerPlugin) Message(message msg.Message) bool { n, items, err := p.parse(message.Body) if err != nil { p.Bot.SendMessage(message.Channel, err.Error()) - return false + return true } if n == 1 {