From 9f2eb2d61bda7d2c5bec7d7932af73869c659e8b Mon Sep 17 00:00:00 2001 From: homayk228 <43516026+SouceCalve@users.noreply.github.com> Date: Sat, 20 Sep 2025 21:41:07 +0700 Subject: [PATCH] [TEST] sp_char error fix 1 --- NekoSpeak.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/NekoSpeak.py b/NekoSpeak.py index 4efc56e..2d9d308 100644 --- a/NekoSpeak.py +++ b/NekoSpeak.py @@ -34,6 +34,7 @@ class NekoSpeakModule(loader.Module): def neko_speak(self, text): encrypting_count = 0 + sp_char = False for x in range(1,3): if("=" in text[-x]): encrypting_count+=1 @@ -74,7 +75,10 @@ class NekoSpeakModule(loader.Module): for key, value in replacements.items(): text = text.replace(key, value) - if(text[-1:] in specialchar): sp_char = True + + + if(text[-1:] in specialchar): + sp_char = True if random.random() < 0.3: