adding self.db._dumps() also to the _add_to_db function, but not sure if this is needed
This commit is contained in:
parent
1c1f871f2a
commit
c72b211c98
@ -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."""
|
||||
|
Loading…
Reference in New Issue
Block a user