mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +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()
|
.filter(Messages.message_id == message.id).first()
|
||||||
if msg:
|
if msg:
|
||||||
msg.content = message.content
|
msg.content = message.content
|
||||||
|
msg.timestamp = message.timestamp
|
||||||
msg.edited_timestamp = message.edited_timestamp
|
msg.edited_timestamp = message.edited_timestamp
|
||||||
msg.mentions = json.dumps(get_message_mentions(message.mentions))
|
msg.mentions = json.dumps(get_message_mentions(message.mentions))
|
||||||
msg.attachments = json.dumps(message.attachments)
|
msg.attachments = json.dumps(message.attachments)
|
||||||
|
Loading…
Reference in New Issue
Block a user