mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-03 01:39:23 +01:00
Oops, committed a failing test.
This commit is contained in:
parent
0ab3347567
commit
4040b24dba
@ -613,7 +613,7 @@ class Fun(callbacks.Privmsg):
|
|||||||
text = re.sub(r'(\w)\'(\w)', quoteOrNothing, text)
|
text = re.sub(r'(\w)\'(\w)', quoteOrNothing, text)
|
||||||
text = re.sub(r'\.(\s+|$)', randomExclaims, text)
|
text = re.sub(r'\.(\s+|$)', randomExclaims, text)
|
||||||
text = re.sub(r'([aeiou])([aeiou])', randomlyShuffle, text)
|
text = re.sub(r'([aeiou])([aeiou])', randomlyShuffle, text)
|
||||||
text = re.sub(r'to', randomlyReplace('too', 0.6))
|
text = re.sub(r'to', randomlyReplace('too', 0.6), text)
|
||||||
text = re.sub(r'([bcdfghkjlmnpqrstvwxyz])([bcdfghkjlmnpqrstvwxyz])',
|
text = re.sub(r'([bcdfghkjlmnpqrstvwxyz])([bcdfghkjlmnpqrstvwxyz])',
|
||||||
lessRandomlyShuffle, text)
|
lessRandomlyShuffle, text)
|
||||||
if random.random() < .4:
|
if random.random() < .4:
|
||||||
|
Loading…
Reference in New Issue
Block a user