From c72b211c983e93e283715db1c45b14da11ce1f93 Mon Sep 17 00:00:00 2001 From: manetta Date: Sun, 7 Mar 2021 10:52:33 +0100 Subject: [PATCH] adding self.db._dumps() also to the _add_to_db function, but not sure if this is needed --- LogBot/logbot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/LogBot/logbot.py b/LogBot/logbot.py index ca28a0d..2f40530 100644 --- a/LogBot/logbot.py +++ b/LogBot/logbot.py @@ -127,6 +127,7 @@ class Logbot(Bot): else: replaced = message.content.replace("@add", "") self.db[message.room]["messages"][new_key] = replaced + self.db._dumps() def _parse_room_name(self, room): """Parse room name from entire address string."""