[FIX] another db read fix.

This commit is contained in:
homayk228
2025-03-12 14:27:15 +07:00
parent 6f86effff5
commit 0c3ed45b72

View File

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