[FIX] Forgor :

This commit is contained in:
homayk228
2025-09-20 22:19:13 +07:00
parent 4ee7276713
commit f102f4adb3

View File

@@ -49,7 +49,7 @@ class NekoSpeakModule(loader.Module):
words = text.split()
new_words = []
for word in words:
if word.lower().startswith("н") and len(word) > 2: and random.random() < 0.05:
if word.lower().startswith("н") and len(word) > 2 and random.random() < 0.05:
word = "ня" + word[2:]
if random.random() < 0.05:
word = word.replace("р", "р" * random.randint(2,4))