forked from rDrama/rDrama
1
0
Fork 0

reduce minimum char count for marsify from 5 to 4

master
Aevann1 2022-09-02 00:47:09 +02:00
parent e50fd2d0f4
commit c4e46839c8
1 changed files with 1 additions and 1 deletions

View File

@ -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