adding self.db._dumps() also to the _add_to_db function, but not sure if this is needed

This commit is contained in:
manetta 2021-03-07 10:52:33 +01:00
parent 1c1f871f2a
commit c72b211c98

View File

@ -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."""