diff options
| author | 2019-09-20 17:19:12 +0100 | |
|---|---|---|
| committer | 2019-09-20 17:19:12 +0100 | |
| commit | fa405df36a5e097d3027d2956915bb0d948e421c (patch) | |
| tree | 64236e4fa960961f45667057d62a59985e8763dc /modules/markov.py | |
| parent | add a command to generate markov chains (!markov) (diff) | |
| signature | ||
remove debug print
Diffstat (limited to 'modules/markov.py')
| -rw-r--r-- | modules/markov.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/markov.py b/modules/markov.py index 888768ef..3f2116dc 100644 --- a/modules/markov.py +++ b/modules/markov.py @@ -37,8 +37,6 @@ class Module(ModuleManager.BaseModule): "INSERT OR REPLACE INTO markov VALUES (?, ?, ?, ?, ?)", [event["channel"].id]+insert+[frequency]) - print(self.generate(event["channel"].id)) - def _choose(self, words): words, frequencies = list(zip(*words)) return random.choices(words, weights=frequencies, k=1)[0] |
