From f554a2312c6203b556b5af9c13459b4f72c3b685 Mon Sep 17 00:00:00 2001 From: Ruthenic Date: Fri, 10 Mar 2023 00:07:09 -0500 Subject: [PATCH] stupit --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 0f47337..49ae27b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -85,7 +85,6 @@ async function postStatus( visibility, in_reply_to_id: reply_id, }); - lastPost = Math.floor(Date.now() / 1000); console.log("Posted post!"); (successCallback ?? (() => {}))(); } catch { @@ -112,6 +111,7 @@ while (true) { content: prompt, }); await postStatus(newMessages, "public"); + lastPost = Math.floor(Date.now() / 1000); } // Reply handling