diff options
| author | 2019-09-20 17:48:18 +0100 | |
|---|---|---|
| committer | 2019-09-20 17:48:18 +0100 | |
| commit | c2e3fa4e80867cd129bf9818887a2c4412cb3ae0 (patch) | |
| tree | 3afafc9d647965435b05207757dc5de4dd490e63 /modules/markov.py | |
| parent | getting frequency on-insert should be execute_fetchone (diff) | |
| signature | ||
.lower() markov words
Diffstat (limited to 'modules/markov.py')
| -rw-r--r-- | modules/markov.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/markov.py b/modules/markov.py index 88e5cf34..f9d4b989 100644 --- a/modules/markov.py +++ b/modules/markov.py @@ -12,7 +12,7 @@ class Module(ModuleManager.BaseModule): @utils.hook("received.message.channel") def channel_message(self, event): - words = event["message_split"] + words = [word.lower() for word in event["message_split"]] words_n = len(words) if words_n > 2 and event["channel"].get_setting("markov", False): |
