From 7cba01dd204ce743b6193dc8236786d933c14f01 Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Sun, 11 Nov 2012 11:08:37 -0500 Subject: [PATCH] Removed the is/are function, all triggers must have a <> verb --- plugins/factoid.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/factoid.go b/plugins/factoid.go index adafe20..6bf0e76 100644 --- a/plugins/factoid.go +++ b/plugins/factoid.go @@ -60,7 +60,7 @@ func NewFactoidPlugin(bot *bot.Bot) *FactoidPlugin { // findAction simply regexes a string for the action verb func findAction(message string) string { - r, err := regexp.Compile("<.+?>| is | are ") + r, err := regexp.Compile("<.+?>") if err != nil { panic(err) }