mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
feat: use native timestamps more
This commit is contained in:
parent
0e70412bc4
commit
ecaa16bf7c
10 changed files with 22 additions and 160 deletions
|
@ -26,6 +26,7 @@ export function logMemberJoin(pluginData: GuildPluginData<LogsPluginType>, data:
|
|||
member: memberToTemplateSafeMember(data.member),
|
||||
new: data.member.user.createdTimestamp >= newThreshold ? " :new:" : "",
|
||||
account_age: accountAge,
|
||||
account_age_ts: Math.round(data.member.user.createdTimestamp / 1000).toString(),
|
||||
}),
|
||||
{
|
||||
userId: data.member.id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue