presence: add created_at as embed timestamp

This commit is contained in:
Cynthia Foxwell 2025-04-07 13:43:13 -06:00
parent e87b2240e7
commit 72ca402bcd
Signed by: Cynosphere
SSH key fingerprint: SHA256:H3SM8ufP/uxqLwKSH7xY89TDnbR9uOHzjLoBr0tlajk

View file

@ -322,6 +322,8 @@ presence.callback = async function (msg, line) {
}
}
embed.timestamp = new Date(activity.created_at).toISOString();
embeds.push(embed);
}
}