[FIX] another db read fix.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user