|
@ -127,6 +127,7 @@ class Logbot(Bot): |
|
|
else: |
|
|
else: |
|
|
replaced = message.content.replace("@add", "") |
|
|
replaced = message.content.replace("@add", "") |
|
|
self.db[message.room]["messages"][new_key] = replaced |
|
|
self.db[message.room]["messages"][new_key] = replaced |
|
|
|
|
|
self.db._dumps() |
|
|
|
|
|
|
|
|
def _parse_room_name(self, room): |
|
|
def _parse_room_name(self, room): |
|
|
"""Parse room name from entire address string.""" |
|
|
"""Parse room name from entire address string.""" |
|
|