diff --git a/plugins/fact/factoid.go b/plugins/fact/factoid.go index ef1f1db..a33eb1f 100644 --- a/plugins/fact/factoid.go +++ b/plugins/fact/factoid.go @@ -609,7 +609,7 @@ func (p *Factoid) randomFact() *factoid { // factTimer spits out a fact at a given interval and with given probability func (p *Factoid) factTimer(channel string) { - duration := time.Duration(p.Bot.Config().Factoid.QuoteTime) * time.Second + duration := time.Duration(p.Bot.Config().Factoid.QuoteTime) * time.Minute myLastMsg := time.Now() for { time.Sleep(time.Duration(5) * time.Second) // why 5? diff --git a/plugins/fact/webTemplates.go b/plugins/fact/webTemplates.go index cb56ea8..d3f7ee6 100644 --- a/plugins/fact/webTemplates.go +++ b/plugins/fact/webTemplates.go @@ -12,16 +12,16 @@ var factoidIndex string = ` Factoids - + - + - + - +