diff --git a/plugins/fact/factoid.go b/plugins/fact/factoid.go index b7b4331..054b490 100644 --- a/plugins/fact/factoid.go +++ b/plugins/fact/factoid.go @@ -476,6 +476,9 @@ func (p *Factoid) changeFact(message msg.Message) bool { if err != nil { log.Println("Error getting facts: ", trigger, err) } + if !userexp[len(userexp)-1] == 'g' { + result = result[:1] + } // make the changes msg := fmt.Sprintf("Changing %d facts.", len(result)) p.Bot.SendMessage(message.Channel, msg)