reduce minimum char count for marsify from 5 to 4
parent
e50fd2d0f4
commit
c4e46839c8
|
@ -6,7 +6,7 @@ def marsify(text):
|
|||
for x in text.split(' '):
|
||||
new_text += f'{x} '
|
||||
x = x.lower()
|
||||
if len(x) > 4 and x in marsey_mappings:
|
||||
if len(x) > 3 and x in marsey_mappings:
|
||||
marsey = choice(marsey_mappings[x])
|
||||
new_text += f':{marsey}: '
|
||||
return new_text
|
Loading…
Reference in New Issue