Browse Source

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

master
manetta 4 years ago
parent
commit
c72b211c98
  1. 1
      LogBot/logbot.py

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

Loading…
Cancel
Save