From 0c3ed45b72ccdc2efc4669e835f4c5eb8c653f26 Mon Sep 17 00:00:00 2001 From: homayk228 <43516026+SouceCalve@users.noreply.github.com> Date: Wed, 12 Mar 2025 14:27:15 +0700 Subject: [PATCH] [FIX] another db read fix. --- NekoSpeak.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NekoSpeak.py b/NekoSpeak.py index 3716e7f..04ba427 100644 --- a/NekoSpeak.py +++ b/NekoSpeak.py @@ -12,8 +12,12 @@ class NekoSpeakModule(loader.Module): self.pm_enabled = False self.public_enabled = False self.realcatlike = False + self.exclude_chats = set() + + async def config_complete(self): self.exclude_chats = set(self._db.get(self, "exclude_chats", [])) # Загружаем список из БД + def neko_speak(self, text): # Замена "н" на "ня" в некоторых словах words = text.split()