diff options
author | Arjun Satarkar <me@arjunsatarkar.net> | 2024-03-06 09:35:38 +0000 |
---|---|---|
committer | Arjun Satarkar <me@arjunsatarkar.net> | 2024-03-06 09:35:38 +0000 |
commit | 187554f688cd7c7538b65908d6844cf3b5c818ef (patch) | |
tree | baef61bd325e8253774818a4ae8c1805579293e4 /markov | |
parent | c9018e1aebbec8957e0679d23bba40aae4770234 (diff) | |
download | aps-cogs-187554f688cd7c7538b65908d6844cf3b5c818ef.tar aps-cogs-187554f688cd7c7538b65908d6844cf3b5c818ef.tar.gz aps-cogs-187554f688cd7c7538b65908d6844cf3b5c818ef.zip |
markov: don't force to be lowercase
Diffstat (limited to 'markov')
-rw-r--r-- | markov/markov.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/markov/markov.py b/markov/markov.py index 9a2884f..d5ed7bf 100644 --- a/markov/markov.py +++ b/markov/markov.py @@ -55,7 +55,7 @@ class Markov(commands.Cog): tokens = ( [""] + [ - word.lower() + word for word in re.findall(r"[\w']+|[\.,!?\/]", clean_content) if len(word) <= MAX_WORD_LENGTH ] |