diff options
-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 1819b12..b750519 100644 --- a/markov/markov.py +++ b/markov/markov.py @@ -92,7 +92,7 @@ class Markov(commands.Cog): + [ token for token in re.findall( - r"[\w']+|[\.,!?\/;]|<:\w+:\d+>|<#\d+>|<@\d+>", content + r"[\w']+|[\.,!?\/;]|<a?:\w+:\d+>|<#\d+>|<@!?\d+>", content ) if len(token) <= MAX_TOKEN_LENGTH ] |