diff --git a/plugins/factoid.go b/plugins/factoid.go index a7f3317..61a5519 100644 --- a/plugins/factoid.go +++ b/plugins/factoid.go @@ -158,7 +158,8 @@ 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