From 18cccadb34778a16d98e9672164c279b0ddd8432 Mon Sep 17 00:00:00 2001 From: ioj4 <69911332+ioj4@users.noreply.github.com> Date: Wed, 18 Sep 2024 13:15:40 +0200 Subject: [PATCH] [lastfm] fix activity timestamp --- plugins/lastfm/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/lastfm/index.ts b/plugins/lastfm/index.ts index 1022f7e..f7ce94b 100644 --- a/plugins/lastfm/index.ts +++ b/plugins/lastfm/index.ts @@ -53,7 +53,7 @@ const setPresence = async (name = "", activity?: Track) => state: activity.artist, application_id: DISCORD_APP_ID, timestamps: store.stamp - ? { start: ~~(Date.now() / 1000) } + ? { start: Date.now() } : undefined, assets: { large_image: