From e56f2d7270a13a6408f2c61c58718f04dccb53df Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Wed, 4 Sep 2013 21:56:03 -0400 Subject: [PATCH] Reallowing is/are for fact entry --- plugins/factoid.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/plugins/factoid.go b/plugins/factoid.go index cb9e2c1..d8d5b6d 100644 --- a/plugins/factoid.go +++ b/plugins/factoid.go @@ -82,6 +82,15 @@ func findAction(message string) string { panic(err) } action := r.FindString(message) + + if action == "" { + if strings.Contains(message, " is ") { + return "is" + } else if strings.Contains(message, " are ") { + return "are" + } + } + return action }