From c4e46839c86d141ecd10b2d4661d2f4e8ace2119 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 2 Sep 2022 00:47:09 +0200 Subject: [PATCH] reduce minimum char count for marsify from 5 to 4 --- files/helpers/marsify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/marsify.py b/files/helpers/marsify.py index f6876c234..666260f57 100644 --- a/files/helpers/marsify.py +++ b/files/helpers/marsify.py @@ -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 \ No newline at end of file