diff --git a/plugins/factoid.go b/plugins/factoid.go index b8b0329..a7f3317 100644 --- a/plugins/factoid.go +++ b/plugins/factoid.go @@ -158,7 +158,7 @@ func (p *FactoidPlugin) trigger(message bot.Message) bool { p.sayFact(message, *fact) return true } - r := strings.NewReplacer(",", "", "\"", "", ",", "", ".", "", ":", "") + r := strings.NewReplacer("'", "", "\"", "", ",", "", ".", "", ":", "") if ok, fact := p.findTrigger(r.Replace(message.Body)); ok { p.sayFact(message, *fact) return true