mirror of https://github.com/velour/catbase.git
Removed the is/are function, all triggers must have a <> verb
This commit is contained in:
parent
1f88ffdea3
commit
7cba01dd20
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue