···2323 tok = strings.TrimSuffix(tok, "s")
2424 if c.InSet("worst-words", tok) {
2525 c.AddRecordFlag("bad-word-text")
2626- c.ReportRecord(automod.ReportReasonRude, fmt.Sprintf("possible bad word in post text or alttext: %s", word))
2626+ c.ReportRecord(automod.ReportReasonRude, fmt.Sprintf("possible bad word in post text or alttext: %s", tok))
2727 c.Notify("slack")
2828 break
2929 }