mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-25 06:27:03 +01:00
Fix real timestamp in messages from changing during edits
This commit is contained in:
parent
71b29cd75d
commit
5df40bf558
@ -79,6 +79,7 @@ class DatabaseInterface(object):
|
||||
.filter(Messages.message_id == message.id).first()
|
||||
if msg:
|
||||
msg.content = message.content
|
||||
msg.timestamp = message.timestamp
|
||||
msg.edited_timestamp = message.edited_timestamp
|
||||
msg.mentions = json.dumps(get_message_mentions(message.mentions))
|
||||
msg.attachments = json.dumps(message.attachments)
|
||||
|
Loading…
Reference in New Issue
Block a user