Comparing version 2.1.0 to 2.1.1
import { MarkovGenerateOptions, MarkovResult } from "markov-strings"; | ||
interface ICrispyOptions { | ||
[key: string]: any; | ||
cooldownInterval: number; | ||
stateSize: number; | ||
@@ -5,0 +6,0 @@ minLength: number; |
@@ -65,3 +65,3 @@ "use strict"; | ||
this._initCorpus(); | ||
setInterval(this.cleanCooldown); | ||
setInterval(this.cleanCooldown, this.options.cooldownInterval * 1000 * 60); | ||
} | ||
@@ -68,0 +68,0 @@ get io() { |
{ | ||
"name": "crispybot", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "An annoying bot.", | ||
@@ -5,0 +5,0 @@ "main": "dist/crispy.js", |
@@ -24,2 +24,3 @@ /** | ||
[key: string]: any; | ||
cooldownInterval: number; | ||
stateSize: number; | ||
@@ -108,3 +109,3 @@ minLength: number; | ||
this._initCorpus(); | ||
setInterval(this.cleanCooldown); | ||
setInterval(this.cleanCooldown, this.options.cooldownInterval * 1000 * 60); | ||
} | ||
@@ -111,0 +112,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
79376
726
0