|
|
@ -137,7 +137,7 @@ class Logbot(Bot): |
|
|
|
self.db[message.room]["messages"][new_key]['media'] = {} |
|
|
|
self.db[message.room]["messages"][new_key]['media']['post'] = media_post |
|
|
|
self.db[message.room]["messages"][new_key]['media']['type'] = media_type |
|
|
|
self.db[message.room]["messages"][new_key]['media']['url'] = media_url |
|
|
|
self.db[message.room]["messages"][new_key]['media']['url'] = os.path.join("https://vvvvvvaria.org/logs/", media_url) |
|
|
|
self.db[message.room]["messages"][new_key]['media']['size'] = media_size |
|
|
|
self.db[message.room]["messages"][new_key]['date'] = date |
|
|
|
else: |
|
|
|