3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-21 16:55:03 +00:00

use optional chaining and createdTimestamp on embed

This commit is contained in:
almeidx 2021-07-29 01:18:06 +01:00
parent b0511b6cea
commit ed7dccc407
2 changed files with 3 additions and 3 deletions

View file

@ -21,7 +21,7 @@ export function createStarboardEmbedFromMessage(
name: `${msg.author.tag}`,
},
fields: [],
timestamp: msg.createdAt,
timestamp: msg.createdTimestamp,
};
if (color != null) {